Extract duplicity difftar files manually

backupbackup-restorationtar

I have a duplicity backup which i am not able to recover with duplicity.

By calling duplicity file:///path/to/backups /path/to/dir, it returns "Local and Remote metadata are syncronized, no sync needed." but the /path/to/dir is empty.

I decrypted all backup volumes and I'm able to view and extract the files from the different difftar files. My only problem is that there are files partitioned and saved in folders named after the files.

Can anyone give me a simple script or at least a hint how to untar these difftar files so i get the actual files instead of the partitioned ones?

Best Answer

I think the command you are looking for is more along the lines of

duplicity restore --file-to-restore / file:///path/to/backups /path/to/dir

you may have to use

duplicity -t 3D restore --file-to-restore  / file:///path/to/backups /path/to/dir

or such because the command you ran is to backup, and not restore, so your latest backup might be the empty directory you pointed it to.