7 ms·
I know there are specialized backup tools like restic or borg, but I like to keep things simple. Is using age like this to encrypt my files before uploading th
by qyckudnefDi5 2y ago
I know there are specialized backup tools like restic or borg, but I like to keep things simple.
Is using age like this to encrypt my files before uploading them to untrusted cloud storage not ok?
tar > age > cloud
Some comments mention signing with minisign. Should I be doing that like this:
tar > age > minisign > cloud
- tptacek 2y agoUse specialized backup tools! There are cryptographic constructions designed specifically for backup. You will get better backup and better encryption.
- qyckudnefDi5 2y ago"Better backup" aside, as I understand that I'd miss out on deduplication and all the other things backup software can do like keeping track of what it has backed up etc. "Better encryption": Can you explain why age's encryption isn't sufficient if it's recommended for encrypting files? Really want to understand how it's recommended for encrypting and sharing a file over an untrusted channel like email, but not recommended to encrypt a file and upload it to an untrusted server.
- deleted 2y ago[deleted]
- WhyNotHugo 2y agoIf you make a second backup tomorrow, you'll end up with a new (huge) encrypted tar. restic handles deltas when creating a second backup, and writes new files so that tools like rsync or rclone have to do less work to upload the new data. That said, I don't see anything strictly _wrong_ with your approach.
- qyckudnefDi5 2y agoNo deduplication is a tradeoff I'm willing to make for simplicity and less things that can go wrong :)
- aborsy 2y agoIt’s obviously not practical except for small data, for many obvious reasons. You may expect tools such as restic or Borg or rclone should use Age. But they don’t, because they need their own file formats. Restic is excellent. I can’t recommend it enough.
- arcxi 2y agoI made a tiny shell script that combines tar+age, you may find it useful for simplicity https://github.com/arcxio/urn/blob/main/urn https://github.com/arcxio/urn/blob/main/urn