Linux Lite Forums

Full Version: Restoring a single file
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
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.
@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. Big Grin


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

Terminal:
Code:
deja-dup --restore //original path/filename.ext

EG deja-dup --restore //home/duckeenie/Documents/pc.txt

I tested it and it does indeed work.
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. Smile
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.
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/tutor...9/#msg6929
(11-23-2015, 04:54 PM)avj link Wrote: [ -> ]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. Smile

Ah that would make sense. I'll just go hide over there. Smile
@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.  Smile
(11-23-2015, 05:54 PM)avj link Wrote: [ -> ]@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.  Smile

One look at your post/rep ratio assures you speak the truth Sir.
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. 
Pages: 1 2