i have external hdd and i want two different backup policies:

  • Identical backup of one folder to ext hdd, but only changed/create files will be writen every day
  • Full backup another folder every day, but delete files like ./*/bin*, ./*/obj* in backups older than 1 week

Which backup software can you recommend to me?

link|improve this question

feedback

3 Answers

up vote 2 down vote accepted

An interesting tool I've recently discovered is rdiff-backup.

rdiff-backup backs up one directory to another, possibly over a
network. The target directory ends up a copy of the source
directory, but extra reverse diffs are stored in a special
subdirectory of that target directory, so you can still recover
files lost some time ago. The idea is to combine the best
features of a mirror and an incremental backup. rdiff-backup also
preserves subdirectories, hard links, dev files, permissions,
uid/gid ownership, modification times, extended attributes, acls,
and resource forks. Also, rdiff-backup can operate in a bandwidth
efficient manner over a pipe, like rsync. Thus you can use
rdiff-backup and ssh to securely back a hard drive up to a remote
location, and only the differences will be transmitted. Finally,
rdiff-backup is easy to use and settings have sensical defaults.
link|improve this answer
This sounds good too – Miro Sep 13 '10 at 15:21
The good thing is that it stores all the incremental versions, just like Subversion does for the code. – cYrus Sep 13 '10 at 15:36
I can't make choice between rdiff-backup and rsync – Miro Sep 13 '10 at 15:43
Is rdiff-backup supporting identical backup/copy/change/delete every day? – Miro Sep 13 '10 at 15:44
As far as I know (I use it from yesterday...) every rdiff-backup invocation updates the identical copy and adds a new diff to the list so you can also ask the version of the backup files of (say) three days ago. I find it very useful. I suggest you to take a look at the man for all the options. Here's some examples (rdiff-backup.nongnu.org/examples.html). – cYrus Sep 13 '10 at 15:56
feedback

None other than the fabulous rsync :)

Excluding filetypes from the backup is as simple as using 1 switch:

rsync -avz --exclude="*.obj" /home/john/critical john@superuser.com:/blah
link|improve this answer
and can you explain some example of doing things like i've posted – Miro Sep 13 '10 at 15:05
Example and man page has been provided – John T Sep 13 '10 at 15:08
OK, you've answered the question, provide example isn't in question :). I'll ask for complete configuration in another question. – Miro Sep 13 '10 at 15:13
feedback

duplicity

link|improve this answer
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.