When formatting, mkfs.ext4 -c
is used to check for bad blocks.
Note: This increases the restore time.
Option | Default | In Installer | Configuration name |
-c | off | no | DEFAULT_CHECK_FOR_BAD_BLOCKS |
Device on which the backup is restored.
Option | Default | In Installer | Configuration name |
-d | none | no | DEFAULT_RESTORE_DEVICE |
Example: -/dev/sda
Note: The parameter must be a device and not a partition. It must not be a
partition number such as /dev/sda1
must not be present.
Attention: This device is usually completely deleted and recreated! With tar
and
and rsync
backup, the size of the root partition is automatically
automatically reduced or enlarged if the target device has a different size
than the backed up system. Of course, there must still be enough space on the target device for the
data of the source system on the target device. If there is not enough space, the restore will abort.
Activation of own script extensions (plugins). See this page,
which also offers two sample extensions that control the CPU temperature and the
memory usage before and after the backup run.
option name | default | in installer | configuration name |
-N | none | no | DEFAULT_EXTENSIONS |
This option can be used to restore backups of systems that use an external
partition as root partition, such as USB sticks or hard disks.
This is only possible if a tar
or rsync
backup is available.
The parameter defines the partition on which the root directory is to be restored.
is to be restored. Example: /dev/sdb1
.
Option | Default | In Installer | Configuration name |
-R | no | no | |
Note: Only use this option if both an SD card and an external
external root file system is used on one device. Otherwise the -d
option is sufficient.
This option is only useful for older Raspberries that do not yet support USB boot.
Attention: The partition will be reformatted. Therefore, make sure that it is the
correct partition and that the partition is large enough to accommodate the partition
of the backup!
Note: This option is only available if the normal backup mode has been used.
was used. In partition-oriented mode (option -P
) no external root partition can be
root partition can be backed up.
During the restore, the root partition can be resized to the maximum available
size of the target device of the external partition. If the
option is switched off with --resizeRootFS-
, the root partition is created as large
as it was on the original system. If the -P option is used, the last partition on the
partition on the device is extended. If there are more than 2 partitions, it is not the root partition.
Option | Default | In the installer | Configuration name |
--resizeRootFS | yes | no | |
With the partition-oriented rsync
backup, partitions can be
select partitions that are to be restored. With "*"
all partitions are
all partitions are restored.
Option | Default | In Installer | Configuration name |
-T | "1,2" | no | DEFAULT_PARTITIONS_TO_RESTORE |
When restoring, the PARTUUIDs, UUIDs and LABELs are always
of the original are always restored. This usually causes problems if you mount the restored
system is mounted on the original system. With this option, new PARTUUIDs, UUIDs and LABELs are generated during the
generated during the restore.
Option | Default | In Installer | Configuration name |
--updateUUIDs | yes | no | |
By default, before the restore, the system displays what the restored device currently
and asks whether you really want to overwrite the device. If the
restore is to be automated, this option suppresses the query.
Caution: This may result in the wrong device being overwritten unintentionally
and delete important data.
Option | Default | In Installer | Configuration name |
-Y | off | no | |
In addition, the option DEFAULT_YES_NO_RESTORE
must be set accordingly in the configuration file
must be set accordingly for thei Restoredevices.
No new partition layout is created on the target device, but the existing one is used.
existing one is used. This allows you to perform the desired partitioning before the restore
and then restore a backup. For details see FAQ #6
Option | Default | In Installer | Configuration name |
-0 | off | no | |
This will not format the partitions selected with the -T
option during an rsync
partition-oriented backup.
is performed. This speeds up the restore process considerably, as only new, changed or deleted files are synced,
changed or deleted files are synchronized.
Option | Default | In Installer | Configuration name |
-00 | off | no | |
The partition layout will be created on the SD card as it exists on the source device
and any errors that are detected - including the error that the target
error that the target device is too small - are ignored. See FAQ #6 for more details.
more details.
Option | Default | In Installer | Configuration Name |
-1 | off | no | |
Note: This option can have unexpected results.
Only use this option if you know what you are doing.