shrink-backup.v0.9.0
Shrink-backup version 0.9.0
Tested on Raspberry Pi os, Armbian, Manjaro-arm and ArchLinuxARM for rpi with ext4 root partition.
Autoexpansion will not work on ArchLinuxARM (will not fail, only warn) at the moment but works on the other three tested.
Default device that will be backed up unless changed with -d
is SD-cards, ie /dev/mmcblk0
Booting/backing up from usb-stick (/dev/sda
) with Raspberry pi os has been tested lightly and works but still considered experimental.
See wiki for a bit more information about using other devices.
Don't forget to make the script executable