SearchFAQMemberlist Log in
Reply to topic Page 1 of 1
Help with my first attempt to restore
Author Message
Post Help with my first attempt to restore 
I am trying to restore a directory from a local machine to a remote
machine.

Unfortunately the first time I ran rdiff-backup restore I had swapped
the local and remote directories.

This is what I incorrectly ran first:

rdiff-backup -r now root < at > 207.36.15.175::/usr/local/summary2.3.10/
/home/backup/ns1.synergydns.net/backup/usr/local/summary2.3.10/

Now I realize that what I should have ran was:

rdiff-backup -r now
/home/backup/ns1.synergydns.net/backup/usr/local/summary2.3.10/
root < at > 207.36.15.175::/usr/local/summary2.3.10/

When I ran the incorrect version I got an error stating that the
destination directory already existed which it obviously did because
that was actually my local directory that I was trying to restore from.

When I run the correct version I get an error message:

Fatal Error: Previous backup to /home/backup/ns1.synergydns.net/backup
seems to have failed.Rerun rdiff-backup with --check-destination-dir
option to revertdirectory to state before unsuccessful session.

So I ran:

rdiff-backup --check-destination-dir
/home/backup/ns1.synergydns.net/backup/usr/local/summary2.3.10/

Which produced:

Warning, metadata file has entry for var/qmail/queue/mess/13/5325203,
but there are no associated files.
Traceback (most recent call last):
File "/usr/bin/rdiff-backup", line 24, in ?
rdiff_backup.Main.Main(sys.argv[1:])
File "/usr/lib/python2.2/site-packages/rdiff_backup/Main.py", line
250, in Main
take_action(rps)
File "/usr/lib/python2.2/site-packages/rdiff_backup/Main.py", line
232, in take_action
elif action == "check-destination-dir": CheckDest(rps[0])
File "/usr/lib/python2.2/site-packages/rdiff_backup/Main.py", line
618, in CheckDest
dest_rp.conn.regress.Regress(dest_rp)
File "/usr/lib/python2.2/site-packages/rdiff_backup/regress.py", line
70, in Regress
for rf in iterate_meta_rfs(mirror_rp, inc_rpath): ITR(rf.index, rf)
File "/usr/lib/python2.2/site-packages/rdiff_backup/rorpiter.py", line
278, in __call__
if last_branch.can_fast_process(*args):
File "/usr/lib/python2.2/site-packages/rdiff_backup/regress.py", line
226, in can_fast_process
return not rf.mirror_rp.isdir() and not rf.metadata_rorp.isdir()
AttributeError: RegressFile instance has no attribute 'metadata_rorp'

I wasn't too concerned about this because the files listed are some
e-mail files that I don't need to restore.

Then I ran the restore again as:

rdiff-backup -r now
/home/backup/ns1.synergydns.net/backup/usr/local/summary2.3.10/
root < at > 207.36.15.175::/usr/local/summary2.3.10/

But I keep getting the same error message:

Fatal Error: Previous backup to /home/backup/ns1.synergydns.net/backup
seems to have failed.Rerun rdiff-backup with --check-destination-dir
option to revertdirectory to state before unsuccessful session.

How can I fix this problem?

Chris Young

Synergy Point
Toll Free: (877) 859-6370
Local: (828) 859-2444
Fax: (877) 633-5373
Web: http://www.synergypoint.net

Display posts from previous:
Reply to topic Page 1 of 1
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
  


Magic SEO URL for phpBB