Friday, May 3, 2024
 Popular · Latest · Hot · Upcoming
74
rated 0 times [  74] [ 0]  / answers: 1 / hits: 40526  / 1 Year ago, mon, december 12, 2022, 4:37:55

I use the default backup utility of ubuntu (deja-dup) in the settings panel. Today I delete by error one directory. I tried to restore it but I did not succeed. Must I restore all my backup if I only need one single directory or file ?



Thanks.


More From » deja-dup

 Answers
2

Of course you can do that. From the gnome DejaDup Help wiki (oh and where it says file you can also read directory)



Restore a Lost File with Déjà Dup (wiki link)




  • Open the file browser (Nautilus)

  • Browse to the real folder containing the file you lost (not via any symlink)

  • Right click in the folder, between files ▸ Restore Missing Files… (this might not be available if you view your files as a list, choose grid of icons on the top of nautilus window)

  • When the Restore dialog appears, it will scan for files that are in the backup but no longer in the folder

  • When you see the file you want to restore appear, select it and click Forward

  • Review your selections and click Restore



Restore a Previous Version of a File with Déjà Dup (wiki link)




  • Open the file browser (Nautilus)

  • Go to the real folder containing the file you want to revert (not via any symlink)

  • Right click on the file you want to revert

  • Choose Revert to Previous Version…

  • Up comes the Déjà Dup dialog. Choose the date from which to restore.
    Click Forward

  • Review your selections and click Restore. Note: this will overwrite
    your current version of the file

  • Done!



Note that for Ubuntu you'll need the ubuntuone-client package installed in order for the menu entries to appear in Nautilus, even if you're not using Ubuntu One.

Also note that Mate's version of Nautilus, Caja, does not support restoring files.



Pro Tips




  • You can select multiple files at once before right clicking.

  • You can revert files on the command line:



    deja-dup --restore FILE1 FILE2


[#35901] Wednesday, December 14, 2022, 1 Year  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
atelti

Total Points: 194
Total Questions: 129
Total Answers: 110

Location: North Korea
Member since Tue, Jun 16, 2020
4 Years ago
;