1

[all variants] ecryptfs and backup from cron as root

view story
linux-howto

http://ubuntuforums.org – I encrypted my home directory during a 12.10 install on my home server but ive having trouble figuring out the best way to backup my home directory in a cron job. the cron job is run as root, and im not logged in so my home directory is not decrypted during the cron job. Is there a way to make this work, either by scripting in the passphrase on the command line (yes im aware its unsecure) with something like ecryptfs-mount-private or is there a better way to handel this? (Hardware)