rdiff-backup-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[rdiff-backup-users] rdiff-backup -r problem


From: Bob Mead
Subject: [rdiff-backup-users] rdiff-backup -r problem
Date: Thu, 18 Dec 2008 15:16:11 -0800
User-agent: Thunderbird 2.0.0.18 (X11/20081125)

Hello all:

Here's the problem.  rdiff-backup seems to recognize there are
multiple increments available.

root@<hostname>:/home/restore/username/email3# rdiff-backup --list-
increments /home/backups/server/home/username/email
Found 100 increments:
    email.2008-05-29T08:10:11-07:00.dir   Thu May 29 08:10:11 2008
    email.2008-05-29T20:00:01-07:00.dir   Thu May 29 20:00:01 2008
    email.2008-05-30T20:00:01-07:00.dir   Fri May 30 20:00:01 2008
    email.2008-06-02T20:00:01-07:00.dir   Mon Jun  2 20:00:01 2008
..
..
..
..
    email.2008-12-08T17:00:02-08:00.dir   Mon Dec  8 17:00:02 2008
    email.2008-12-09T17:00:03-08:00.dir   Tue Dec  9 17:00:03 2008
    email.2008-12-10T17:00:03-08:00.dir   Wed Dec 10 17:00:03 2008
    email.2008-12-11T17:00:02-08:00.dir   Thu Dec 11 17:00:02 2008
    email.2008-12-15T20:00:02-08:00.dir   Mon Dec 15 20:00:02 2008
Current mirror: Wed Dec 17 20:00:02 2008

yet when I try any of the various flavors of a restore command it
responds with something like this:

root@<hostname>:/home/backups/server/rdiff-backup-data/increments/home/
username/email# rdiff-backup /home/backups/server/rdiff-backup-data/
increments/home/username/email.2008-12-08T17:00:02-08:00.dir /home/
restore/username/email/

Warning, metadata file not found.
Metadata will be read from filesystem.
Warning: Mirror metadata not found, reading from directory
Traceback (most recent call last):
  File "/usr/bin/rdiff-backup", line 23, in ?
    rdiff_backup.Main.Main(sys.argv[1:])
  File "/usr/lib/python2.4/site-packages/rdiff_backup/Main.py", line
285, in Main
    take_action(rps)
  File "/usr/lib/python2.4/site-packages/rdiff_backup/Main.py", line
264, in take_action
    elif action == "restore": Restore(*rps)
  File "/usr/lib/python2.4/site-packages/rdiff_backup/Main.py", line
505, in Restore
    inc_rpath, dest_rp, time)
  File "/usr/lib/python2.4/site-packages/rdiff_backup/restore.py",
line 45, in Restore
    TargetS.patch(target, diff_iter)
  File "/usr/lib/python2.4/site-packages/rdiff_backup/restore.py",
line 317, in patch
    ITR(diff.index, diff)
  File "/usr/lib/python2.4/site-packages/rdiff_backup/rorpiter.py",
line 285, in __call__
    last_branch.fast_process(*args)
  File "/usr/lib/python2.4/site-packages/rdiff_backup/restore.py",
line 634, in fast_process
    rpath.rename(tf, rp)
  File "/usr/lib/python2.4/site-packages/rdiff_backup/rpath.py",
line 220, in rename
    if not rp_source.lstat(): rp_dest.delete()
  File "/usr/lib/python2.4/site-packages/rdiff_backup/rpath.py",
line 879, in delete
    else: self.conn.os.unlink(self.path)
OSError: [Errno 2] No such file or directory: '/home/restore/username/
email3/04-05 Mailboxes.fol'
________________________________________________________________________
___________

here are other methods I've tried:
rdiff-backup --force -r 3D /home/backups/server/home/username/email /
home/restore/username/email
same results

rdiff-backup -r 5B /home/backups/server/home/username/email /home/
restore/username/email
same results

system always returns with metadata file not found and the rest of
the python errors.

Yes, we are running older versions of rdiff (~1.0.4 or so). Upgrade is not on the soon-to-get-to-do list.

Thanks in advance for any help,
        ~bob

Attachment: bmead.vcf
Description: Vcard


reply via email to

[Prev in Thread] Current Thread [Next in Thread]