Podcast 84 rsnapshot

rsnapshot

rsnapshot is an open-source backup and recovery tool based on Mike Rubel’s original concept. It is designed to take a great idea and make it more accessible to users and more useful for larger environments. Under the hood, rsnapshot works in the same way as Mike Rubel’s original scripts covered in the first part of the chapter. It uses hard links to conserve space and rsync to copy changes and break the hard links when necessary.

Hard Links

Hard Links
$ touch foo
$ ls -i foo 
5538420 foo
$ ls -l foo 
-rw-r--r-- 1 david david 0 Oct 22 19:46 foo
$ ln foo bar
$ ls -l foo 
-rw-r--r-- 2 david david 0 Oct 22 19:46 foo
$ ls -i bar
5538420 bar

crontab

 # Generate backup of /home/david with rsnapshot
 0      */4 *   *   *   /usr/bin/rsnapshot hourly
 30     23  *   *   *   /usr/bin/rsnapshot daily

LINKS:

Snapshot-Style Backups
http://www.mikerubel.org/computers/rsync_snapshots/

rsnapshot
http://rsnapshot.org/

rsnapshot HowTo
http://linuxcrazy.com/84/rsnapshot-HOWTO.en.pdf

rsnapshot conf
http://gentoo-pr.org/node/33

Download

ogg

mp3