framps / raspiBackup

Create and keep multiple backup versions of your running Raspberries
https://raspibackup.linux-tips-and-tricks.de
GNU General Public License v3.0
787 stars 76 forks source link

Shrink last partition when a partition oriented backup was restored #750

Open framps opened 5 months ago

framps commented 5 months ago

Currently the partition oriented backup can only be restored on a device which has at least the same size of the device which was saved. Therefore no restore to a smaller device is possible.

Would make sense to resize the last partition accordingly during restore the same way it's done in the normal backup mode.

framps commented 5 months ago

Implemented in branch d_750.

framps commented 5 months ago

Rebased into development branch

framps commented 4 months ago

As of now the new code is only used for partition oriented mode. The new code should also be used for the normal mode.

framps commented 4 months ago

The new code should also be used for the normal mode.

Done