Restoring a file backed up through dump from an encrypted home directory
https://help.ubuntu.com/community/EncryptedPrivateDirectory#Recovering_Your_Mount_Passphrase
sudo mkdir /mnt/restore
sudo chown yourid /mnt/restore
sudo ecryptfs-add-passphrase --fnek
# record output
sudo mount -t ecryptfs /tmp/restore/home/.ecryptfs/yourid/.Private /mnt/restore
aes
16
n (passthrough)
y (encrypt filenames)
(enter 2nd key from fnek above)
sudo mkdir /mnt/restore
sudo chown yourid /mnt/restore
sudo ecryptfs-add-passphrase --fnek
# record output
sudo mount -t ecryptfs /tmp/restore/home/.ecryptfs/yourid/.Private /mnt/restore
aes
16
n (passthrough)
y (encrypt filenames)
(enter 2nd key from fnek above)
Comments
Post a Comment