[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[rdiff-backup-users] Failed regression: missing snapshot
From: |
Dan McGuirk |
Subject: |
[rdiff-backup-users] Failed regression: missing snapshot |
Date: |
Thu, 10 Jul 2008 16:16:38 -0700 |
Hi,
I'm using rdiff-backup 1.1.15 on Ubuntu. Yesterday I unmounted my
backup drive uncleanly (although not during a backup). Today
rdiff-backup wants to regress to the previous backup, but it's failing
as follows:
Previous backup seems to have failed, regressing destination now.
Regressing to Tue Jul 8 12:08:06 2008
Exception '[Errno 2] No such file or directory:
'/media/backup/inspiron-linux/rdiff-backup-data/mirror_metadata.2008-07-08T12:08:06-07:00.snapshot.gz''
raised of class '<type 'exceptions.OSError'>':
There is a mirror_metadata for 2008-07-08, but it's a .diff.gz and not
a .snapshot.gz. The one for 2008-07-09 (that it considers to have
failed) is .snapshot.gz.
Is there a way to fix this? Also, is rdiff-backup usually this
fragile--such that a single unclean mount can leave me completely
stuck?
Thanks for any help.
By the way, here is the rest of the stack trace, if needed:
Previous backup seems to have failed, regressing destination now.
Regressing to Tue Jul 8 12:08:06 2008
Exception '[Errno 2] No such file or directory:
'/media/backup/inspiron-linux/rdiff-backup-data/mirror_metadata.2008-07-08T12:08:06-07:00.snapshot.gz''
raised of class '<type 'exceptions.OSError'>':
File "/var/lib/python-support/python2.5/rdiff_backup/Main.py", line
302, in error_check_Main
try: Main(arglist)
File "/var/lib/python-support/python2.5/rdiff_backup/Main.py", line
322, in Main
take_action(rps)
File "/var/lib/python-support/python2.5/rdiff_backup/Main.py", line
278, in take_action
elif action == "backup": Backup(rps[0], rps[1])
File "/var/lib/python-support/python2.5/rdiff_backup/Main.py", line
335, in Backup
backup_final_init(rpout)
File "/var/lib/python-support/python2.5/rdiff_backup/Main.py", line
435, in backup_final_init
checkdest_if_necessary(rpout)
File "/var/lib/python-support/python2.5/rdiff_backup/Main.py", line
829, in checkdest_if_necessary
dest_rp.conn.regress.Regress(dest_rp)
File "/var/lib/python-support/python2.5/rdiff_backup/regress.py",
line 69, in Regress
regress_rbdir(manager)
File "/var/lib/python-support/python2.5/rdiff_backup/regress.py",
line 124, in regress_rbdir
if has_meta_diff and not has_meta_snap: recreate_meta(meta_manager)
File "/var/lib/python-support/python2.5/rdiff_backup/regress.py",
line 153, in recreate_meta
rpath.rename(temprp, finalrp)
File "/var/lib/python-support/python2.5/rdiff_backup/rpath.py", line
245, in rename
if not rp_source.lstat(): rp_dest.delete()
File "/var/lib/python-support/python2.5/rdiff_backup/rpath.py", line
979, in delete
else: self.conn.os.unlink(self.path)
Traceback (most recent call last):
File "/usr/bin/rdiff-backup", line 23, in <module>
rdiff_backup.Main.error_check_Main(sys.argv[1:])
File "/var/lib/python-support/python2.5/rdiff_backup/Main.py", line
302, in error_check_Main
try: Main(arglist)
File "/var/lib/python-support/python2.5/rdiff_backup/Main.py", line
322, in Main
take_action(rps)
File "/var/lib/python-support/python2.5/rdiff_backup/Main.py", line
278, in take_action
elif action == "backup": Backup(rps[0], rps[1])
File "/var/lib/python-support/python2.5/rdiff_backup/Main.py", line
335, in Backup
backup_final_init(rpout)
File "/var/lib/python-support/python2.5/rdiff_backup/Main.py", line
435, in backup_final_init
checkdest_if_necessary(rpout)
File "/var/lib/python-support/python2.5/rdiff_backup/Main.py", line
829, in checkdest_if_necessary
dest_rp.conn.regress.Regress(dest_rp)
File "/var/lib/python-support/python2.5/rdiff_backup/regress.py",
line 69, in Regress
regress_rbdir(manager)
File "/var/lib/python-support/python2.5/rdiff_backup/regress.py",
line 124, in regress_rbdir
if has_meta_diff and not has_meta_snap: recreate_meta(meta_manager)
File "/var/lib/python-support/python2.5/rdiff_backup/regress.py",
line 153, in recreate_meta
rpath.rename(temprp, finalrp)
File "/var/lib/python-support/python2.5/rdiff_backup/rpath.py", line
245, in rename
if not rp_source.lstat(): rp_dest.delete()
File "/var/lib/python-support/python2.5/rdiff_backup/rpath.py", line
979, in delete
else: self.conn.os.unlink(self.path)
OSError: [Errno 2] No such file or directory:
'/media/backup/inspiron-linux/rdiff-backup-data/mirror_metadata.2008-07-08T12:08:06-07:00.snapshot.gz'
- [rdiff-backup-users] Failed regression: missing snapshot,
Dan McGuirk <=