Page 1 of 1

Encryption possible with the new backup solution?

Posted: 03 Sep 2013, 07:21
by Moloko
As I understand from the latest and greatest upgrade on B3, there is a new solution for the backup feature.

The question is:
Is it possible to encrypt the files that are backed up, as with the old solution?

Re: Encryption possible with the new backup solution?

Posted: 06 Sep 2013, 09:46
by johannes
Sorry, no. The new backup is a pure sync.

Re: Encryption possible with the new backup solution?

Posted: 06 Sep 2013, 12:49
by Ubi
Cant you sync to an encrypted device?

Encryption possible with the new backup solution?

Posted: 25 Nov 2013, 18:12
by Moloko
The other device (Bubba) is located on other location, reachable by ssh.

Do you mean it's still possible to have the backup destination encrypted anyway?

Re: Encryption possible with the new backup solution?

Posted: 25 Nov 2013, 18:25
by RandomUsername
Yes, you can encrypt an entire volume with ecryptfs. I'm sure there is an article about it either here or on the wiki.

Re: Encryption possible with the new backup solution?

Posted: 26 Nov 2013, 03:41
by Gordon
What is the exact requirement here? Do you need the data to be stored encrypted on that remote location or do you only need to have the files transferred encrypted?

Encryption possible with the new backup solution?

Posted: 29 Nov 2013, 14:53
by Moloko
Well both.
I guess the data is encrypted by rsync.

The original issue is to encrypt the backup'ed files and folders on the destination.

Re: Encryption possible with the new backup solution?

Posted: 30 Nov 2013, 12:39
by Gordon
Hi,

No, rsync does not encrypt. However the most used method to rsync to a remote server is to run it through ssh - i.e. transfer will be secure when this method is used, but storage on the target machine is a direct image of the original files you are syncing. So one way to accomplish what you want is to rsync to a local destination first and then encrypt that local target to become the source for rsyncing to the remote target. This will however most likely defeat the whole idea of rsync.

Re: Encryption possible with the new backup solution?

Posted: 30 Nov 2013, 13:16
by RandomUsername
Or look into rsyncrypto.

Encryption possible with the new backup solution?

Posted: 03 Dec 2013, 10:02
by Moloko
When I wrote
"I guess the data is encrypted by rsync."
I meant that I supposed that the data transfer itself if encrypted between the host and destination backup client.

But based on the answer above I guess I'm wrong. How do I use rsync and ssh to encrypt the data transfer during the backup?
(I'll try to search the forum and the wiki in the meantime...)

Thanks for the tip about cryptorsync, I'll look into it!

Re: Encryption possible with the new backup solution?

Posted: 03 Dec 2013, 10:09
by RandomUsername
I think I wrote a how to on using rsyncrypto on this very forum. rsync with SSH is straight forward enough (man rsync) but for unattended transfers you will need to set up a key pair.