You are not logged in.

#1 2016-02-18 17:07:55

krumelmonster
Member
Registered: 2015-04-27
Posts: 12

ecryptfs recovery

On my Desktop, I backed up my ecryptfs encrypted home directory using:

# rsync -aAX /home/.ecryptfs/krumelmonster /mnt/Backup/

Then, I readonly mounted the Backup hdd on my Netbook and tried to decrypt my home directory:

# USER=krumelmonster ecryptfs-recover-private /mnt/Backup/krumelmonster
INFO: Found [/mnt/Backup/krumelmonster].
Try to recover this directory? [Y/n]: 
INFO: Could not find your wrapped passphrase file.
INFO: To recover this directory, you MUST have your original MOUNT passphrase.
INFO: When you first setup your encrypted private directory, you were told to record
INFO: your MOUNT passphrase.
INFO: It should be 32 characters long, consisting of [0-9] and [a-f].

Enter your MOUNT passphrase: 
INFO: Success!  Private data mounted at [/tmp/ecryptfs.SBlkTP6j].

Looks good but:

ls /tmp/ecryptfs.SBlkTP6j/
total 36
drwx------   krumelmonster users  .ecryptfs
drwx------   krumelmonster users  .Private

I tried it with my (manually set) login password and twice with my (ecryptfs-unwrap-passphrase) mount password. Always the same result. I also tried `mount -t ecryptfs`

sad

EDIT: I just read that ecryptfs recovery should be done on the same architecture and indeed, my netbook is running x86 and the desktop x86_64 may that be the problem?
How could I backup my home directory in a way that I can encrypt it on any architecture?

Last edited by krumelmonster (2016-02-18 17:14:45)

Offline

#2 2016-02-19 10:07:29

x33a
Forum Fellow
Registered: 2009-08-15
Posts: 4,587

Re: ecryptfs recovery

Not an Installation issue. Moving to "System Administration".

Offline

#3 2016-02-27 01:35:15

Strike0
Member
From: Germany
Registered: 2011-09-05
Posts: 1,429

Re: ecryptfs recovery

krumelmonster wrote:

I tried it with my (manually set) login password and twice with my (ecryptfs-unwrap-passphrase) mount password. Always the same result. I also tried `mount -t ecryptfs`

What happens if you use ecryptfs-mount-private?
Do you have a user "krumelmonster" on the machine you restore to?

krumelmonster wrote:

EDIT: I just read that ecryptfs recovery should be done on the same architecture and indeed, my netbook is running x86 and the desktop x86_64 may that be the problem?

Not to my knowledge. Where did you read it?

Offline

Board footer

Powered by FluxBB