Restoring files with Deja Dup & Thunar
Ok so I use deja dup for backing up my system and have done for a number of years now. It's a great app that makes backing up any system super easy. It's also included in many Linux distributions repos which makes it easy to install. The only problem I have is that unless you're running nautilus (gnome-files) the restore functions are pretty limited. You could easily open deja dup and restore a whole backup, but what if you don't want to restore a whole backup. What if you only want an individual file or folder ?? After doing some research, I found that you can use deja dup with a custom action in thunar. Follow the steps below to set up your own deja dup action in thunar.
- Open thunar....
- Select Edit and then click on Configure custom actions....
- Click the + button to create a new custom action....
- Complete the text boxes:
Name: Restore
Description: Restore files with Deja Dup....
Command: deja-dup —restore %F
Icon: deja dup icon
- Click on Appearance Conditions tab and check all 6 boxes....
Uncheck directories if you don't want to be able to restore whole folders
- Click ok to finish....
You may need to log out and in again for changes to take effect, but now you will now be able to right-click on a file or folder in thunar to restore earlier versions.