Hacker News new | ask | show | jobs
by mzajc 9 days ago
A few in-place encryption solutions for cloud storage:

- Rclone crypt: https://rclone.org/crypt/

- Cryptomator: https://cryptomator.org/

- (for incremental backups) Restic: https://restic.net/

This should be a hard requirement for anyone storing data on someone else's computer. Barring vulnerabilities, you can essentially disregard the service's privacy policy, and select purely based on price and reliability.

11 comments

I'm using restic + b2, but I don't think encryption buys you anything of substance in this scenario. If I understood correctly, Backblaze doesn't sell the files or the data (obviously); That would be a suicidal strategy for any backup company. My understanding is that it sells and/or shares metadata e.g. IP, country of origin, demographic, client/OS used for uploading, amount of data stored, etc. And it is most likely somewhat anonymized although I'm pretty sure Google, Facebook, etc. who are the main clients in data-broker markets can de-anonymize most of this stuff easily.
Very happy restic user here, I'd strongly recommend it to everyone.
"This should be a hard requirement for anyone storing data on someone else's computer."

Agreed.

With regard to rclone, remember that there is a very interesting and useful workflow which combines rclone and restic to produce append-only backups at the destination of your choice:

https://www.rsync.net/resources/notes/2025-q4-rsync.net_tech...

  rclone serve restic --stdio ...
... is the form of this workflow and the howto linked above is NOT rsync.net specific - it can be used anywhere.
Also Arq (for Mac and windows) - https://www.arqbackup.com/
I wanted to limit my recommendations to FOSS solutions, because they make it possible to check the soundness of their crypto usage.
Been an Arq user for years (Mac only), backing up to Amazon S3. The yearly price is reasonable (1-time purchase with 12 months of updates for $60 per computer) I set a budget for $10 on S3 and it keeps plenty of incremental backups for my 1TB Mac mini. It's mostly set-it-and-forget-it.
Me too also. I'm using Cloudflare's R2, and also Backblaze, since (at least when I checked years ago) the combined cost is less than one backup at AWS. Also, redundancy!
Just to note that encryption isn't automatic. You have to set a password in order for it to be encrypted.
Don't forget Borg (also for incremental/deduped): https://www.borgbackup.org/
> Barring vulnerabilities, you can essentially disregard the service's privacy policy, and select purely based on price and reliability.

Hard disagree with this statement, especially when Backblaze has stated they're collection and selling user geolocation information as part of the package.

Anyone who cares about privacy is going to see this announcement and start planning their exit from B2.

> you can essentially disregard the service's privacy policy

At some point the obvious step for these services is to disallow storage of encrypted data, yes?

I assume data storage companies already hate encryption. Without encryption, you probably get a lot of redundant blocks that do not have to be materialized to disk. That is, if a bunch of your customers have, ahem, acquired the same copy of Dune, you only need to store it once. With encryption, all data looks random, so there is no way to further compress it.
Yes that's called deduplication. I don't think every storage service uses it. Some sure do yes. But I read that the big ones like Dropbox don't. Not sure why.
I mean, they charge per TB, right? Why does it bother them if the data is compressible or not? Or are you saying that if, hypothetically, 100 customers have a copy of the same 100 GB Dune ripped identically from DVDs they legally own, that the storage companies would store 100, but charge for 1000? Boo-fucking-hoo, then.
It all weighs into their business model for costs.

If you upload an uncompressed 10MB markdown file to Amazon S3, Amazon will charge you for 10MB of storage, but is almost certainly going to use some internal compression so that they only have to commit 500KB to disk. Given enough scale, and you can project that every x TB of customer data only actually requires y TB of storage space. If all ingested data is already encrypted, x now equals y and that savings ratio disappears, so you are going to have to provision x storage hardware.

When I worked on a cloud storage team like this we were not trying to squeeze extra margin this way, hoping different people are randomly backing up the same movie. In the vast vast majority of cases that extremely low amount if duplication is not even worth thinking about.

The exception is VM backups - if there’s 100k+ VMs in one zone with a Debian 13 base image + diffs, each with 4 weeks of backups, again it’s not even about margin it would just be a stupid waste of resources and operations to store 400k identical copies of Debian 13.

But many types of files are incompressible? jpegs aren't, and I doubt cloud storage companies are going to ban you for uploading too many photos relative to markdown files.
I am not saying this is some explicit strategy, but something that naturally happens in the numbers. Given enough customers, Z% of uploaded data will be highly compressible or redundant amongst all clients (eg OS system files). Giving you free storage margin. You offer a customer X TB for $, but, on average, you only need to allocate Y TB.

However, if all of your clients start uploading encrypted files, there is now 0% possible compression/redundancy gain. Those Windows/Mac/Linux system libraries are all going to be stored on the backend. If Backblaze is offering "unlimited" system backups, and they archive system files, that is dozens of duplicated gigabytes per customer that could previously be zeroed out of their storage calculation.

If they can compress, they get to charge you the same amount while saving their own cost, increasing margins.
> I mean, they charge per TB, right?

No, Backblaze doesn't. Their personal and business plans have "Unlimited data backup": https://www.backblaze.com/cloud-backup/pricing

I'm referring to using their B2 service, which is probably what everyone ought to be using.
love restic.

I used veracrypt for a long time, but the encrypted vault is just one gigantic blob, which makes incremental backups hard, i recently switched to https://github.com/rfjakob/gocryptfs which encrypts the files and the filenames, as a results it's way easier to sync with any tool, even something like Dropbox.

Thanks for the links. They look useful. Not sure about Cryptomator, but the others look good
go with the original, tarsnap
Hard agree.

Been using rclone on B2 for ever, only ever push encrypted files there, with encrypted filenames so good luck using them for marketing or whatever.