Does Deja Dup do anything to files that already exist when restoring?

Asked by Duncan de Wet

Suppose I have these files in a Déjà Dup backup:

 * file_a
 * file_b (version 1)
 * file_c (version 1)

...and these files in the folder the backup came from:

 * file_b (version 2)
 * file_c (version 2)
 * file_d

...and I restore to "Original Location", will Déjà Dup give me:

 * file_a
 * file_b (v2)
 * file_c (v2)
 * file_d

...(what I want) or something else? I need to clarify this before I do anything drastic.

Question information

Language:
English Edit question
Status:
Solved
For:
Déjà Dup Edit question
Assignee:
No assignee Edit question
Solved by:
Michael Terry
Solved:
Last query:
Last reply:

This question was reopened

Revision history for this message
Michael Terry (mterry) said :
#1

It should give you:
 * file_a
 * file_b (version 1)
 * file_c (version 1)
 * file_d

Revision history for this message
Duncan de Wet (duncandewet) said :
#2

OK, I guess I can restore my backup to an external hard drive, and find some way to compare the restored folder with my home folder as it is now.

Although if you can suggest a duplicity command or something to get what I wanted that would really help.

Thanks,
Duncan

Revision history for this message
Duncan de Wet (duncandewet) said :
#3

Thanks Michael Terry, that solved my question.

Revision history for this message
Michael Terry (mterry) said :
#4

I don't think there is one, sorry. At least not one I know.

It's a bit of a tricky problem really, to know which files are "newer" instead of "older"? mtime is your best bet, but that's a bit fiddly when you're talking about a restore scenario (files might have been copied into place on a fresh disk or whatever).

How'd you get into this situation? Do you only what certain of your files back? You can restore only certain files by right clicking in nautilus.

Revision history for this message
Duncan de Wet (duncandewet) said :
#5

I deleted some files in ~ with a mistyped rm command, and I don't know which ones. I have a Deja Dup backup, however it is not too recent. So I want Deja Dup to restore only the files that don't still exist now.

Revision history for this message
Michael Terry (mterry) said :
#6

Ah, if you're only interested in missing files, try this:

https://live.gnome.org/DejaDup/Help/Restore/LostFile

Revision history for this message
Duncan de Wet (duncandewet) said :
#7

I tried that, it doesn't seem to search recursively.

Revision history for this message
Duncan de Wet (duncandewet) said :
#8

8 days later: I still haven't got my files back... any way possible would be great. I just want to restore missing files, and I want to search recursively through my entire home directory for them.

Revision history for this message
Best Michael Terry (mterry) said :
#9

Oh sorry, missed your reply to my "missing files" suggestion. It doesn't search recursively, no.

I guess the easiest thing would just to be restore the whole thing in a fresh directory and compare with what you have in your home now.

Revision history for this message
Duncan de Wet (duncandewet) said :
#10

Ok, I'll try that.

Thanks

Revision history for this message
Duncan de Wet (duncandewet) said :
#11

Thanks Michael Terry, that solved my question.