This question exists because it has historical significance, but it is not considered a good, on-topic question for this site, so please do not use it as evidence that you can ask similar questions here. While you are encouraged to help maintain its answers, please understand that "big list" questions are not generally allowed on Ask Ubuntu and will be closed per the help center.
Backup is incredibly important. Obviously there's no best backup tool, but a comparison of the options would be very interesting.
- Graphical Interface? Command line?
- Incremental backups?
- Automatic backups?
- Install method: In standard repositories? PPA?
Déjà Dup
Déjà Dup is (from Ubuntu 11.10) installed by default. It is a GNOME tool intended for the casual Desktop user that aims to be a "simple backup tool that hides the complexity of doing backups the Right Way".
It is a front end to duplicity that performs incremental backups, where only changes since the prior backup was made are stored. It has options for encrypted and automated backups. It can backup to local folders, Amazon S3, or any server to which Nautilus can connect.
Integration with Nautilus is superb, allowing for the restoration of files deleted from a directory and for the restoration of an old version of an individual file.
Note that as of February 2016 this project appears to be almost completely ignoring bug reports with only minor triage activity and the last bugfix dates back to 2014, though there are new releases with minor changes.
Back in Time
I have been using Back in Time for some time, and I'm very satisfied.
All you have to do is configure:
And forget about it.
To install (working on Ubuntu 16.04 for gnome):
The program GUI can be opened via ubuntu search for "backintime".
Project is active as of August 2019.
rsnapshot vs. rdiff-backup
I often refer to this comparison of rsnapshot and rdiff-backup:
Similarities:
Differences in disk usage:
Differences in speed:
--no-fsync
and--no-compression
options.Differences in metadata storage:
Differences in file transparency:
Differences in backup levels made:
Differences in support community:
rdiff-backup
has seen a lot of recent development and bugfixing activity. From December 2019 till spring 2020,rdiff-backup
was re-worked into version 2, which supports Python 3.Supported file systems:
rsync
If you're familiar with command-line tools, you can use rsync to create (incremental) backups automatically. It can mirror your directories to other machines. There are lot of scripts available on the net how to do it. Set it up as recurring task in your crontab. There is also a GUI frontend for
rsync
called Grsync that makes manual backups easier.One very useful example is:
Among
-vahP
, the-a
flag is important, as this preserves file permissions and recurses into subdirectories.--backup-dir
stores changed and deleted files in the specified backup directory, which is conveniently named after the current date and time.The idea below stores changed/deleted files with a suffix, which carries the current time/date:
Though
rsync
is very fast and very versatile, only the last backup can be easily restored in an obvious way.Another way to preserve deleted files would be using hard links.
See:
Duplicity
Duplicity is a feature-rich command line backup tool.
Duplicity backs up directories by producing encrypted tar-format volumes and uploading them to a remote or local. It uses librsync to record incremental changes to files; gzip to compress them; and gpg to encrypt them.
Duplicity's command line can be intimidating, but there are many frontends to duplicity, from command line (duply), to GNOME (deja-dup), to KDE (time-drive).
Dropbox
A cross-platform (proprietary) cloud sync for Windows, Mac, and Linux. 2GB of online storage is free, with paid options. Advertised as a way to "store, sync, and, share files online" but could be used for backup purposes too.
Note that even on paid accounts revision history is limited to one year and on free accounts it is only one month.
Note also that restoring large amount of files may be very time-consuming as Dropbox was not built as a backup tool.
luckyBackup
It's not been mentioned before, so I'll pitch in that "LuckyBackup" is a superb GUI front end on rsync and makes taking simple or complex backups and clones a total breeze.
Note that this tool is no longer developed.
The all important screenshots are found here on their website with one shown below:
Note: As of 2021-01, the last release of luckyBackup was on 2018-11
BackupPC
If you want to back up your entire home network, I would recommend BackupPC running on an always-on server in your basement/closet/laundry room. From the backup server, it can connect via ssh, rsync, SMB, and other methods to any other computer (not just linux computers), and back up all of them to the server. It implements incremental storage by merging identical files via hardlinks, even if the identical files were backed up from separate computers.
BackupPC runs a web interface that you can use to customize it, including adding new computers to be backed up, initiating immediate backups, and most importantly, restoring single files or entire folders. If the BackupPC server has write permissions to the computer that you are restoring to, it can restore the files directly to where they were, which is really nice.
bup
A "highly efficient file backup system based on the git packfile format. Capable of doing fast incremental backups of virtual machine images."
Highlights:
CrashPlan
CrashPlan is a company providing business backup, without plan for individual users.
Features
I had considered a bunch of options and configurations (using rdiff-backup, duplicity, backup-ninja, amazon s3, remote server). What it finally came down to was simplicity.
CrashPlan is cross platform, but not open source.
It's also worth noting that with a (paid) CrashPlan Central 'family' plan you can backup all the computers you own.