Files don't restore even after restore says it completed

Asked by S3NATOR

So I've had 2 hard drives die within the last few months. After the first one died I was able to restore with no issue. But now I'm trying to restore again and the restore process seems to start and continue for an hour or so and finish but it never actually restores anything. I did receive one error when trying the manual/command line restore the first time. This is what I did:

s3nator@Sparta:~$ duplicity --no-encryption --gio file:///media/Backup /media/1TBDrive1/restore
Local and Remote metadata are synchronized, no sync needed.
Last full backup date: Sun Mar 27 20:48:36 2011
Error '[Errno 1] Operation not permitted: '/media/1TBDrive1/restore'' processing .
s3nator@Sparta:~$ sudo duplicity --no-encryption --gio file:///media/Backup /media/1TBDrive1/restore
[sudo] password for s3nator:
Local and Remote metadata are synchronized, no sync needed.
Last full backup date: Sun Mar 27 20:48:36 2011
s3nator@Sparta:~$

It looks like it completed after I ran it as root but there is nothing in my restore folder. It did create that restore folder though. Also I don't know why it says last full backup was Mar 27th. My last backup should be Jun 9th. Please help. I've got over 450GB's of data I'm trying to restore.

Thanks,
S3N

Question information

Language:
English Edit question
Status:
Answered
For:
Déjà Dup Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Michael Terry (mterry) said :
#1

Well, it said last *full* backup date was March 27. You may have had incremental backups up through June 9th.

One thing you can try is adding --verbosity=9 to the end of the last command. That will give you lots more info and may explain whatever problem is happening. Post the last few pages of the log here if it doesn't make sense.

Revision history for this message
S3NATOR (s3n2010) said :
#2

Thanks for the reply! I did the verbosity command and it does show all the incremental backups all the way till June 9th. But after it completes it still never restores anything. Where can I find the entire log file? Here is the last little bit that I see before it finishes:

14119
Writing /tmp/duplicity-e6EHgJ-tempdir/mktemp-U6Wfmw-14119
Deleting /tmp/duplicity-e6EHgJ-tempdir/mktemp-U6Wfmw-14119
Forgetting temporary file /tmp/duplicity-e6EHgJ-tempdir/mktemp-U6Wfmw-14119
Processed volume 14117 of 14120
Registering (mktemp) temporary file /tmp/duplicity-e6EHgJ-tempdir/mktemp-Rmshee-14120
Writing /tmp/duplicity-e6EHgJ-tempdir/mktemp-Rmshee-14120
Deleting /tmp/duplicity-e6EHgJ-tempdir/mktemp-Rmshee-14120
Forgetting temporary file /tmp/duplicity-e6EHgJ-tempdir/mktemp-Rmshee-14120
Processed volume 14118 of 14120
Registering (mktemp) temporary file /tmp/duplicity-e6EHgJ-tempdir/mktemp-nFThye-14121
Writing /tmp/duplicity-e6EHgJ-tempdir/mktemp-nFThye-14121
Deleting /tmp/duplicity-e6EHgJ-tempdir/mktemp-nFThye-14121
Forgetting temporary file /tmp/duplicity-e6EHgJ-tempdir/mktemp-nFThye-14121
Processed volume 14119 of 14120
Deleting /tmp/duplicity-e6EHgJ-tempdir/mktemp-WNcLzm-4
Forgetting temporary file /tmp/duplicity-e6EHgJ-tempdir/mktemp-WNcLzm-4
Processed volume 14120 of 14120
Removing still remembered temporary file /tmp/duplicity-e6EHgJ-tempdir/mkstemp-VbDKTN-1
s3nator@Sparta:~$

The log looked pretty much like this through the whole restore process. Please let me know if there is anything else you need from me.

Thanks,
S3N

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

I don't understand. You're saying there's no files in /media/1TBDrive1/restore after you run that command? That is bizarre.

The bit you copied from your log output indicates it's doing the actual work of restoring.

This is just crazy talk, but what if you restored to a different place? Like /tmp/restore or something.

Revision history for this message
S3NATOR (s3n2010) said :
#4

OK, so I ran it as root again and restored to /tmp/restore. It did the same thing. It acted like it was restoring but nothing ever restored. It did make the /tmp/restore folder. Just nothing got put in it. I did upgrade to Ubuntu 11.04 a few weeks ago before all this happened. Would that cause an issue? I've rebooted multiple times and this still happens. I've also ran Update Manager and made sure everything was patched and up to date. Any other suggestions? Can I take my external hard drive that my backup is on and try hooking it up to another Ubuntu box and try restoring that way?

Thanks,
S3N

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

You certainly could try restoring on a different machine. No harm trying.

What about... If the last incremental backup was run after all the files were deleted (is that likely?), it would tell duplicity to not keep the files it restored.

Two things try related to that:

sudo duplicity list-current-files --no-encryption --gio file:///media/Backup

The above command will list the files in the backup.

A second thing to try is to restore from a previous date. This is easier to do with the Deja Dup UI, so maybe try that. But if you want to just use duplicity, it's something like:

sudo duplicity --restore-time 2011-01-05 --no-encryption --gio file:///media/Backup /media/1TBDrive1/restore

The above command will try to restore to what was in the backup on January 5th, 2011.

Any luck with that?

Revision history for this message
S3NATOR (s3n2010) said :
#6

Sorry its taken me so long to respond. I installed Ubuntu on another machine to see if I could get it to work and it did the same thing. It said it completed but no files were there. When I listed current files it shows nothing. So I started try to restore each incremental backup from latest to earliest. I found the every incremental backup I've done since my first hard rive crashed wont restore anything. So my 6/9/2011 and 6/2/2011 backups wont restore anything but I was able to restore all my files from the 5/28/2011 backup. So...

I think what happened was when I did the restore after my first hard drive crashed the replacement hard drive was named differently. It changed from media/WD 500 to media/500 GB Backup. I changed the backup path from WD 500 to 500GB Backup in Deja Dup when I changed out the hard drives so I would have thought it would have just continued to backup. Is that not the case? Is there any way to check to see what files are just in the 6/9 and 6/2 backups?

Thanks for your patience and help,
S3N

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

Also sorry for the long response. Yeah, you can see what files are in certain dated backups.

duplicity list-current-files --no-encryption --restore-time 2011-06-09 --gio file:///media/Backup

That should list files in your backup on 6/9.

Can you help with this problem?

Provide an answer of your own, or ask S3NATOR for more information if necessary.

To post a message you must log in.