4 ms·
I used rsnapshot for a long time and I can't recommend it over attic (https://attic-backup.org/ https://attic-backup.org/) anymore. Rsnapshot works quite well
by discreditable 10y ago
I used rsnapshot for a long time and I can't recommend it over attic (https://attic-backup.org/ https://attic-backup.org/) anymore.
Rsnapshot works quite well but over time I started having problems. I was using it to snapshot a web server with many files uploaded by users. Over time there were so many millions of files that trying to work with the rsnapshot directories required a lot of patience. There was one time when I needed to copy the files to another storage medium, I let rsync run for DAYS and there was no end in sight. There were also two instances where I had some filesystem (ext4) corruption within my rsnapshot tree and in the end the only way I could get it happy again was to delete some suspect backups from my chain.
If you're using it to backup anything more than /etc/, I'd strongly suggest using attic. It has these advantages over rsnapshot:
* Block-level dedup instead of file-level. If 1b changes in your 1g file, that's another 1g needed in your backup.
* Compression.
* Encryption via key file, and/or passphrase.
Disadvantages over rsnapshot:
* You access your backups via a fuse mount. This isn't awful but I admit it isn't as nice as direct access.
* If you are running attic from a local host to a remote one, the remote needs attic installed. Alternatively you can store your attic repo locally and mirror it remotely in some other way.
* It can take a long time to work with large backup chains.
- uggedal 10y agoattic was removed from Debian after a data-loss bug went unfixed upstream for some time: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=802619 https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=802619 It is fixed in the borg fork.
- sciurus 10y agoIn case you haven't seen it, some attic developers forked and started https://github.com/borgbackup/borg https://github.com/borgbackup/borg
- deleted 10y ago[deleted]
- rsync 10y ago"I used rsnapshot for a long time and I can't recommend it over attic (https://attic-backup.org/ https://attic-backup.org/) anymore." rsync.net here. We agree. Attic (well, borg, but whatever) is quickly becoming the de facto standard for nicely versioned, secure, portable remote backups to an SFTP/SSH capable host. We recommended duplicity for many, many years (and in fact, contributed to its development) but it no longer looks like the smart choice given the problems it has with periodic retransmission of the entire backups, etc. FWIW, we support attic and borg and just rolled out borg v1.x into production: http://www.rsync.net/products/attic.html http://www.rsync.net/products/attic.html
- vog 10y agoAttic shouldn't be used anymore! [1] You should either switch to Borg, which is a not-backwards-compatible fork of Attic: https://borgbackup.readthedocs.io/en/stable/ https://borgbackup.readthedocs.io/en/stable/ Or you should switch to Obnam, which seems to have a cleaner implementation than Attic/Borg, and most importantly, a well-documented archive format: http://obnam.org/ http://obnam.org/ Note that both have an archive format which is incompatible to Attic. Also note that some years ago Obnam had poor performance compared to Attic, but as far as I know, it became much faster since then. [1] A serious bug which may cause data-loss has never been fixed, so Attic was removed from some distros such as Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=802619 https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=802619
- discreditable 10y agoWow, I was not aware. Thank you for posting that!
- oever 10y agoUnlike Attic, Bup, and Borg, Obnam does not use rolling checksums. Rolling checksums are a brilliant way to do efficient deduplication. The bup DESIGN document explains how rolling checksums can be used. https://github.com/bup/bup/blob/master/DESIGN https://github.com/bup/bup/blob/master/DESIGN http://obnam.org/bugs/more-details-dedup/ http://obnam.org/bugs/more-details-dedup/