You are not logged in.

#1 2010-12-02 05:54:59

Discriminant
Member
Registered: 2010-11-28
Posts: 3

rsync encrypted backups

I want to use rsync as my backing up tool, copying/rsyncing my work directory to an external HD. Is there anything like an encrypted partition for this HD that will require a password before mounting? I need to ensure that only I can access this without sacrificing the performance of rsync.

Last edited by Discriminant (2010-12-02 05:55:27)

Offline

#2 2010-12-02 06:22:10

anrxc
Member
From: Croatia
Registered: 2008-03-22
Posts: 834
Website

Re: rsync encrypted backups

Encryption adds overhead. You can't avoid it. Try TrueCrypt for encryption on the external hard drive.


You need to install an RTFM interface.

Offline

#3 2010-12-02 07:37:59

Simplet
Member
Registered: 2010-12-02
Posts: 18

Re: rsync encrypted backups

Another solution is to use ENCFS.

Plus if your source dir is also crypted with it, you are able to rsync without crypt/decrypt overhead (because encfs store encrypted files on disk, no partition needed).


"You feel a strange vibration under your feet."

Offline

#4 2010-12-02 08:54:55

fukawi2
Ex-Administratorino
From: .vic.au
Registered: 2007-09-28
Posts: 6,224
Website

Re: rsync encrypted backups

LUKS can encrypt the whole partition, requiring a passphrase before mounting.
https://wiki.archlinux.org/index.php/Sy … r_dm-crypt

Offline

#5 2010-12-02 08:56:43

mikesd
Member
From: Australia
Registered: 2008-02-01
Posts: 788
Website

Re: rsync encrypted backups

Simplet wrote:

Another solution is to use ENCFS.

Plus if your source dir is also crypted with it, you are able to rsync without crypt/decrypt overhead (because encfs store encrypted files on disk, no partition needed).

That's an interesting idea.

I use LUKS for my backup drives. Works well for me.

Offline

#6 2010-12-02 13:28:59

Dieter@be
Forum Fellow
From: Belgium
Registered: 2006-11-05
Posts: 2,001
Website

Re: rsync encrypted backups

luks here aswell. the encryption adds some cpu overhead (unless you have hardware to do encryption natively, like the via padlock), but this is usually <5% with a decent cpu, and since your bottleneck will be disk speed (or network if you use 100Mbps ethernet) the cpu overhead causes no impact on the backup speed.


< Daenyth> and he works prolifically
4 8 15 16 23 42

Offline

#7 2010-12-04 16:10:24

siriusb
Member
From: Hungary
Registered: 2010-01-01
Posts: 422

Re: rsync encrypted backups

+1 luks. Using for 6 months on all of my partitions (system _and_ backup)  without any issue.

Offline

Board footer

Powered by FluxBB