Linux - SecurityThis forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
I use rsync to backup several computers on my home network to a computer with a honkin' hard drive.
I'm curious to how I might be able to have the backup data encrypted?
Mostly, I want to protect data in the event the hard drive (or everything) goes missing.
I'd like the data to only be accessible by the backup user.
I have music and video backups also residing on the same hard drive which I would prefer to remain non-encrypted, thus I prefer not whole-partition/drive encryption.
I don't know if I like the idea of the encrypted folder being mounted at boot, without a password, but I do not know if it is possible to have the folder mounted on the fly when the SSH/rsync is authenticated (.bashrc?)...
It's worth taking a look at Duplicity, a command-line backup tool that incorporates a version of rsync and uses GPG-encrypted files for the backup repositories. The Web site says it's a beta, but it's said that for several years...the software is feature complete.
FWIW, the cost of a couple of gigabytes of online backup space is now only a few dollars, so if you have a broadband connection you can easily do offsite backup of the critical stuff. Most of the consumer backup services use their own particular clients, but rsync.net support Duplicity and standard UNIX tools. (I've no association, other than being a happy rsync.net customer).
BTW, there is a Duplicity .deb in the MEPIS 6 (Dapper) repos.
hob,
At $1.60/GB/mo what can you afford to back up?
If you separate out the absolutely vital data you can end up with a fairly small file set. Apart from from my email, all of my really irreplaceable personal stuff totals less than 1Gb, so the minimum rate is enough for those plus server log and config files. I rsync multimedia files to an external hard drive, but am not particularly worried about losing them.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.