I am trying to develop a new backup scheme for our Linux servers using something based on rsync (rdiff-backup, duplicity). Basically, I would like to do full backups weekly on Saturday and daily incremental backups. After the full backup completes, I would like to take that drive offline and store it off site. Is there any way I can do this while still being able to do daily incremental backups? Is rsync the correct tool for this or would something else work better? I tried to be as clear as possible, let me know if come more clarification would be helpful. asked 09 Jun '10, 17:49 mrahab |
If the drive is off-line, there is no way to perform an incremental backup using rsync. You'll need to implement something that keeps track of what it has backed up with the scenario you've posted. You could also implement something like rsnapshot and then use a multi-drive rotation to do the incrementals (so one drive would be safely off-site while the other one was in the active rotation). More information on rsnapshot: http://www.linuxquestions.org/linux/articles/Jeremys_Magazine_Articles/Backups_with_rsnapshot --jeremy answered 10 Jun '10, 14:30 jeremy ♦♦ |
If you want to set up a good backup system for your company, you might want to take a look at bacula. The setup takes a while, but I never encountered a backup task that I couldn't handle with bacula.
answered 09 Jun '10, 22:56 Jazz ♦ |
I guess I wasn't too clear. I was planning on using an 8 drive towers of hanoi rotation scheme for the off-site. I ended up using duplicity to back up to one dedicated drive. From there, I take a snapshot once per week onto the appropriate off-site drive. The next backup that runs will be a full backup, overwriting the existing data. It is 100% automated with a simple bash script. All I need to do is change the drive sometime between Monday morning and Friday afternoon.