[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[rdiff-backup-users] always the same error on the same directory tree
From: |
Philippe Froidevaux |
Subject: |
[rdiff-backup-users] always the same error on the same directory tree |
Date: |
Tue, 10 Feb 2004 11:44:46 +0100 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20040116 |
Hi,
here is an error message I get when backuping with rdiff-backup :
address@hidden # rdiff-backup --check-destination-dir diuflx03_lv02
Warning, metadata file has entry for
staff/anrig/work/biel/2003-4/AI/AI-Vorlesung/rolf/KI Vorlesung/SS02 -
Einfuhrung in die Kunstl,
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 tried to remove the metadata for this file manually, but there is
thousand other metadata without associated file (??). I have
rdiff-backup 0.12.6, python 2.3.2, on Redhat 7.3 (source) and Fedora
Core #1 (target). I had the same problem when both sides where on redhat7.3.
I really don't understand why I get a lot of metadata about inexistant
files. Google told me that Ben already seen this problem :
On Wed, 3 Sep 2003 09:43:43 +0200
Well, check out /mnt/backups_mp/system/bin. Does it contain 'csh'? If
not, then for some reason the initial backup just skipped this file (a
more serious problem than the incremental backup failing). BTW, what
kind of filesystem is /mnt/backup_mp/system?
But, i't not a NFS mounted partition, I start the backup with
"rdiff-backup source::/ /my/backup/dir".
Maybe it's a memory problem ? The datas take 121 Gb (with 1.6M of
inodes, if it means something).
How can I try to find and solve this problem ? Can I install 0.13.4
which should have more patch and more debugging options on ?
The FAQ here down't help :
http://rdiff-backup.stanford.edu/FAQ.html#regress_failure. After doing
this, I get the following error messages :
No increments older than Thu May 15 19:01:50 2003 found, exiting.
No increments older than Thu May 15 19:12:21 2003 found, exiting.
Warning: Metadata file not found.
Metadata will be read from filesystem.
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
222, in take_action
elif action == "backup": Backup(rps[0], rps[1])
File "/usr/lib/python2.2/site-packages/rdiff_backup/Main.py", line
264, in Backup
backup.Mirror_and_increment(rpin, rpout, incdir)
File "/usr/lib/python2.2/site-packages/rdiff_backup/backup.py", line
47, in Mirror_and_increment
DestS.patch_and_increment(dest_rpath, source_diffiter, inc_rpath)
File "/usr/lib/python2.2/site-packages/rdiff_backup/backup.py", line
220, in patch_and_increment
ITR(diff.index, diff)
File "/usr/lib/python2.2/site-packages/rdiff_backup/rorpiter.py", line
266, in __call__
else: self.root_branch.start_process(*args)
File "/usr/lib/python2.2/site-packages/rdiff_backup/backup.py", line
610, in start_process
self.get_incrp(index))
File "/usr/lib/python2.2/site-packages/rdiff_backup/backup.py", line
575, in inc_with_checking
try: inc = increment.Increment(new, old, inc_rp)
File "/usr/lib/python2.2/site-packages/rdiff_backup/increment.py",
line 41, in Increment
elif mirror.isdir(): incrp = makedir(mirror, incpref)
File "/usr/lib/python2.2/site-packages/rdiff_backup/increment.py",
line 94, in makedir
dirsign = get_inc(incpref, "dir")
File "/usr/lib/python2.2/site-packages/rdiff_backup/increment.py",
line 114, in get_inc
assert not incrp.lstat()
AssertionError
Exception exceptions.TypeError: "'NoneType' object is not callable" in
<bound method GzipFile.__del__ of <gzip open file
'/export/backup/diuflx03_lv02/rdiff-backup-data/file_statistics.2004-02-09T18:12:22+01:00.data.gz',
mode 'wb' at 0x98ea118 0x99302dc>> ignored
Exception exceptions.TypeError: "'NoneType' object is not callable" in
<bound method GzipFile.__del__ of <gzip open file
'/export/backup/diuflx03_lv02/rdiff-backup-data/mirror_metadata.2004-02-09T18:12:22+01:00.snapshot.gz',
mode 'wb' at 0x992f230 0x98e7fdc>> ignored
Exception exceptions.TypeError: "'NoneType' object is not callable" in
<bound method GzipFile.__del__ of <gzip open file
'/export/backup/diuflx03_lv02/rdiff-backup-data/error_log.2004-02-09T18:12:22+01:00.data.gz',
mode 'wb' at 0x98eb870 0x98eb294>> ignored
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
220, in take_action
connection.PipeConnection(sys.stdin, sys.stdout).Server()
File "/usr/lib/python2.2/site-packages/rdiff_backup/connection.py",
line 347, in Server
self.get_response(-1)
File "/usr/lib/python2.2/site-packages/rdiff_backup/connection.py",
line 309, in get_response
try: req_num, object = self._get()
File "/usr/lib/python2.2/site-packages/rdiff_backup/connection.py",
line 225, in _get
raise ConnectionReadError("Truncated header string (problem "
rdiff_backup.connection.ConnectionReadError: Truncated header string
(problem probably originated remotely)
No increments older than Thu May 15 20:09:35 2003 found, exiting.
No increments older than Thu May 15 21:11:51 2003 found, exiting.
Reading the mailing-list it seems I'm the only one who encounter this
kind of problem. Does anybody here backup a 300 Gb partition with
rdiff-backup ?
Philippe.
- [rdiff-backup-users] always the same error on the same directory tree,
Philippe Froidevaux <=