You are Here:
Linux Lite 4.2 Final has been released. See the Release Announcements Section.



Deja Dup - How to restore files & folders in Thunar

Author (Read 4911 times)

0 Members and 5 Guests are viewing this topic.

Deja Dup - How to restore files & folders in Thunar
« on: November 11, 2014, 03:32:15 PM »
 

bobw

  • Occasional Poster
  • **
  • 85
    Posts
  • Country: 00
  • Reputation: 19
  • Linux Lite Member

  • Linux Lite: 3.0 64bit
I've been trying Deja Dup for user file backups.  It's very good, but the restore facility is limited in LL.  You can restore a whole snapshot of your files, but you can't restore previous versions of individual files or folders (and their contents).  It appears to be designed to be used in association with Nautilus file manager, rather than LL's usual Thunar.  In Nautilus, you can right-click on a file to get an option to restore the version from any previous Deja Dup backup.

After some research, I've found that the solution is to set up a custom action in Thunar:
1. Select Edit and Configure custom actions ...
2. Click on the + button to create a new custom action.
3. Complete the text boxes:
     Name:  Restore previous version
     Description:  Restores earlier file versions via Deja Dup
     Command:  deja-dup --restore %F
4. Select an icon if you want one.
5. Click on Appearance Conditions tab and check all 6 boxes.
6. Click on OK.

You will need to log out and log in again for the change to take effect.

You will now be able to right-click on a file or folder in Thunar to restore earlier versions.  If you don't want to be able to restore whole folders (use with care!), don't check the directories box in the Appearance Conditions tab.
Last Edit: January 23, 2015, 06:15:53 PM by Scott(0)
 


Re: Deja Dup - How to restore files & folders in Thunar
« Reply #1 on: November 11, 2014, 05:42:17 PM »
 

Wirezfree

  • PayPal Supporter
  • Platinum Level Poster
  • *****
  • 1482
    Posts
  • Country: gb
  • Reputation: 404
  • Linux Lite "Advocate"

  • Linux Lite: 2.8 64bit

  • CPU: i7-4790S

  • MEMORY: 16Gb

  • VIDEO CARD: Intel HD4600 (Integrated)
I've been trying Deja Dup for user file backups.  It's very good, but the restore facility is limited in LL.  You can restore a whole snapshot of your files, but you can't restore previous versions of individual files or folders (and their contents).  It appears to be designed to be used in association with Nautilus file manager, rather than LL's usual Thunar.  In Nautilus, you can right-click on a file to get an option to restore the version from any previous Deja Dup backup.

After some research, I've found that the solution is to set up a custom action in Thunar:
1. Select Edit and Configure custom actions ...
2. Click on the + button to create a new custom action.
3. Complete the text boxes:
     Name:  Restore previous version
     Description:  Restores earlier file versions via Deja Dup
     Command:  deja-dup --restore %F
4. Select an icon if you want one.
5. Click on Appearance Conditions tab and check all 6 boxes.
6. Click on OK.

You will need to log out and log in again for the change to take effect.

You will now be able to right-click on a file or folder in Thunar to restore earlier versions.  If you don't want to be able to restore whole folders (use with care!), don't check the directories box in the Appearance Conditions tab.

Hi bobw,

Good find/work
"Thanks" clicked

Dave
Upgrades WIP 2.6 to 2.8 - (6 X 2.6 to 2.8 completed on: 20/02/16 All O.K )
Linux Lite 3.0 Humming on a ASRock N3070 Mobo ~ btrfs RAID 10 Install on 4 Disks :)

Computers Early days:
ZX Spectrum(1982) , HP-150 MS-DOS(1983) , Amstrad CPC464(1984) ,  BBC Micro B+64(1985) , My First PC HP-Vectra(1987)
 

Re: Deja Dup - How to restore files & folders in Thunar
« Reply #2 on: November 12, 2014, 04:45:14 AM »
 

Jerry

  • Linux Lite Creator
  • Administrator
  • Platinum Level Poster
  • *****
  • 6449
    Posts
  • Country: nz
  • Reputation: 586
  • Linux Lite Member
    • Linux Lite OS

  • Linux Lite: 3.8 64bit

  • CPU: Intel Xeon Dual CPU's E5645 2.4GHz 12 Cores

  • MEMORY: 16Gb

  • VIDEO CARD: nVidia GeForce GTX 960
Thanks bobw, will look into this.
Download your free copy of Linux Lite today.

Jerry Bezencon
Linux Lite Creator

Learn to use your emotions to think, not think with your emotions.



 

Re: Deja Dup - How to restore files & folders in Thunar
« Reply #3 on: November 13, 2014, 05:13:53 PM »
 

gold_finger

  • Documentation Writer
  • Platinum Level Poster
  • *****
  • 1095
    Posts
  • Country: us
  • Reputation: 322
  • Linux Lite Member

  • Linux Lite: 3.2 64bit

  • CPU: Intel Core2 Duo E7500 3.0GHz

  • MEMORY: 4Gb

  • VIDEO CARD: Intel 4 Series Integrated Graphics
bobw,

Nice post.  Sure it will come in very handy.  Thanks.
Try Linux Beginner Search Engine for answers to Linux questions.
 

Re: Deja Dup - How to restore files & folders in Thunar
« Reply #4 on: January 17, 2015, 06:00:44 AM »
 

Curtis34

  • Guest
I never use this backup software. It looks good software but from last 3 months I am Using CloudBacko Lite. It is a fully automated backup solution aimed at professionals with many built-in features that save time and money, such as deduplication, and multiple disaster recovery options. I also recommend you to check this software.

EDITED BY GOLD_FINGER:

I've seen several posts like this on both LL forum and Linux Mint forums.  All similarly worded and all posted by newly registered people with one and only one post -- this nonsense.

SPAM!!!!!
Last Edit: January 17, 2015, 07:15:18 AM by gold_finger
 

Re: Deja Dup - How to restore files & folders in Thunar
« Reply #5 on: January 17, 2015, 09:36:45 AM »
 

Scott

  • Global Moderator
  • Gold Level Poster
  • *****
  • 857
    Posts
  • Country: 00
  • Reputation: 186
  • Linux Lite Member

  • Linux Lite: 3.4 64bit

  • CPU: Dual core Intel Core i3 M 330

  • MEMORY: 6Gb

  • VIDEO CARD: Intel Integrated Graphics
@Gold_Finger -

Nice catch on the spam message!
 

Re: Deja Dup - How to restore files & folders in Thunar
« Reply #6 on: November 29, 2018, 09:08:03 PM »
 

jack action

  • New to Forums
  • *
  • 3
    Posts
  • Reputation: 1
  • Linux Lite Member

  • Linux Lite: 4.2 64bit
I searched a long time for a solution like this and found it on my own.  I wanted to share it with the community, but it is already done!

Still I have a twist for my solution, so here it goes:

Restore File(s)

So this one is as explained in the OP, except I did not checked the Directories option (you rarely want to restore the entire content of a folder):

   

Restore Missing Files

In addition, I configured another custom action for directories.  With this one, when you select a directory, you can restore all files from your backup that were deleted within that directory:

   

For your information, in both cases, there is a GUI appearing, asking questions.  So it is not done automatically if you click it by accident.
 


Tags:
 


Linux Lite 4.2 Final has been released. See the Release Announcements Section.