You are Here:
Linux Lite 6.6 FINAL Released - Support for 22 Languages Added - See Release Announcement Section



Deja Dup - How to restore files & folders in Thunar

Author (Read 15802 times)

0 Members and 1 Guest are viewing this topic.

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

jack action

  • New to Forums
  • *
  • 16
    Posts
  • Reputation: 4
  • Linux Lite Member
    • View Profile

  • Kernel: 5.x
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.
 

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

Scott

  • Global Moderator
  • Gold Level Poster
  • *****
  • 857
    Posts
  • Reputation: 186
  • Linux Lite Member
    • View Profile

  • 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 #5 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 #4 on: November 13, 2014, 05:13:53 PM »
 

gold_finger

  • Documentation Writer
  • Platinum Level Poster
  • *****
  • 1094
    Posts
  • Reputation: 325
  • Linux Lite Member
    • View Profile

  • 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 #3 on: November 12, 2014, 04:45:14 AM »
 

Jerry

  • Linux Lite Creator
  • Administrator
  • Platinum Level Poster
  • *****
  • 8775
    Posts
  • Reputation: 801
  • Linux Lite Member
    • View Profile
    • Linux Lite OS

  • CPU: Intel Core i9-10850K CPU @ 3.60GHz

  • MEMORY: 32Gb

  • VIDEO CARD: nVidia GeForce GTX 1650

  • Kernel: 5.x
Thanks bobw, will look into this.
 

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

Wirezfree

  • PayPal Supporter
  • Platinum Level Poster
  • *****
  • 1484
    Posts
  • Reputation: 405
  • Linux Lite "Advocate"
    • View Profile

  • 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)
 

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

bobw

  • Occasional Poster
  • **
  • 85
    Posts
  • Reputation: 19
  • Linux Lite Member
    • View Profile
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) »
 

 

-->
X Close Ad

Linux Lite 6.6 FINAL Released - Support for 22 Languages Added - See Release Announcement Section