I have used Déjà Dup Backup Tool to backup to external hard disk (/media/TOSHIBA EXT/
)
Now I want to test the backup. So I deleted one test file (/home/rch/hecatombe.txt
).
I can restore that file via Nautilus "File => Restore Missing Files" (as at restore a backup from duplicity )
But I prefer to work at the command prompt.
So I deleted that test file again, and did this at the command prompt:
duplicity restore --no-encryption "file:///media/TOSHIBA EXT/" "/home/rch/hecatombe.txt"
But instead of restoring my file hecatombe.txt
, duplicity
made a new directory hecatombe.txt
with contents like this /home/rch/locate_hecatombe.txt/home/rch
What am I doing wrong?
Best Answer
As you may have guessed,
duplicity
asks for a directory as the second argument when restoring files. According toman duplicity
:So, in your case, you would use: