Revert a file with Deja Dup (CLI)

You accidentally changed the content of a file and need to revert to an older version. In this example, the content of the file “Bearbeiten-DNS Server aufsetzen.docx” has been deleted and we want to restore it. First of all, we have to be in the directory, where the file is stored.

Revert command

sij@codesie:~/Documents$ deja-dup --restore Bearbeiten-DNS\ Server\ aufsetzen.docx

Revert process

After the commands execution, Deja Dup opens a wizard, which looks like the following:

Restore From Where?

Step1

Restore From When?

Step2

Summary

Step3

After the restore, the file content is present again.