You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As of now the restore device is partitioned and all partitions are formatted and restored.
Similar to option -T (DEFAULT_PARTITIONS_TO_BACKUP) which is used to define the number of partitions which should be saved the same option should define the partitions to restore when a restore is executed.
Default will be to restore the first two partitions only (Option DEFAULT_PARTITIONS_TO_RESTORE="1 2") which is identical to DEFAULT_PARTITIONS_TO_BACKUP. All partitions will be restored with parameter *
Note: Default is to partition the restore device and format all partitions. If option -0 is used there is no partitioning done but the partitions which are restored are formatted. If the new option -00 is used the restored partitions are not formatted. If backup type rsync is used this will speed up the restore process because only updates and deletions on the restorepartition are updated.
Examples:
Target is a system with 5 partitions:
sudo raspiBackup -d /dev/sda will partition, format and restore the first two partitions only which is the default
sudo raspiBackup -d /dev/sda -T "1 2 3" will partition, format and restore the first two partitions and the third partition`
sudo raspiBackup -d /dev/sda -T "*" will partition, format and restore all 5 partitions`
sudo raspiBackup -d /dev/sda -T "1 2 3" -0 will format and restore the first two partitions and the third partition. All other partitions are not touched`
sudo raspiBackup -d /dev/sda -T "1 2 3" -00 will restore the first two partitions and the third partition. All other partitions are not touched. Option -00 is available only for backuptype rsync. The files are synchronized and the restore will be much faster because only deleted and updated files are restored
sudo raspiBackup -d /dev/sda -T "*" -00 will restore all 5 partitions. Option -00 is available only for backuptype rsync. The files are synchronized and the restore will be much faster because only deleted and updated files are restored
The text was updated successfully, but these errors were encountered:
framps
changed the title
Allow to specify for partition oriented backup which partitions should be restored
Allow to specify for partition oriented backup which partitions should be restored and don't format the partitions
Dec 3, 2024
framps
changed the title
Allow to specify for partition oriented backup which partitions should be restored and don't format the partitions
Allow to specify for partition oriented backup which partitions should be restored and allow to not format the partitions with option -00
Dec 3, 2024
As of now the restore device is partitioned and all partitions are formatted and restored.
Similar to option
-T
(DEFAULT_PARTITIONS_TO_BACKUP) which is used to define the number of partitions which should be saved the same option should define the partitions to restore when a restore is executed.Default will be to restore the first two partitions only (Option
DEFAULT_PARTITIONS_TO_RESTORE="1 2"
) which is identical toDEFAULT_PARTITIONS_TO_BACKUP
. All partitions will be restored with parameter*
Note: Default is to partition the restore device and format all partitions. If option
-0
is used there is no partitioning done but the partitions which are restored are formatted. If the new option-00
is used the restored partitions are not formatted. If backup type rsync is used this will speed up the restore process because only updates and deletions on the restorepartition are updated.Examples:
Target is a system with 5 partitions:
sudo raspiBackup -d /dev/sda will partition, format and restore the first two partitions only which is the default
sudo raspiBackup -d /dev/sda -T "1 2 3"
will partition, format and restore the first two partitions and the third partition`sudo raspiBackup -d /dev/sda -T "*"
will partition, format and restore all 5 partitions`sudo raspiBackup -d /dev/sda -T "1 2 3" -0
will format and restore the first two partitions and the third partition. All other partitions are not touched`sudo raspiBackup -d /dev/sda -T "1 2 3" -00
will restore the first two partitions and the third partition. All other partitions are not touched. Option-00
is available only for backuptype rsync. The files are synchronized and the restore will be much faster because only deleted and updated files are restoredsudo raspiBackup -d /dev/sda -T "*" -00
will restore all 5 partitions. Option-00
is available only for backuptype rsync. The files are synchronized and the restore will be much faster because only deleted and updated files are restoredThe text was updated successfully, but these errors were encountered: