r/Backup • u/crow445 • Sep 30 '21
Borg – quality of encryption?
Hi!
I am considering paying for a remote backup solution with rsync.net. I love the backup software Borg (I already use it for local backups) and rsync.net supports remote backups with Borg. It's wonderful, sounds like just what I need.
I am only wondering one thing: given that Borg is still in development, is its native encryption trustworthy? The thought of uploading sensitive data to a remote machine makes my hair stand on end.
I have considered an additional layer of encryption using Cryptomator. Do you think it would work and would this solution have any disadvantages? How do you encrypt your own remote backups if you only want to rely on open-source software?
Thanks!
1
u/PitBullCH Oct 02 '21
FYI Rsync.net are fabulous, but quite expensive - I use them myself. You can as an alternative use BorgBase and Lima Labs - both work same way and work fine.
0
u/sprayfoamparty Oct 05 '21
Not able to find a linky source but I have heard Cory Doctorow say words to the effect of: the standard encryption you get on your phone (if you turn it on) is so good that if you turned every hydrogen atom in the whole universe into a super computer, and they did nothing but try to break the encryption on your phone until the heat death of the universe, the end of time would be reached before your phone would be compromised.
Then he goes on to talk about Rubber-hose cryptanalysis and the fact that there is no such thing as crypto that can solve coercion. And there are other human factors that have to be addressed collectively.
Anyway he's a smart cookie and I've never heard anything to contradict the above. My understanding is that really strong crypto is available to (and from) the open source community and problems arise when people either decide to roll their own or there are vulnerabilities elsewhere.
2
u/ssps Sep 30 '21 edited Sep 30 '21
Why rsync.net out it all other providers? Why not B2 or S3 or Wasabi?
Borg is time proven piece of software, it’s encryption is no better or worse then any other.
You can use rclone serve as an adapter between borg and the storage backend.
If you are happy with borg — no reson not to continue using it.
Cryptomator will only add complexity and another (VFS) layer that can fail and/or introduce caching making backup no deterministic. If you really want to add additional encryption — you can use rclone crypt remote (up to 2048 bits, IIRC)
So your setup will look like so:
Raw storage on AWS or Wasabi or B2
Corresponding Rclone remote configured to access 1.
Rclone crypt remote on top of 2.
rclone serve sftp of 3 with caching disabled.
Borg backing up to sftp server 4.
Edit: footnote: If starting from scratch today however Borg would not be my first choice; I would have probably gone with a backup solution that supports multiple endpoints natively and has other modern features (assymetric encryption, content aware chunking, etc); most likely that would be Kopia, which has recently reached RC status, or Duplicacy if more established and stable software is desired (I’m using the latter for years successfully, answering your other question). Kopia is opensource and duplicacy while not strictly open-source (it’s a commercial software) the source is hosted on GitHub and you can build it yourself. (It’s free for personal use though).
Edit2. What do you mean “borg is still in development”? Version 1.1 is stable.