Easy Automated Snapshot-Style Backups with Linux and Rsync
mikerubel.org
mikerubel.org
That said, it's pretty good at DWIM for a command-line tool. It works as advertised and doesn't require any fiddling once you have it set up.
cons: command line syntax is verbose. Enough so that there's a wrapper for it (http://duply.net/) which I also recommend. Access to backups isn't as straightforward as with forest-of-hardlinks approaches.
I'd be interested to hear how it holds up to production use.
Why not use the snapshot facility of LVM?
Once you are done with a backup, create a snapshot and make it read-only. You can always mount the snapshot to see your data at that point in time and you dont need to worry about the data being erased in the live partition.
I also backup the rdiff-backup tree itself to a remote location.
Additionally, the braindead simplicity of rsnapshot makes it much easier to verify backups without having to do a restore first.
That said, I use rdiff-backup to back up /etc on all my systems to a local backup directory for quick access if anything gets accidentally fucked up while reconfiguring a service. It really is better for small datasets.
My backup hierarchy, in terms of complexity / size of the job, generally goes: rdiff-backup (small stuff) -> rsnapshot (bigger stuff) -> bacula (mammoth stuff)
As for trust, rsync.net is well established, is run by and for people like us, and seems to do a good job.
No. Not at all. Reusing CBC IVs is not a solution to anything.
Is it really so bad?
Much better to do your deduplication on the plaintext.
E.g. let's say I have the following blocks of data:
A B C D E F...
And I then change C to C', now having:
A B C' D E F...
With the rsynccrypto approach the ciphertext of D E and F... will be unchanged, allowing rsync to do the right thing (not retransmit everything after C').
Yeah, this leaks info, but it's a compromise between a making the result easier to break and conserving transmission costs (which is very much an issue for me, being stuck behind a slow upstream residential ADSL link).
My question, which I have most definately not answered to my complete satisfaction, is "has the cryptosystem been compromised to the point I might as well have not bothered?"
Just how easy will the know leaks make a attack feasible? How expensive would be such an attack be? I.e. I'm not concerned about the NSA, a lesser degree of security is OK.
As for deduplication, I don't see how it can help; could you be more specific?
(And thanks a lot for taking this issue seriously, it is something I'm concerned about and don't have a sufficient background to be all that confident about my judgment.)