Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!

Click here to return to the 'Even simpler: use rsnapshot' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Even simpler: use rsnapshot
Authored by: dbs on May 24, '06 08:52:47AM

There is a script written to do exactly this. It's called "rsnapshot". You simply tell it where your source is and where the destination is and how many of each type of snapshot to keep (i.e., 4 hourly, 7 daily, 4 weekly, whatever) and then execute "rsnapshot hourly" or "rsnapshot daily" and it takes care of rotating backups, copying with links, and rsyncing. Normally you add cron jobs to do the appropriate rsnapshots automatically, but it works fine to execute it manually.

I use it rsnapshot with rsync-hfs to an external firewire drive to keep snapshots of my powerbook and my wife's. It will not create bootable backups, though.

I also use rsnapshot remotely to snapshot my cluster's file system. You do have to have all the backups stored on one local file system, but since it uses rsync you can grab data from remote file systems.

[ Reply to This | # ]