Duplicity Command Line Restore Usage

After failing to fix a login issue, now I'm attempting to restore from a backup file using Duplicity. As I have no clue what went wrong where, I want to restore from backup file, let's say 30 days prior.

From what I can see, this should be the command:
sudo duplicity --force -t 30D file:///backup-folder /

However, I get a bunch of [Errno 17] File exists... and I'm not sure if this is normal.

I would like to restore EVERYTHING- root and user folder and all. I'm about ready to format the drive and restart from scratch... so I'm willing to try anything at this point.

P.S. I cannot use Deja-dup, as I cannot login to GUI except as a Guest.


Solution 1:

first.. duplicity will never overwrite data while restoring. that is a design choice to protect your data. what you've got to do is to restore to a temporary folder and copy/move the restored data manually to your desired location.

second.. how come you cannot login into X but use the command line as root?

..ede/duply.net