Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Backup configuration options

Most of the invocation options can also be defined in the configuration file See Backup options.



DEFAULT_BEFORE_STOPSERVICES / DEFAULT_AFTER_STARTSERVICES

The commands defined here are executed before or after the backup stopping and starting system services (option -a and -o).

Config optionDefault
DEFAULT_BEFORE_STOPSERVICESnone
DEFAULT_AFTER_STARTSERVICESnone

DEFAULT_DD_BACKUP_SAVE_USED_PARTITIONS_ONLY

With this option, dd backups only save the space occupied by defined partitions. This means that a 32GB SD card, for example, which only has an 8GB partition defined, only requires 8GB for the and not 32GB. To do this, however, you must use gparted or resize2fs ito reduce the root partition size accordingly, because the root partition usually fills the entire rest of the SD card.

See also FAQ16.

Config optionDefault
DEFAULT_DD_BACKUP_SAVE_USED_PARTITIONS_ONLYnone

Rarely changing boot partition backups are linked with hardlinks to save backup space. Prerequisite: The backup space supports hard links (ext3/ext4 file system).

Config optionStandard
DEFAULT_LINK_BOOTPARTITIONFILESnone

DEFAULT_MAIL_ON_ERROR_ONLY

An email notification is only sent in the event of an error. Note: If raspiBackup crashes due to exceptional circumstances, it may happen that no e-mail is sent,

Config optionDefault
DEFAULT_MAIL_ON_ERROR_ONLYnone

DEFAULT_REBOOT_SYSTEM

This option can be used to configure a reboot of the backed up system at the end of the backup.

Note: The services that were stopped before the backup are not restarted. restarted. This is unnecessary as they are started anyway when the system is restarted.

Config optionDefault
DEFAULT_REBOOT_SYSTEM0

DEFAULT_RSYNC_BACKUP_ADDITIONAL_OPTIONS

Backup options that can be used for rsync backup in addition to the standard options of raspiBackup.

**Use at your own risk!

Config-OptionStandard
DEFAULT_RSYNC_BACKUP_ADDITIONAL_OPTIONSnone

DEFAULT_RSYNC_BACKUP_OPTIONS

This can be used to overwrite the rsync default backup options.

**Use at your own risk!

Config optionStandard
DEFAULT_RSYNC_BACKUP_OPTIONS--delete -aHAx

DEFAULT_TAR_BACKUP_OPTIONS

This can be used to overwrite the tar default backup options.

**Use at your own risk!

Config-OptionStandard
DEFAULT_TAR_BACKUP_OPTIONS-cpi

DEFAULT_TAR_BACKUP_ADDITIONAL_OPTIONS

Backup options that are used for tar backup in addition to the standard options.

**Use at your own risk!

Config optionStandard
DEFAULT_TAR_BACKUP_ADDITIONAL_OPTIONSnone