New user's registration have been closed due to high spamming and low trafic on this forum. Please contact forum admins directly if you need an account. Thanks !

Encryption possible with the new backup solution?

Got problems with your B2 or B3? Share and get helped!
Post Reply
Moloko
Posts: 51
Joined: 12 Feb 2010, 00:50

Encryption possible with the new backup solution?

Post 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?
johannes
Posts: 1470
Joined: 31 Dec 2006, 07:12
Location: Sweden
Contact:

Re: Encryption possible with the new backup solution?

Post by johannes »

Sorry, no. The new backup is a pure sync.
/Johannes (Excito co-founder a long time ago, but now I'm just Johannes)
Ubi
Posts: 1549
Joined: 17 Jul 2007, 09:01

Re: Encryption possible with the new backup solution?

Post by Ubi »

Cant you sync to an encrypted device?
Moloko
Posts: 51
Joined: 12 Feb 2010, 00:50

Encryption possible with the new backup solution?

Post 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?
RandomUsername
Posts: 904
Joined: 09 Oct 2009, 18:49

Re: Encryption possible with the new backup solution?

Post 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.
Gordon
Posts: 1461
Joined: 10 Aug 2011, 03:18

Re: Encryption possible with the new backup solution?

Post 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?
Moloko
Posts: 51
Joined: 12 Feb 2010, 00:50

Encryption possible with the new backup solution?

Post 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.
Gordon
Posts: 1461
Joined: 10 Aug 2011, 03:18

Re: Encryption possible with the new backup solution?

Post 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.
RandomUsername
Posts: 904
Joined: 09 Oct 2009, 18:49

Re: Encryption possible with the new backup solution?

Post by RandomUsername »

Or look into rsyncrypto.
Moloko
Posts: 51
Joined: 12 Feb 2010, 00:50

Encryption possible with the new backup solution?

Post 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!
RandomUsername
Posts: 904
Joined: 09 Oct 2009, 18:49

Re: Encryption possible with the new backup solution?

Post 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.
Post Reply