Star InactiveStar InactiveStar InactiveStar InactiveStar Inactive

A lot of time people ask how rsync backup type works and how hardlinks are used. Following article describes when files are created and deleted on the file system Dateien and when hardlinks are used.

Star InactiveStar InactiveStar InactiveStar InactiveStar Inactive

Whenever an upgrade to a new version of raspiBackup is executed it's tested whether the new version has new configuration options. If there are new configuration options used the local configuration file will be merged into a new file with the new configuration file while upgrading raspiBackup. Following page describes in detail what's going on during configuration update.


If a version less than 0.6.5 is upgraded the configuration file merge has to be starten manually after upgrading. Following command will start the configuration update:

sudo --updateConfig

Star InactiveStar InactiveStar InactiveStar InactiveStar Inactive

A new version 0.6.5 of raspiBackup is available. It contains 7 bug fixes, 3 enhancements and 4 new features. Major new features and enhancements are follows:


Star InactiveStar InactiveStar InactiveStar InactiveStar Inactive

Starting with release 0.6.5 of raspiBackup an itelligent rotation strategy of your backups is supported. It's also called GFS (grandfather-father-son backup). raspiBackup retains following backups per default if a daily backup is created:

1) Backup of the current day and the last 6 days

2) Backup of the current week and the last 3 weeks

3) Backup of the current month  and the last 11 months

4) Backup of the current year and the last two years

If weekly backups are created there will be no daily backups kept. Different retention values for daily, weekly, monthly and yearly can be defined with an option, e.g. if you want to retain weekly, monthly and yearly backups. Keep in mind the weekly backup day then will become the day of the weekly and monthly backup: If you configure Monday as the weekly backup day your monthly backup will be the first Monday of every month. Yout yearly backup will be the first Monday of the year. Iy you create a weekly backup every Sunday the monthly backup will be the first Sunday of the month and the yearly backup will be the first Sunday of the year.

User Rating: 1 / 5

Star ActiveStar InactiveStar InactiveStar InactiveStar Inactive

I finally picked myself up and created a video about raspiBackup and published it on Youtube. Topics in the video are

  1. Introduction of raspiBackup
  2. Visit of the most important websites for raspiBackup
  3. Visit of github which is used as a question- and issue handling tool for raspiBackup
  4. Live installation of raspiBackup with the menu driven installer

Slides used in the video can be downloaded here.


Star InactiveStar InactiveStar InactiveStar InactiveStar Inactive

raspiBackup is used in following 51 countries (as of 02/18/2020)

AR Argentina AT Austria AU Australia BE Belgium BG Bulgaria

BR Brasila CA Canada CH Suisse CM Kamerun CO Colombia CN China

CZ Czech Republic DE Germany DK Denmark DZ Algeria

EG Egypt ES Spain EU Europe, FI Finland FR France

GB United Kingdom GL Greenland, GR Greece HR Kroata, HU Hungury

ID Indonesia IE Irland IL Israel IN India IT Italy JP Japan KZ Kazakhstan

KR South Corea LU Luxemburg LV Latvia NL Netherlands NO Norway

NZ New Zealand PL Poland PT Portugal RO Romania

RS Serbia, RU Russia SE Schweden SI Slowenia, SK Slovakia TH Thailand

TR Turkey TW Taiwan US United States of Amerika ZA Zaire


Star InactiveStar InactiveStar InactiveStar InactiveStar Inactive

In general it's sufficient to backup your raspberryonce a week and keep a given number of backups. If you want to keep a longer history of your backups - i.e. use an intelligent backup strategy - use raspiBackup with a wrapperscript. That way you have the last 7 daily backups of the week, the last 4 weekly backups of the month, the last 12 monthly backups of the year for the last years.

Note: Starting with version raspiBackup supports the smart recycle backup strategy and no helper script is required any more. See here for details.

Star InactiveStar InactiveStar InactiveStar InactiveStar Inactive

pishrink is a useful tool to reduce the size of dd images to it's minimum. When the image is booted the image expands the root partition to it's possible maximum size. You can shrink an image created by raspiBackup by using the helper script Following paragraph describes in detail how to configure raspiBackup to shrink dd backup images with pishrink.


Star InactiveStar InactiveStar InactiveStar InactiveStar Inactive

In general using the installer is the fastest method to install raspiBackup. The installer also can be used to install raspiBackup with it's default configuration via the commandline. If you want to install raspiBackup manually execute the following steps:


Star InactiveStar InactiveStar InactiveStar InactiveStar Inactive

Following pages describe different usage scenarios and configurations. They should help to find the right usage configuration out of the various configuration options of raspiBackup. Later on these usage scenarios can be customized further. An overview of all option is available here. The different ways to restore a backup are described here.

All configurations which don't use a dd backup save an external rootfilesystem together with the SD boot partition. If the USB bootmode is used and no SD card is used any more the whole rootpartition is also saved.


Usage scenarios described:

1a. A Windows user wants to backup his Raspberry and restore it with windisk32imager on Windows.

1b. A Windows user has a 32GB SD card but uses only 12GB and 12GB should be saved only.

1c. A Windows user wants to use pishrink to create a minimal backup image.

2. Raspberry should be saved very fast. Backuppartition is a nfs mounted EXT4 partition which is provided by a Synology.

3. Raspberry should be saved on a Samba mounted filesystem, which is provided by a Windows box.

4. A snapshot should be saved because there are some major changes planned and it should be possible to revert quickly.

5. A NOOBS SD card should be saved.

6. Raspberry should be saved on a local USB stick or a local USB disk.


User Rating: 5 / 5

Star ActiveStar ActiveStar ActiveStar ActiveStar Active

Any regognition of raspiBackup development- and maintenance effort and support of raspiBackup is greatly appreciated. There exist following donation alternatives:

1) Paypal: The eMail listed on the Contact page is known by PayPal and everybody owning a Paypal account can donate.

2) Bitcoins: Address is 13aXub22Sy3AvTKkj14yvnUdMQYJQFdbRo

3) Neither one: Just contact me per eMail (See Contact page) and we will find an alternative.


Everybody who donates will be listed below. If you don't want this please let me know.


Star InactiveStar InactiveStar InactiveStar InactiveStar Inactive

raspiBackup is developed primarily on a Linux desktop. But finally raspiBackup is tested on a real Raspberry. There exist various raspibian images on disk which are restrored with raspiBackup on a SD card and/or USB stick and then the new or changed functionality of raspiBackup ist tested manually.

At some point in time a new version of raspiBackup has to be published. Initially I tested a lot of different variants by hand which takes a long time and reduces the number of my SD cards.  Therefore I set up a Raspberry simulation environment on Linux. Now every new raspiBackup version is regression tested in the simulation environment. That's much faster and I don't have to buy new SD cards all the time any more.

On the following picture you can see a 3B Raspberry I use for tests together with various SD cards of different size and USB sticks.


Star InactiveStar InactiveStar InactiveStar InactiveStar Inactive

There exist three types of messages:

1) Informational  - Messagenumber ends with I

2) Warning - Messagenumber ends with W

3) Error - Messagenumber ends with E

Most errormessages of raspiBackup give detailed information about the root cause. Sometimes it's required to get additional information in order to get rid of them. raspiBackup has abou 200 errormessages and it's soo boring to explain all of them here. If you miss a message just add list the message text in a comment at the end of the page and the message with mor detailed explanations will be addded on this page. That way the most common raspiBackup messages will show up on this page.