[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[rdiff-backup-users] problem with restore
From: |
Maarten Bezemer |
Subject: |
[rdiff-backup-users] problem with restore |
Date: |
Wed, 2 Feb 2005 10:53:57 +0100 (CET) |
Hi,
After some user decided to delete her entire (samba) homedir, I'm trying
to restore it from backup. My biggest problem seems to be that after this
accidental deletion, rdiff-backup had run and removed all her files from
the 'normal' tree. That shouldn't be that bad, as there should be
increments.
However, when I try to restore the previous state (with rdiff-backup -r 1D
rdiffbckp/user /tmp/user.old), execution stops after a while with an
assertion error.
Traceback (most recent call last):
File "/usr/bin/rdiff-backup", line 23, in ?
rdiff_backup.Main.Main(sys.argv[1:])
File
"/home/tretkowski/rdiff-backup/rdiff-backup-0.13.4/debian/rdiff-backup/usr/lib/python2.2/site-packages/rdiff_backup/Main.py",
line 259, in Main
File
"/home/tretkowski/rdiff-backup/rdiff-backup-0.13.4/debian/rdiff-backup/usr/lib/python2.2/site-packages/rdiff_backup/Main.py",
line 239, in take_action
File
"/home/tretkowski/rdiff-backup/rdiff-backup-0.13.4/debian/rdiff-backup/usr/lib/python2.2/site-packages/rdiff_backup/Main.py",
line 465, in Restore
File
"/home/tretkowski/rdiff-backup/rdiff-backup-0.13.4/debian/rdiff-backup/usr/lib/python2.2/site-packages/rdiff_backup/restore.py",
line 45, in Restore
File
"/home/tretkowski/rdiff-backup/rdiff-backup-0.13.4/debian/rdiff-backup/usr/lib/python2.2/site-packages/rdiff_backup/restore.py",
line 307, in patch
File
"/home/tretkowski/rdiff-backup/rdiff-backup-0.13.4/debian/rdiff-backup/usr/lib/python2.2/site-packages/rdiff_backup/rorpiter.py",
line 181, in FillInIter
File
"/home/tretkowski/rdiff-backup/rdiff-backup-0.13.4/debian/rdiff-backup/usr/lib/python2.2/site-packages/rdiff_backup/restore.py",
line 264, in get_diffs_from_collated
File
"/home/tretkowski/rdiff-backup/rdiff-backup-0.13.4/debian/rdiff-backup/usr/lib/python2.2/site-packages/rdiff_backup/restore.py",
line 277, in get_diff
File
"/home/tretkowski/rdiff-backup/rdiff-backup-0.13.4/debian/rdiff-backup/usr/lib/python2.2/site-packages/rdiff_backup/restore.py",
line 363, in get_fp
File
"/home/tretkowski/rdiff-backup/rdiff-backup-0.13.4/debian/rdiff-backup/usr/lib/python2.2/site-packages/rdiff_backup/restore.py",
line 348, in get_rf
File
"/home/tretkowski/rdiff-backup/rdiff-backup-0.13.4/debian/rdiff-backup/usr/lib/python2.2/site-packages/rdiff_backup/restore.py",
line 382, in add_rfs
File
"/home/tretkowski/rdiff-backup/rdiff-backup-0.13.4/debian/rdiff-backup/usr/lib/python2.2/site-packages/rdiff_backup/restore.py",
line 698, in __call__
AssertionError: (('stag2', 'samba', 'PMAIL'), ('stag2', 'samba', 'PMAIL',
'MAIL', 'WINPMFUP.PM'))
If I remove every information about that file from the rdiff tree, it
complains about the file handled before this one (which had been restored
OK), so my guess is that there's something weird with the next file.
Also note that this file is the last file in that directory, so the
problem might be the creation of the next subdirectory??
I'm using rdiff-backup 0.13.4 from the backports.org tree, on a Woody
system.
I don't need the perfect solution right now.. the only thing needed are
the user's files. Any suggestions?
--
Maarten Bezemer
- [rdiff-backup-users] problem with restore,
Maarten Bezemer <=