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:
…
duplicity-full.20201211T141927Z.vol83.difftar.gpg
duplicity-full.20201211T141927Z.vol84.difftar.gpg
duplicity-full.20201211T141927Z.vol85.difftar.gpg
duplicity-full.20201211T141927Z.vol86.difftar.gpg
duplicity-full.20201211T141927Z.vol87.difftar.gpg
duplicity-full-signatures.20201211T141927Z.sigtar.gpg
duplicity-full.20201211T141927Z.manifest.gpg
duplicity-inc.20201211T141927Z.to.20201211T143431Z.vol1.difftar.gpg
duplicity-new-signatures.20201211T141927Z.to.20201211T143431Z.sigtar.gpg
duplicity-inc.20201211T141927Z.to.20201211T143431Z.manifest.gpg
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?