- New options:
-q|--quiet
mode. Mute rsync output--no-color
mode. No colorization in script--rsync
. User will get presented with the rsync line that will be ran and can modify it--chroot
option to access an image in a chroot environment (systemd-nspawn
) to for example update/install packages or rebuild initramfs. Only works from the system you created the img
- Autoexpansion for operating systems:
- Kali-arm
- Ubuntu-server-arm (Ubuntu autoexpands by default, but that can be disabled with
-e
option)
- UI tweaks
- Removed check for .img extension when using
--loop
so it works on other img formats (for example .iso) - Changed the
dd
line to useconv=fsync
instead ofsync
and added async
operation afterdd
is done to try to mitigate the "can not set loop paths" problem that some users experience - User confirmation now require to also press enter after y/n
- Added
/snap/*
inexclude.txt
and to be excluded as default if not using the exclude file - Implemented a lock file that makes it impossible for boot partition to become unmounted during shrink-backup
- Nested
btrfs
subvolumes can now be added & removed in an update (-U
) - New way of excluding subvolumes for
btrfs
(exclude_btrfs.txt
orshrink-backup_btrfs.conf
depending on how you installed, see README for information) --fix
now also adds option--fsync
torsync
Note
If you have made changes to exclude.txt
and you used git
to install, git pull
will fail due to conflicts.
The easiest way to resolve this is to make notes of the paths you added, then:
git reset --hard
git pull
Then add your edited paths back into exclude.txt
at the end of the file again.