I want to restore a backup to a test location, so I can explore certain mailfolders.
I have run:
export PASSPHRASE=$(cat secret_key.txt)
duplicity restore encrypted file:///restore/
and get in the /restore directory this:
I didn’t use sudo because I am root. I didn’t use -E because I’m not worried about permissions and I didn’t use --force as my raget directory os empty and anyway duplicity says it will complain if it needs force.
Well if you choose not to follow the instructions as laid out then do not expect them to function as laid out.
Like for example – where are you writing the files to? I see that you chose not to give that location in the command, so how do you expect to see files that do not exist, since they are not ever written as you do not tell where they are to be written to?
Then may I ask why you are doing it on your MiaB droplet? Actually, I am not certain what your goal is here, but why not simply copy the maildirs to a ‘safe’ location and go through them there? I suspect that you are trying to verify the integrity of the backup. If so, why not simply spin up another temporary instance of MiaB and restore to it?