Desktop Backup: Traditional, and Torrent-Like
shmichael.com
shmichael.com
* Tarsnap was designed to be secure against even the most skilled attackers -- and was written by someone (myself) with non-trivial expertise in cryptography and computer security.
* Because Tarsnap is built around tar(1), it is heavily scriptable; for experienced users this makes it far more flexible than any other tools.
* Tarsnap is AFAIK the only backup system which works as a metered service -- pricing per byte of bandwidth and per byte-month of storage used, starting at a (very small) fraction of a cent per month. Where other services have fixed monthly fees, Tarsnap just looks at your usage and charges you accordingly.
* I'm not sure if Tarsnap's snapshotting model is unique, but it's certainly unusual; and once Tarsnap users follow my advice of "forget everything you know about incremental backups", they all tell me that it's far more intuitive than other approaches.
The design of tarsnap was guided by the following four principles:
Security: Backups should be secure against attackers ranging from "script kiddies" up to major world governments, even if they can compromise the systems on which the backups are being stored. Backups are supposed to be a tool for mitigating damage — not a potential vulnerability to worry about!
Flexibility: Backups should be flexible and convenient. When you decide you want to create an archive, you should be able to store in it whatever files you want; if you decide that you want to delete an archive, you should be able to do it whenever you want, without impacting other archives; and there should be no arbitrary limits on how many archives you have stored, how often you can create new archives, or how long you can keep them for.
Efficiency: Backups should be efficient, using a minimal amount of storage and bandwidth. If you archive the same file twice, it should still only be uploaded and stored once; likewise, if you move, rename, copy, or make small changes to a file (e.g., adding a small amount of new data to the end of a log file or mail spool) you should never need to re-upload the entire file.
Utility: Backups should be provided as a utility, with linear (i.e., per-GB) pricing. Forcing people to figure out ahead of time how much data they want to back up so that they can sign up for the right "plan" is dumb, and having some customers subsidize other customers is inherently unfair.
tarsnap offers a unique mix of these features, but so does any other product.
There are two issues I haven't seen addressed:
(1) No guarantee of privacy: all my data's on someone else's box. I haven't seen any of them go to court to defend a person's data yet. And this isn't a phone log or URL list, it's everything they have. Backup privacy is not an area where you screw around.
(2) Upload bandwidth. Most network links available anywhere I've lived are asymmetric, with a massive bias downlink-side. Uplink speeds are still measured in 100s of kilobits/sec. $160/month bought me 1.5 mb down, and 768kb up, with a static ip.
I'd rather run my dataset through gpg and write it out to tape.
a. It is physically close to your original data's location.
b. It's a hassle to back up (remember to perform backup, insert tape, zfs, label tape).
c. Redundancy and versioning is at an extra cost.
d. Cannot be utilized for remote access to files.
.
As for the two issues missing -
(1) The data is encrypted before uploading. In addition, it is sliced. So, no single machine should have access to the whole file - nor would it even know what the other parts are. Moreover, requests for slices would be digitally signed, so a different machine could not even request slices it does not "own".
(2) Upload bandwidth is indeed an issue, but not a serious one. The general argument goes that what works for torrents would work for backups in this matter.
What I can say is that your key - whether automatically generated or your favorite pass phrase - is known only to you, and without it all of your data is lost.
Thus, if you want to you could store it at the server (so you'd never lose the data) or you'd keep it to yourself (and never risk the data being exposed).