Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

We are looking for a open source backup tool which supports incremental file backup for linux (like time machine ion mac). We want to backup a file share on our server. The tool should be as simple as possible and trigger the incemantal backup every night by a cron job. Any suggestions are welcome.

share|improve this question
possible duplicate of Open source backup solution for windows, mac and linux – MadHatter Sep 21 '11 at 8:50
up vote 6 down vote accepted

You need to be more specific about what you are trying to backup: recommendations may differ if you are backing up the contents of a database server, file server, desktop machine, and so forth. Also, how automated you want your backups to be (and conversely how much you might want to interact with the process) is also significant.

For the vast majority of my online backups I use rsync to produce a snapshot based backup, similar to the method described in this old-but-still-relevant document. If you prefer not to script this sort of thing up yourself, there is rsnapshot which is based on that article and rdiff-backup which uses similar techniques.

For offline backups I occasionally manually run the same sort of process to external drives that are temporarily plugged into an appropriate machine for the purpose. Often this is done on the backup server, as those are more more physically local to me, and is taking a backup of the most recent backups to save time and bandwidth.

Occasionally I run a full compare of the latest file server backups with the active filesystems (by running cd /location; find . -type f | sort | xargs sha1sum > /tmp/sums 2>&1 on both live and backup machines and comparing the resulting files, I've not automated this yet though I really should get around to that) and restore the mail+calendar+colab server backups to a clone of that server running in a VM. Remember: a backup solution can not be relied upon unless it is regularly tested. You don't want to find the backups haven't been working at the point where you need to restore from backup!

share|improve this answer

We've got a good experience with rdiff-backup.

share|improve this answer

BackupPC or rsnapshot. rdiff-backup is a pain. obnam might also fit your use case.

share|improve this answer
I am curious about what is your particular pain with rdiff-backup? Could you elaborate? I am currently trying choose a backup solution. Looks like there is too many alternatives and none of them is exactly 100% what I need... – snap Sep 21 '11 at 16:55
rdiff-backup doesn't like to talk to different versions of rdiff-backup (that includes changes in "relese" number: 2.3.4 and 2.3.5 will complain) – Hubert Kario Sep 22 '11 at 10:48
Also, pulling any other version than the latest from rdiff-backup takes very long, since it has to apply all the differences that it has stored. And if any of the differences are corrupt, you will not get back the original data. rsnapshot is much saner, but of course requires a bit more space. – ptman Sep 22 '11 at 11:00
+1 for backupPC. It's brilliant. ;-) Easy to setup, and builds on things like rsync but gives the option of samba, tar+ssh, etc. – Sirex Sep 22 '11 at 11:51

My favorite backup system right now is rsnapshot.

Some rsync+hard links util, flexible enough.

You can select "when","how much" etc. And its really simple.

share|improve this answer

I've had positive experiences with Areca Backup. It's a java backup tool with both a GUI and a CLI.

Features include:

  • Full, incremental or differential backups
  • Encryption
  • Compression
  • Moving the backups to USB, FTP, SFTP (SSH), FTPS
share|improve this answer
This is my top recommendation for most. Lacks rotation and retention policies. – Tim Aug 1 '13 at 15:33

rsync is as flexible as you want it to be. Just write a little shell script and of you go.

share|improve this answer

There are 2 applications modeled after Apple's Time Machine: TimeVault and flyback

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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