Live data from Hacker News

Tarsnap is cozy

til.andrew-quinn.me

41–50 of 83 posts

Re: Tarsnap is cozy

#41
post #22
post #4

I've been using tarsnap for years and am in the process of migrating away from it. Things that are not cozy: 1) There's no way to monitor your monthly spend per host/credit left on the account/etc. apart of logging into your account in a browser and manually keeping a spreadsheet. There's no web API to do it. You get an email warning when you have about 7 days of credit left. That's it. 2) Nothing is "a precious few…

I found restic is a prety cool alternative. (No hosting though, I am sending restic backups to a private server/vps)

+1 for restic

Restic + rclone is a very nice combo. Works really well.

Re: Tarsnap is cozy

#42
post #36

Earlier quoted context omitted.

OP here, thanks for using the cost estimator! [1] I'm glad you got some use out of it. I use Backblaze B2 myself for most of my general purpose backup needs. It's actually $6/month, I believe. Tarsnap fills but one niche in my overall system. It's a very important niche for which I haven't found any other providers who do anything similar (keyfiles, prepaid, borderline anonymous etc), but it's not where I store the v…

I just don't really understand what the niche is. If you have a tiny bit of data that you want to keep backed up and rarely access, you can encrypt it with any number of easy command-line or GUI tools and upload it to Google Drive, Dropbox, or anywhere else with a free tier. If it's securely encrypted, there's no reason to care that the storage provider knows who you are. Tarsnap definitely has nerd appeal, but I can…

I readily admit I'm a nerd about this stuff, and this is primarily a hobby of mine. I am explicitly not 80/20'ing this because it's fun. [1]

One use case: I don't like the idea of having any accounts at all which I log into without the aid of a password manager. That creates a bootstrapping problem - how am I supposed to log into Google Drive to get my Google Drive password? A prepaid keyfile-based model is one particularly robust way of solving this. You stick your e.g. 100 kB password database in there, print out and shred the keyfile, stick the printout in a fireproof safe, and be virtually certain that whatever you put in Tarsnap has been untouched however many years you come back to it later. Print it on archival paper with some silica gel packets and it might survive for millennia in your weird subterranean vampire family castle.

"The business won't survive that long." I'm not so sure. Its ongoing costs appear minimal, and it generates eye watering amounts of float. $5 paid today is >$200 fifty years from now when compounded at 8% real interest. That very fact makes it much more likely that Tarsnap actually will survive for those 50 years, which should make us more likely to trust it, which... You see where this is going. This is one of those things where aggressively pricing too close to the bare metal costs might actually be a bad thing to a very important subset of users. One might even make the argument that, if the margins are as good as I'm supposing they are, then depending on the goals of the founder, Tarsnap is more likely to outlive S3 than S3 Tarsnap.

But again: Primarily a hobby.

[1]: https://andrew-quinn.me/digital-resiliency-2025/

Re: Tarsnap is cozy

#43
Tarsnap seems very expensive.

I'm backing up about 8TiB of data nightly using BorgBackup[0] + InterServer[1] and pay $240/yr.

This gives me differential encrypted rotating backups that are 100% mine and do not lock me into any specific storage vendor.

[0] https://borgbackup.readthedocs.io/en/stable/

[1] https://www.interserver.net/storage/

Re: Tarsnap is cozy

#45
post #40

Earlier quoted context omitted.

restic is basically identical and you can choose where you store your data.

restic can supposedly be set up to prevent a corrupted / compromised client from destroying old data using S3 versioning policy, but this doesn’t appear to be a well-supported feature with clearly-described security properties. Tarsnap, in contrast, has an explicit first-class ability to prevent a compromised client from damaging old backups.

That’s because restic is not opinionated about where and how you store your backups. Restic provides a nice interface to create the backups, and then lets you choose where you want to store them (and how access to them is managed), be it locally or via SFTP or S3 or many other backends. Any security properties related to S3 are not in the scope of what restic is meant to do.

It’s pretty simple to enable versioning and object lock on your S3 bucket, but it is another step if you’re using restic. Sure, if you just want all of that taken care of for you, you can use tarsnap, but you’re paying a 5x+ premium for it.

The other nice thing about restic is that since it’s just the client-side interface, it allows others to provide managed storage. Borgbase.com is a storage backend that is supported by Restic that supports append-only backups, and is cheaper than tarsnap.

Re: Tarsnap is cozy

#46
post #40

Earlier quoted context omitted.

restic can supposedly be set up to prevent a corrupted / compromised client from destroying old data using S3 versioning policy, but this doesn’t appear to be a well-supported feature with clearly-described security properties. Tarsnap, in contrast, has an explicit first-class ability to prevent a compromised client from damaging old backups.

That’s because restic is not opinionated about where and how you store your backups. Restic provides a nice interface to create the backups, and then lets you choose where you want to store them (and how access to them is managed), be it locally or via SFTP or S3 or many other backends. Any security properties related to S3 are not in the scope of what restic is meant to do. It’s pretty simple to enable versioning an…

I disagree, strongly. Here are the relevant docs:

https://restic.readthedocs.io/en/stable/030_preparing_a_new_...

I would like to see an explicit discussion of what permissions are needed for what operation. I would also like to see a clearly specified model in which backups can be created in a bucket with less than full permissions and, even after active attack by an agent with those same permissions, one can enumerate all valid backups in the bucket and be guaranteed to be able to correctly restore any backup as long as one can figure out which backup one wants to restore.

Instead there are random guides on medium.com describing a configuration that may or may not have the desired effect.

Re: Tarsnap is cozy

#47
post #22
post #4

I've been using tarsnap for years and am in the process of migrating away from it. Things that are not cozy: 1) There's no way to monitor your monthly spend per host/credit left on the account/etc. apart of logging into your account in a browser and manually keeping a spreadsheet. There's no web API to do it. You get an email warning when you have about 7 days of credit left. That's it. 2) Nothing is "a precious few…

I found restic is a prety cool alternative. (No hosting though, I am sending restic backups to a private server/vps)

Same but with rustic because I found it used significantly less memory.

https://rustic.cli.rs/

Re: Tarsnap is cozy

#48

I really wanted to like Tarsnap and gave it a good hard look for my backup needs. Ultimately my problem was that there's no way for me to gauge how much the service will cost me. Going just by the amount of data in my home dir, it would be cost prohibitive to upload to Tarsnap. The site does assure me that thanks to compression and deduplication, the actual cost will be far less than I might estimate, which is great!…

tarsnap --dry-run --no-default-config --print-stats --humanize-numbers -c /MY/DATADIR

will tell you the compressed size of your deduplicated data, which gives you the upload cost and first-month cost. 4GB of files usually works out to 3GB of dedup/compressed archive data for most people, less for people with many similar files.

Re: Tarsnap is cozy

#49
post #22

Earlier quoted context omitted.

I found restic is a prety cool alternative. (No hosting though, I am sending restic backups to a private server/vps)

+1 for restic Restic + rclone is a very nice combo. Works really well.

Curious why use both? I use restic directly with B2 backblaze, whats rclone doing for you here?

Re: Tarsnap is cozy

#50
post #8

It can be whatever it wants I am not paying $25 to store 100GB. I used to use Tarsnap a decade or so ago but pricing makes no sense at all nowadays. Looks like much for both Colin and us could be solved moving this away from AWS

Yeah that pricing is crazy for something without any of the security that comes with using a BigCo. I've bounced off it in the past as soon as I got to their cutesy pricing model but I just played with the calculator linked here to model my needs -- three thousand USD a year for 1Tb of cold storage??

I appreciate you using the calculator! It's at [1] for anyone who wants to futz around with it.

$3000 per TB-year is accurate to my knowledge, and yes, it is at least one, and probably two, orders of magnitude what you can get with more general purpose systems. Backblaze B2 is $72 per TB-year; AWS Glacier is $12 per TB-year I believe; purchasing two 20 TB Seagate drives for $300 apiece, mirroring them, and replacing them every 3 years gives you about $10 per TB-year (potentially - most of us don't have 20 TB to back up in our personal lives). Those are the best prices I've been able to find with some looking [2].

To me, when I was building out the digital resiliency audit, the pricing and model just seemed to tell me that tarsnap was for very specific kinds of critical data backups, and was not a great fit for general purpose stuff. Like a lot of other people here I also have a general-purpose restic based 3-2-1 backup going for the ~150 GB in /home I back up. [3] My use of tarsnap is partly a cheap hedge for the handful of bytes of data I genuinely cannot afford to lose against issues with restic, Backblaze B2, systemd, etc.

[1]: https://hiandrewquinn.github.io/tarsnap-calculator/

[2]: https://andrew-quinn.me/digital-resiliency-2025/#postscript-...

[3]: https://andrew-quinn.me/digital-resiliency-2025/#general-bac...

Post reply on HN