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 0.6.4.4 raspiBackup supports the smart recycle backup strategy and no helper script is required any more. See here for details.

 

First install and configure raspiBackup. See this page for details. When you managed to create a dd backup download raspiBackupWrapper.sh from github

wget https://github.com/framps/raspiBackup/blob/master/helper/raspiBackup7412.sh

sudo mv ./raspiBackup7412.sh /usr/local/bin

sudo chmod +x /usr/local/bin/raspiBackup7412.sh

Now test raspiBackup7412.sh

sudo raspiBackup7412.sh

Finally change /etc/cron.d/raspiBackup

00 05 * * 0 root /usr/local/bin/raspiBackup.sh

to create a backup every day

00 05 * * * root /usr/local/bin/raspiBackup7412.sh

That's it :-)

Add comment

*** Note ***

Comments are welcome. But in order to reject spam posts please consider following rules:
  1. All comments are reviewed manually and it usually takes one day until a comment will be published.
  2. Comments with string http are rejected with message You have no rights to use this tag.
  3. You have to wait at least one hour until you can post another comment.