LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices

Reply
 
Search this Thread
Old 05-26-2008, 10:20 PM   #1
toaster.waffle
Member
 
Registered: Feb 2005
Location: Ontario, Canada
Distribution: Gentoo
Posts: 97

Rep: Reputation: 15
Question Encrypting backup folder and rsync?


Good day,

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?)...

Given that, suggest away!
 
Old 05-27-2008, 03:15 PM   #2
hob
Senior Member
 
Registered: Mar 2004
Location: Wales, UK
Distribution: Debian, Ubuntu
Posts: 1,075

Rep: Reputation: 45
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).
 
Old 05-30-2008, 10:09 AM   #3
archtoad6
Senior Member
 
Registered: Oct 2004
Location: Houston, TX (usa)
Distribution: MEPIS, Debian, Knoppix,
Posts: 4,727
Blog Entries: 15

Rep: Reputation: 231Reputation: 231Reputation: 231
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?
 
Old 05-31-2008, 03:28 AM   #4
hob
Senior Member
 
Registered: Mar 2004
Location: Wales, UK
Distribution: Debian, Ubuntu
Posts: 1,075

Rep: Reputation: 45
Quote:
Originally Posted by archtoad6 View Post
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.
 
  


Reply

Tags
backup, encrypted, rsync


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Using RSync to backup a secondary off-site backup server pezdspencer Linux - Software 4 06-29-2007 03:40 PM
backup with rsync muhammednavas Linux - Networking 4 12-01-2006 06:58 AM
Using rsync to backup data. Best way to backup folders? Micro420 Linux - General 2 11-23-2006 01:13 AM
backup folder (rsync) os2 Linux - Software 4 03-29-2006 09:07 PM
rsync as backup? ziggie216 Linux - Software 3 03-13-2005 02:22 PM


All times are GMT -5. The time now is 05:14 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration