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



Restoring a single file

Author (Read 5181 times)

0 Members and 1 Guest are viewing this topic.

Re: Restoring a single file
« Reply #12 on: November 23, 2015, 07:42:30 PM »
 

avj

  • Gold Level Poster
  • *******
  • 530
    Posts
  • Reputation: 110
  • Linux Lite Member
    • View Profile

  • CPU: Dual core Intel Pentium D 2.80GHz

  • MEMORY: 2Gb

  • VIDEO CARD: AMD/ATI RC410 Radeon Xpress 200/1100
Sorry about that, according to the man page for deja dup the correct options for restoring a missing file are
Code: [Select]
deja-dup --restore-missing
“I have not failed. I’ve just found 10,000 ways that won’t work.” - Thomas Edison
 

Re: Restoring a single file
« Reply #11 on: November 23, 2015, 06:47:00 PM »
 

torreydale

  • PayPal Supporter
  • Platinum Level Poster
  • *****
  • 1588
    Posts
  • Reputation: 261
  • * Forum Moderator *
    • View Profile

  • CPU: Intel i5-3230M (4) @ 3.200GHz

  • MEMORY: 16Gb

  • VIDEO CARD: Intel 3rd Gen Core processor Graphics

  • Kernel: 5.x
To avj,

Your last posts gets closer to the goal, but it appears it wants to restore the previous version of a file or directory that already shows in one's file manager (aka Thunar).  If a file or directory has been deleted but you know you've backed it up before, the link to the other forum post doesn't seem to cover that.
Want to thank me?  Click my [Thank] link.
 

Re: Restoring a single file
« Reply #10 on: November 23, 2015, 01:09:47 PM »
 

avj

  • Gold Level Poster
  • *******
  • 530
    Posts
  • Reputation: 110
  • Linux Lite Member
    • View Profile

  • CPU: Dual core Intel Pentium D 2.80GHz

  • MEMORY: 2Gb

  • VIDEO CARD: AMD/ATI RC410 Radeon Xpress 200/1100
Even with a good rep rating it is still easy to be mistaken from time to time. I am still fairly new to Linux myself and make many mistakes. 
“I have not failed. I’ve just found 10,000 ways that won’t work.” - Thomas Edison
 

Re: Restoring a single file
« Reply #9 on: November 23, 2015, 01:02:36 PM »
 

Duckeenie

  • Occasional Poster
  • **
  • 93
    Posts
  • Reputation: 11
  • Linux Lite Member
    • View Profile

  • CPU: Intel i3-4130

  • MEMORY: 6Gb

  • VIDEO CARD: Nvidia 740
@Duckeenie No need to hide, everyone makes mistakes, I assumed something that turned out not to be so.

Hopefully my other post will help get it sorted.  :)

One look at your post/rep ratio assures you speak the truth Sir.
Don't believe half of what you see and none of what you hear

- Lou Reed
 

Re: Restoring a single file
« Reply #8 on: November 23, 2015, 12:54:14 PM »
 

avj

  • Gold Level Poster
  • *******
  • 530
    Posts
  • Reputation: 110
  • Linux Lite Member
    • View Profile

  • CPU: Dual core Intel Pentium D 2.80GHz

  • MEMORY: 2Gb

  • VIDEO CARD: AMD/ATI RC410 Radeon Xpress 200/1100
@Duckeenie No need to hide, everyone makes mistakes, I assumed something that turned out not to be so.

Hopefully my other post will help get it sorted.  :)
“I have not failed. I’ve just found 10,000 ways that won’t work.” - Thomas Edison
 

Re: Restoring a single file
« Reply #7 on: November 23, 2015, 12:44:28 PM »
 

Duckeenie

  • Occasional Poster
  • **
  • 93
    Posts
  • Reputation: 11
  • Linux Lite Member
    • View Profile

  • CPU: Intel i3-4130

  • MEMORY: 6Gb

  • VIDEO CARD: Nvidia 740
Well, I assumed it meant to do this from within deja dup not the file manager...

I haven't used deja dup in a while, so didn't know for sure. :)

Ah that would make sense. I'll just go hide over there. :)
Don't believe half of what you see and none of what you hear

- Lou Reed
 

Re: Restoring a single file
« Reply #6 on: November 23, 2015, 12:35:52 PM »
 

avj

  • Gold Level Poster
  • *******
  • 530
    Posts
  • Reputation: 110
  • Linux Lite Member
    • View Profile

  • CPU: Dual core Intel Pentium D 2.80GHz

  • MEMORY: 2Gb

  • VIDEO CARD: AMD/ATI RC410 Radeon Xpress 200/1100
Evidently the custom action for the file manager is not set up by default in LL 2.6.

To set up the action look at the following link.

https://www.linuxliteos.com/forums/tutorials/deja-dup-how-to-restore-files-folders-in-thunar/msg6929/#msg6929
« Last Edit: November 23, 2015, 07:38:21 PM by avj »
“I have not failed. I’ve just found 10,000 ways that won’t work.” - Thomas Edison
 

Re: Restoring a single file
« Reply #5 on: November 23, 2015, 12:14:58 PM »
 

torreydale

  • PayPal Supporter
  • Platinum Level Poster
  • *****
  • 1588
    Posts
  • Reputation: 261
  • * Forum Moderator *
    • View Profile

  • CPU: Intel i5-3230M (4) @ 3.200GHz

  • MEMORY: 16Gb

  • VIDEO CARD: Intel 3rd Gen Core processor Graphics

  • Kernel: 5.x
To avj,

Using Deja Dup's GUI, I don't see where it allows me to do the first two steps listed in your link.  It just starts restoring all files in the backup.  At least that's the way it appeared.  I halted the restore as quickly as I could.  I didn't want to replace a newer file with something older.

I've seen where similar steps are recommended for Ubuntu users using Nautilus.  So I tried the same steps using the Thunar file manager, but the second step "Click File ▸ Restore Missing Files…." isn't possible.  The Restore Missing Files option isn't available.
Want to thank me?  Click my [Thank] link.
 

Re: Restoring a single file
« Reply #4 on: November 23, 2015, 11:54:43 AM »
 

avj

  • Gold Level Poster
  • *******
  • 530
    Posts
  • Reputation: 110
  • Linux Lite Member
    • View Profile

  • CPU: Dual core Intel Pentium D 2.80GHz

  • MEMORY: 2Gb

  • VIDEO CARD: AMD/ATI RC410 Radeon Xpress 200/1100
Well, I assumed it meant to do this from within deja dup not the file manager...

I haven't used deja dup in a while, so didn't know for sure. :)
“I have not failed. I’ve just found 10,000 ways that won’t work.” - Thomas Edison
 

Re: Restoring a single file
« Reply #3 on: November 23, 2015, 06:41:10 AM »
 

Duckeenie

  • Occasional Poster
  • **
  • 93
    Posts
  • Reputation: 11
  • Linux Lite Member
    • View Profile

  • CPU: Intel i3-4130

  • MEMORY: 6Gb

  • VIDEO CARD: Nvidia 740
@avj No reflection on you but what a crazy guide:

1.Browse to the folder containing the file you lost. - IT'S NOT THERE I LOST IT, REMEMBER!? GRRRR. :D


Anyway I was curious about this too and found the following on my travels:

Terminal:
Code: [Select]
deja-dup --restore //original path/filename.ext
EG deja-dup --restore //home/duckeenie/Documents/pc.txt

I tested it and it does indeed work.
« Last Edit: November 23, 2015, 10:20:58 AM by Duckeenie »
Don't believe half of what you see and none of what you hear

- Lou Reed
 

Re: Restoring a single file
« Reply #2 on: November 23, 2015, 12:55:27 AM »
 

avj

  • Gold Level Poster
  • *******
  • 530
    Posts
  • Reputation: 110
  • Linux Lite Member
    • View Profile

  • CPU: Dual core Intel Pentium D 2.80GHz

  • MEMORY: 2Gb

  • VIDEO CARD: AMD/ATI RC410 Radeon Xpress 200/1100
“I have not failed. I’ve just found 10,000 ways that won’t work.” - Thomas Edison
 

Restoring a single file
« Reply #1 on: November 22, 2015, 07:29:34 PM »
 

torreydale

  • PayPal Supporter
  • Platinum Level Poster
  • *****
  • 1588
    Posts
  • Reputation: 261
  • * Forum Moderator *
    • View Profile

  • CPU: Intel i5-3230M (4) @ 3.200GHz

  • MEMORY: 16Gb

  • VIDEO CARD: Intel 3rd Gen Core processor Graphics

  • Kernel: 5.x
How does one restore a single file or directory in Linux Lite?  I was going through the restore process using the Backups utility (aka Deja Dup), and it appeared it was going to restore everything I backed up, when I only need to retrieve one file.
« Last Edit: November 22, 2015, 07:39:44 PM by torreydale »
Want to thank me?  Click my [Thank] link.
 

 

-->
X Close Ad

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