For various reasons (possibly this bug) a Deja Dup backup I made failed. I have been following this guide to restore my backup by hand. The steps have been:
In the folder containing the backups run:
for t in duplicity-full.[yournumbershere].*.difftar.gz; do tar xf $t; done
This gave me two folders: multivol_snapshot and snapshot. In the multivol_snapshot folder are all of my files but split up into smaller files. I could join each manually by running cat * > file.txt but this would take a very long time. The page provides a script called duplicity_join.py which joins them together. However, it doesn't preserve the folder structure and so any files or folders with the same name get overwritten.
Is there an existing method available for joining the files automatically that preserves the folder structure?