Is there something I should be taking in to account when moving an encrypted home directory to a new drive? Is it just enough to rsync the contents away, edit fstab etc?
What I would do:
- Be sure to have no user logged when doing the copy, so that encrypted directories are not mounted.
- Copy the whole
/home/, as there is a
/home/.ecryptfswhich I think contains all the encrypted data.
- As root, run
rsync -av /home/ /other/disk/home/in order to preserve all file attributes.