Hacker News new | past | comments | ask | show | jobs | submit login

Or you could.. you know... recommend an appropriate client-side encryption tool so they can then store the archive/backup data on the storage provider of their choice...



The advantage of having client-side encryption built into tarsnap is that it encrypts only after data deduplication and compression.

Obviously there could be a tarsnap option to stream the data to be uploaded through an encryption program of your choice, but doing it just as you suggest would nerf a few of tarsnap's prime advantages.


I think you've misunderstood me.

Tarsnap is a combination client-side application and remote service.

I am suggesting instead to use/recommend one of the existing client-side tools that work similar to the tarsnap client does, but don't lock the user into a single service provider.

By using a client-side tool that just generates archives (and isn't tied to a single storage service provider), you can store them anywhere - AWS, iCloud, Google Drive, Rsync.net, a rented VPS, a friends computer, an external hard drive, all of the above. You name it.


I understood what you said, I just didn't know that there were tools in existence that are as good as or better than tarsnap at the archiving part which allow you to specify the storage location.

Edit: I used 'specify the storage location' very loosely. I.e., I realise it could mean simply piping the archive data to yet another program in the shell.


Mostly these tools would expect a local storage location and you'd schedule scp/rsync/whatever to copy to the destination of your choice.


Cool, could you please give me a few examples?


I've never used it, but I've seen people on HN recommend Attic. It dedups and encrypts. https://attic-backup.org

Personally, I use git-annex, which isn't exactly a backup tool but a general distributed file manager which can, among other things, automatically make encrypted copies of the files to various places (SSH servers, S3, Google Drive, etc).


As mentioned, there is Attic [1] and Obnam [2].

Both do dedup and encryption, Attic can also store the data remotely via SSH (either with or without installation on the remote end) and Obnam can handle remote storage to an SFTP server.

[1] https://attic-backup.org [2] http://obnam.org


I use EncFS with Dropbox.

It's an almost completely transparent user-space filesystem. Basically you store your files in a given folder, and it automatically stores a parallel encrypted copy in a different folder.

http://www.howtogeek.com/121737/how-to-encrypt-cloud-storage...


Does it do data deduplication? Doesn't sound like it to me from skimming that article.

Edit: sounds like EncFS has some significant security issues: http://sourceforge.net/p/encfs/mailman/message/31849549/. No recent information in that discussion, so I don't know whether it's all been resolved. Here's an HN discussion of the audit: https://news.ycombinator.com/item?id=7384730


To my siblings, thanks for the examples. It's good that there is a more UNIXy alternative approach.

However, until I have reason to dislike tarsnap's archiving or encryption or AWS, it's simply easier to use a single tool.




Consider applying for YC's Spring batch! Applications are open till Feb 11.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: