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
815 stars 75 forks source link

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

Closed framps closed 1 month ago

framps commented 7 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 6 months ago

Implemented in branch d_750.

framps commented 6 months ago

Rebased into development branch

framps commented 6 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 6 months ago

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

Done