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

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

[rdiff-backup-users] Reverting backup fails


From: Sebastien Maret
Subject: [rdiff-backup-users] Reverting backup fails
Date: Thu, 25 Oct 2007 15:40:37 -0400
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1 (darwin)

Hello,

I am trying to revert a backup directory, because the last backup
seems to have failed. I am getting the following error:

% rdiff-backup --check-destination-dir .
Exception '[Errno 2] No such file or directory: 
'/Volumes/Gondor2/smaret/Backup/MacBook/./rdiff-backup-data/mirror_metadata.2007-10-18T13:00:22-04:00.snapshot.gz''
 raised of class '<type 'exceptions.OSError'>':
  File "/sw/lib/python2.5/site-packages/rdiff_backup/Main.py", line 302, in 
error_check_Main
    try: Main(arglist)
  File "/sw/lib/python2.5/site-packages/rdiff_backup/Main.py", line 322, in Main
    take_action(rps)
  File "/sw/lib/python2.5/site-packages/rdiff_backup/Main.py", line 280, in 
take_action
    elif action == "check-destination-dir": CheckDest(rps[0])
  File "/sw/lib/python2.5/site-packages/rdiff_backup/Main.py", line 787, in 
CheckDest
    dest_rp.conn.regress.Regress(dest_rp)
  File "/sw/lib/python2.5/site-packages/rdiff_backup/regress.py", line 69, in 
Regress
    regress_rbdir(manager)
  File "/sw/lib/python2.5/site-packages/rdiff_backup/regress.py", line 124, in 
regress_rbdir
    if has_meta_diff and not has_meta_snap: recreate_meta(meta_manager)
  File "/sw/lib/python2.5/site-packages/rdiff_backup/regress.py", line 153, in 
recreate_meta
    rpath.rename(temprp, finalrp)
  File "/sw/lib/python2.5/site-packages/rdiff_backup/rpath.py", line 235, in 
rename
    if not rp_source.lstat(): rp_dest.delete()
  File "/sw/lib/python2.5/site-packages/rdiff_backup/rpath.py", line 969, in 
delete
    else: self.conn.os.unlink(self.path)

Traceback (most recent call last):
  File "/sw/bin/rdiff-backup", line 23, in <module>
    rdiff_backup.Main.error_check_Main(sys.argv[1:])
  File "/sw/lib/python2.5/site-packages/rdiff_backup/Main.py", line 302, in 
error_check_Main
    try: Main(arglist)
  File "/sw/lib/python2.5/site-packages/rdiff_backup/Main.py", line 322, in Main
    take_action(rps)
  File "/sw/lib/python2.5/site-packages/rdiff_backup/Main.py", line 280, in 
take_action
    elif action == "check-destination-dir": CheckDest(rps[0])
  File "/sw/lib/python2.5/site-packages/rdiff_backup/Main.py", line 787, in 
CheckDest
    dest_rp.conn.regress.Regress(dest_rp)
  File "/sw/lib/python2.5/site-packages/rdiff_backup/regress.py", line 69, in 
Regress
    regress_rbdir(manager)
  File "/sw/lib/python2.5/site-packages/rdiff_backup/regress.py", line 124, in 
regress_rbdir
    if has_meta_diff and not has_meta_snap: recreate_meta(meta_manager)
  File "/sw/lib/python2.5/site-packages/rdiff_backup/regress.py", line 153, in 
recreate_meta
    rpath.rename(temprp, finalrp)
  File "/sw/lib/python2.5/site-packages/rdiff_backup/rpath.py", line 235, in 
rename
    if not rp_source.lstat(): rp_dest.delete()
  File "/sw/lib/python2.5/site-packages/rdiff_backup/rpath.py", line 969, in 
delete
    else: self.conn.os.unlink(self.path)
OSError: [Errno 2] No such file or directory: 
'/Volumes/Gondor2/smaret/Backup/MacBook/./rdiff-backup-data/mirror_metadata.2007-10-18T13:00:22-04:00.snapshot.gz'

How can I fix this? I am using rdiff-backup 1.1.14 on Mac OS 10.4.10.

S├ębastien





reply via email to

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