User Rating: 5 / 5

Star ActiveStar ActiveStar ActiveStar ActiveStar Active

Following page lists all new features and bugfixes per raspiBackup release.



Date Version Changes and new features
03/28/2022  0.6.7-Beta  Read this github page

1) Stopped services are started before backup version cleanup is done. This will reduce outabe of stopped services because in particular rsync backup cleanup may take some time (git issue)

2) Telegram - better highlighting if a backup fails (git issue)

3) Telegram - eMojis are used to signal special events (git issue)

4) Partitionorientierted mode with option -0 aloows now UUID recalculation (git issue)

5) Reminder check is more robust (git issue)

6) If option -L is used the log extension is now correct (git issue)

7) Debug logging restructured and enhanced (git issue)

12/15/2020 0.6.6 See github
06/01/2020 See github milestone
05/06/2020  0.6.5

1) Bugfix: DD_BACKUP_SAVE_USED_PARTITIONS_ONLY=1 creates an emoty dd Backup (Git issue) (Allready rolled back in

2) Enhancement: Use better default buffer size for dd (git issue)

3) Bugfix: Cleanup previous log files or separate log lines from next run (git issue)

4) Bugfix: raspiBackup disregards -f option (git issue)

5) Bugfix: Backup test reminder message not written  (git issue)

6) Bugfix: Option -1 doesn't work any more (git issue)

7) Bugfix: Shrinking root partition doesn't work any more (git issue)

8) Enhancement: Add option to force change of PARTUUID and UUID during restore (git issue)

9) New feature: Update UUID if used in /etc/fstab and /boot/cmdline.txt  (git issue)

10) Bugfix: Boot Devices not detected (git issue)

11) Enhancement: If option -P is used check there is no external root partition used (git issue)

12) Enhancement: Enable normal backup with more than 2 partitions (git issue)

13) New feature: Support smart recycle backup strategie (7/4/12) (git issue)

14) Enhancement: Allow to configure daily backupswith raspiBackup installer (git issue) (Already rolled back into

15) Enhancement: Validate email address (git issue)

16) Bugfix: Exclude for logging raspibackup files in /var/log has double leading slash (git issue)

17) Enhancement: Masquerade sensitive information in debug log

18) Enhancement: Add option to enable sending a mail when backup starts

19) Enhancement: Messages are colored on console and in eMail (git issue)

20) New feature: Send notifications via Telegram (git issue)

21) Configurationupdate when upgrading raspiBackup (git issue)


1) Bugfix: cronjob sends with tar Backup an eMail (Git issue) (Already rolled back into

2) Bugfix: --option --one-file-system not used in tar backup (Git issue) (Already rolled back into

3) Enhancement: Current raspiBackup version can be refreshed (Git issue)

4) Bugfix: Definitions in Configurationfiles are not used (Git issue) (Already rolled back into

5) Bugfix: ddz backup doesn't work any more (Git issue) (Already rolled back into

6) Enhancement: Allow to define the number of backup per backup type (Git issue)

7) Enhancement: Releases can be marked as deprecated and a warning message is created (Git issue)

8) Enhancement: Harden DEFAULT_MAIL_ON_ERROR_ONLY (Git issue)

9) Feature: Execute configurable commands before and after backup handling (Git issue)

10) Feature: Usage of a Loop Device to save xattrs with rsync (Git issue)

11) Bugfix: RBK0072I display wrong version for a beta upgrade with option -U (Git issue)

12) Feature: A new helper script implements  7/4/12 backupstrategy (Keep 7*daily 4*weekly, 12*monthly and n*yearly backups) (Git issue)

13) Bugfix: Option -F turns off option -L (Git issue)

14) Bugfix: RBK0017I is reported in an email even DEFAULT_MAIL_ON_ERROR_ONLY=1 is set (Git issue)

15) Bugfix: Backup folder not deleted when cleaning up aborted/failed backup (Git issue)


1) Enhancement: Use custom config file with option -f (Git issue)

2) Bugfix: tar Backup doesn't save /proc, /sys, /run, ... usw which causes the restore not to boot (Git issue)

 01/16/2019 1) Bugfix: Added missing code for msmtp support


1) Bugfix: Don't terminate raspiBackup with kill if the backup program dd, rsync or tar fails (Git issue)

2) Improvement: Alternate boot discovery discovers operating systems which don't have a dedicated boot partition

3) Improvement: Reminder to execute a restore test (Git issue)

4) Bugfix: Parameters starting with '-' are rejected (Git issue)

5) Improvement: stderr and stdout are used instead of tty only (Git issue)

6) Bugfix: Test for pv is wrong (Git issue) (Already rolled back into 0.6.4)

7) Improvement: Force fsck when booting restored image (Git issue)

8) Bugfix: Mode discoveryin restore is weak (Git issue) (Already rolled back into 0.6.4)

9) Bugfix: -T option in config file doesn't work correctly (Git issue) (Already rolled back into 0.6.4)

10) Bugfix: Logfile may create error with tar and rsync (Git issue)

11) Bugfix: tar backup excludes sudirectories with name sys (Git issue)

12) Bugfix: CTRL-C exits raspiBackup without cleanup (incl. deletion of the new invalid backupdirectory) (Git issue)

13) Bugfix: Extension and backup tool messages not written on terminal (Git issue)

14) Bugfix: Extension use old message format and memory extension shows incorrect numbers (Git issue)

15) Bugfix: eMail text is overwritten when notifying a new beta version (Git issue) (Already rolled back into 0.6.4)

16) Improvement: Support for msmtp (Thx PwOSS for his PR)

7/30/2018 0.6.4

1) Improvement: Option -L accepts a logfilename

2) Improvement: Installer accepts with option -L a logfilename

3) Improvement: Flag --systemstatus creates a list of active servies and open files in the debug log

4) Bugfix: Added DEFAULT_APPEND_LOG_OPTION (See to change option used by email program to append log file

5) Bugfix: Exclude log files from backup (see

6) Enhance DEFAULT_MAIL_ON_ERROR_ONLY=1 functionality

7) Check whether all tools used by raspiBackup are available

8) Add option to define the sender eMailAddress

9) Added missing debug statements and other minor enhancements


1) Bugfix: Option -V works again

2) Bugfix: RBK0090E: no longer happens for options like -u, -E, -a and -o

3) Improvement: rsync mode works even the backup partition doesn't support hardlinks. Useful when a remote backup partition mounted via Samba is used.

4) Improvement: rsync and tar can ignore RCs (e.g. 23 and 24 for rsync and 1 for tar ). Just to be backward compatible with v0.6.3.2.

5) Improvement: wrapperscript now can source /tmp/raspibackup.vars to get some variables from raspiBackup for further processing


1) Improvement: Restore termination improvement

2) Improvement: /boot can be on mmcblkXp0 where X can be > 0

3) Bugfix: -U check detects the current version is identical to the latest available version

4) Improvement: New option -B will save the boot partition in a tar file. See github

5) Improvement: New option -C will enable bad block checking when partitions are formatted. See github

6) Bugfix: memory sample extension works also on Jessie github

7) Other minor improvements

8) Improvement: Option -U also considers available beta versions

9) Improvement: New optionparser allows to turn on and off  all on/off options. For example -z turns on the zip mode as before and -z+ turns it on also but -z- turns it off. In addition options of the following format are now possible --optionsname. github

10) Improvement: New option --noResizeRootFS and --resizeRootFS turn on and off the resizing of the root partition during restore

11) Improvement: New option --version displays the current version of raspiBackup

12) Improvement: Support of Volumio

13) Improvement: New option --timestamps enables timestamps in front of messages github

14) Bugfix: perl no longer used github

15) Bugfix: rc 23 and 24 from rsync are no longer accepted by raspiBackup


1) Improvement: There exists another extensionpoint which is called just before starting the backup . That way it's possible to access internal variables of raspiBackup like the backup directory name. See also this git issue

2) Improvement: Test whether symlinks can be created on backup partition if rsync is used. git issue

3) Bugfix: Fixed errorhandling of backuptools. git issue. Bug exists since v0.6.2.

4) Bugfix: Fixed DHCP restore problem with tar (acls and xattrs saved) Update 12/11: Removed

5) Bugfix: raspiBackupRestore2Images failed on Stretch

10/3/2017 0.6.3

1) Improvement: Starting with Debian9/Stretch and sfdisk 2.27.1 the messages format changed. Debian8/Stretch is now supported by raspiBackup

2) Bugfix: Stopped services will be started again when backup is aborted with CTRLC

3) Improvement: Better error message handling

4) Bugfix: When using the fake mode the new empty backup directory will be deleted

5) Improvement: Display progress when creating a backup or restoring backup

6) Bugfix: Partition oriented backup supports > 9 partitions

7) Improvement: Boot partition can be located on root partition


1) Change: rsync does not save xattrs any more.

2) Bugfix: dd backup cannot be restored because raspiBackup complaints about a missing .sfdisk file


1) Extension: Support for PARTUUID

2) Bugfix: If raspiBackup is active another instance will terminate immediately with an error message.

3) Bugfix: Restore initializes fake HW clock correctly

 5/17/2017  0.6.2

1) Bugfix: RBK0077E: Restore failed. Check previous error messages. RC: 109

2) Bugfix: Restorelogs are not truncated any more

3) Bugfix: Restore is possible again as it was in on a Linux not running on a Raspberry

4/8/2017 0.6.2

1) Enhancement: Support of Raspi3 if it's not using a SD any more (normal backup only - no partition oriented backup)

2) Bugfix: Partitionoriented mode will not save for tar backup the directories /tmp, /proc/ dev, etc any more

3) Bugfix: Partitionoriented mode will not save for rsync backup the directories /tmp, /proc/ dev, etc any more3) Enhancement: Partitionsoriented mode supports in addition to fat16/32 and ext234 also swap and btrfs partitions

4) Enhancement: Partitionoriented mode now supports to backup fat16/32, ext234 and swap and btrfs partitions

5) Enhancement: For Rsync backup it's tested whether hardlinks can be created.

6) Bugfix: Extension which are called when raspiBackup finished now get the return value from raspiBackup. Until now also a failure was reported as success.

7) New Option -M allows to define the name of the backup directory. That way it's possible to create a backup with a meaningful name. Useful when you want to create a quick backup in addition to the normal regular backup

8) Enhancement: Error messages and -handling was improved

9) Enhancement: raspiBackup cannot be started any more in parallel

10/8/2016 1) Bugfix: "RBK0027E: No external device mounted on /backup. SD card would be used for backup" is reported and the backup path passed as last parameter is not used.

1) Bugfix: Backup creation of .img and .mbr files is checked for successful completion. Otherwise backup terminates.

2) Improvement: Rootpartitionadaptation during  restor is done by Linux tools parted and no longer by a home grown algorithm

3) Bugfix: If a restore detects no partition on the target SD card there is a info message written instead of a cryptic error message create by the used tools parted


1) Improvement: If there are any runtime errors detected during raspiBackup startup these errors are reported via eMail if the eMailConfiguration is OK

2) Improvement: For dd backups only the space used by all defined partitions is saved. That way a 16GB SD card which uses only 4GB will be saved much faster and the backup image will be much smaller. Configurationvariable: DEFAULT_DD_BACKUP_SAVE_USED_PARTITIONS_ONLY

3) Improvement: Boot partitionen backup will be saved by hardlinks if the backup space supports hardlinks so there exists only one boot partition backup if it's identidal to previous backups. That way 60MB per backup is saved on the backup partition. Configurationvariable: DEFAULT_LINK_BOOTPARTITIONFILES

4) Improvement: Optionparameters can be specified as text for options -l, -L and -m (e.g. -m detailed -L syslog -l debug)

5) Improvement:  Restore to any SD card (mmcblk0, mmcblk1, ...) is possible. Until now mmcblk0 was supported only.

6) Bugfix: Logfiles which are created in the backup directory will be saved in the home directory if the backup fails just before the incomplete backup directory is removed

7) Improvement: If there are any incompatible changes in a new version of raspiBackup this will be reported in a message.

8) Improvement: Errormessage of backuptools dd, tar and rsync are written in a message and are no longer visible only in the debug log

9) Bugfix: Option -u to exclude directories during backup creation didn't work since version any more.

10) Bugfix: Cleanup not executed at the end of restore

11) Bugfix: No error reported if restore failed

12) Improvement: If the restore SD card is either smaller or larger than the source SD card used for the backup the second partition is adapted accordingly. Works for tar and rsync backup in normal backup mode only.

13) Bugfix: Two error messages are not displayed

14) Parameters -a and -o are mandatory


1) Improvement: All backups are saved in dedicated subdirectories

2) Improvement: If raspiBackup fails the services stopped with -o will be started in any case

3) Improvement: -0 option forces during restore ignore of partition layout creation errors (Use with care!)

4) Improvement: -1 option does not create a partition layout during restore and restore uses the existing partition layout. (Use with care!)

5) Improvement: It's possible to configure to send a notification email only on failured

6) Improvement: Path- and filenames now can be relative

7) Improvement: Services will be started even a failure accoured (-a parameter argument)

8) Improvement: SSMTP eMail uses also -E argument

9) Deprecation: -p and -r parameters are deprecated and will be removed in a furure version. Pass the backupDirectory or backupFile as the last invocation parameter from now on

10) Improvement: rsync and tar tool invocationparameters can be modified (Use with care!)

11) Various minor enhancements

 Finally from a quality point of view there is another major improvement: The regessiontestsuite for raspiBackup now tests all possible 5 backup variations


1) Bugfix: Existing dd backups are deleted by tar or rsync backups if they are saved in the same backup directory

2) Improvement: raspiBackup will be updated immediately if there is a known serious bug in the current script version

12/26/15 1) Bugfix: Existing dd backups are deleted (introduced with
12/21/15 1) Bugfix: Old bootbackups are deleted when there don't exist corresponding rootbackups
12/15/15 1) Extension: Backward compatibility to version Restore of a pre backup uses the shared pre bootpartitionbackup for restore
12/10/15 1) Bugfix: rsync backup sometimes doesn't use hardlinks
12/3/15 1) Bugfix: If there is no bc installed an error message will be displayed

1) Bugfix: emailBody sometimes not displayed when using ssmtp

2) Bugfix: Backups of boot partitions with deleted root partition backups were not deleted

3) Enhancement: During restore it's no longer the absolut sd card size which is used to check whether the backup can be restored on a target sd card. The sum of all partition sizes is used instead.


1) Bugfix: ssmtp and sendEmail didn't work any more

2) Bugfix: force option used by sfdisk was removed in order to detect partitionioning errors


1) Improvement: Support for an eMailExtension to support other eMailClients

2) Improvement: Bootpartition data is saved for every backup run

11/11/15 0.6.1

1) Major improvement: More than two partitionen can be saved from the SD card. That way it's possible to save NOOBS images. (New parameter -P and -T).

2) Improvement: -V allows to restore versions updated with -U

3) Improvement: -y allows to quickly publish the current script version to a bunch of Raspberries

4) Improvement: Missing quotes in parameter arguments are detected and reported and no parameters are ignored any more

5) Directories and filenames can be relative. There is no need any more to use absolute names.

6) Not supported any more: xmbc Backup

7) Not supported any more: rsync backup only possible on ext3/ext4 formated partitions

8) Various minor improvements (Changed and new messages, message whether a config file is used,  much more log statements to improve debug capabilities, ...)


Small bugfixes and improvements:

1) Bugfix: File- and directorynames can have spaces

2) Improvement: Config parameters are checked for validity

3) Improvement: Script update check done only once a day

4) Bugfix: Parameter -G changes language used in eMail subject also

5) Improvement: Chek whether bash is used as interpreter

6) Improvement: Message tells whether a configuration file is used and which one


Small bugfixes and improvements:

1) Improvement: If there exist a new script vesrion the eMail will have a link to this version page so make the lookup of changes/new features more convenient

2) Bugfix: If a hostname uses a dash the restore doesn't work

3) Improvement: If it's not possible to write on the backup path (-p parameter) an error message is written

4) Improvement: /mnt and /media are now also saved

5) Improvement: It's now possible to keep up to 365 backups (Parameter -k)

6) Improvement: Select the message language if it should be different than the system language used on Raspi which is the default (new Parameter -G)

7) Bugfix:  -t rsync and -L 2 doesn't create a logfile

8) Improvement: Extensions get the returncode of the backup process as parameter

05/25/15 0.5.15

An extensions will be called by the script pre and post backup process. Two sample extensions  report the CPU temperature and the memory utilization. See


Backup of sd card with a boot partition only and an external root partition is now possible


Messageformat for the start/stop message was changed. In addition now an error in start/stop of services (-a/-o parameter) will terminate the script again. The doc was updated that && instead of ; has to be used as a separator in -a/-o parameters if multiple commands are used.


An update of the script will create a backup copy of the old file by using the version of the old script.

In addition error messages written if there are invalid invocation parameters used are now written in German and English depending on the locale used on the Pi


Additional parameterchecks were added

02/26/15 0.5.14

fdisk replaced with parted. Now there are no error messages written when a gpt instead of mbr is used.  Fixed some bugs in the restore messaging.

In addition a bug introduced in 0.5.12 is fixed, which caused the script update with parameter -U to fail.

02/24/15 0.5.13

/mnt is not used during restore any more. Restore on an empty SD Card works now. 

02/23/15 0.5.12

More backup progress messages are written when -m 1 is used. In addition some messages were rephrased

02/22/15 0.5.11

A notification will be generated if there exist a new script version (parameter -u)

02/22/15 0.5.10

Zip of tar and dd backups now has to be enabled with flag -z

02/20/15  0.5.9

Switched to GIT instead of CVS as code repository and the updatecheck -U doesn't download the actual script  any more and uses a dedicated version file to check.

That way the download counter of the script will not be modified any more if a check is executed


For coding commit details see coding change logs

Add comment

*** Note ***

Comments are welcome. But in order to reject spam posts please consider following rules:
  1. Comments with string http are rejected with message You have no rights to use this tag
  2. All comments are reviewed by hand and thus it usually takes one day until a comment will be published.