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

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

[rdiff-backup-users] bad symbols in filenames


From: Aurimas Mikalauskas
Subject: [rdiff-backup-users] bad symbols in filenames
Date: Thu, 5 Aug 2004 14:46:45 +0300

Hello,

I'm having troubles backuping our mail server maildirs and the web
server virtuals root. The problem with the mail server is that some of
the files have a symbol '=' in a filename. The error looks like this:

Previous backup seems to have failed, regressing destination now.
Traceback (most recent call last):
  File "/usr/local/bin/rdiff-backup", line 23, in ?
    rdiff_backup.Main.Main(sys.argv[1:])
  File "/usr/local/lib/python2.3/site-packages/rdiff_backup/Main.py", line 254, 
in Main
    take_action(rps)
  File "/usr/local/lib/python2.3/site-packages/rdiff_backup/Main.py", line 226, 
in take_action
    elif action == "backup": Backup(rps[0], rps[1])
  File "/usr/local/lib/python2.3/site-packages/rdiff_backup/Main.py", line 268, 
in Backup
    backup.Mirror_and_increment(rpin, rpout, incdir)
  File "/usr/local/lib/python2.3/site-packages/rdiff_backup/backup.py", line 
47, in
Mirror_and_increment
    DestS.patch_and_increment(dest_rpath, source_diffiter, inc_rpath)
  File "/usr/local/lib/python2.3/site-packages/rdiff_backup/backup.py", line 
221, in
patch_and_increment
    ITR(diff.index, diff)
  File "/usr/local/lib/python2.3/site-packages/rdiff_backup/rorpiter.py", line 
279, in
__call__
    last_branch.fast_process(*args)
  File "/usr/local/lib/python2.3/site-packages/rdiff_backup/backup.py", line 
599, in
fast_process
    rp.delete()
  File "/usr/local/lib/python2.3/site-packages/rdiff_backup/rpath.py", line 
730, in delete
    else: self.conn.os.unlink(self.path)
OSError: [Errno 22] Invalid argument:
'/backups/var.mail/72s.lt/zilvinas/.Trash/cur/1091006025.M840198P19980V00020D06I0006CEA8_0.mx.inerdata.lt,S=2442:2,'
Exception exceptions.TypeError: "'NoneType' object is not callable" in <bound 
method
GzipFile.__del__ of <gzip open file
'/backups/var.mail/rdiff-backup-data/file_statistics.2004-08-05T04:00:01+03:00.data.gz',
 mode
'wb' at 0x82470a0 0x831714c>> ignored
Exception exceptions.TypeError: "'NoneType' object is not callable" in <bound 
method
GzipFile.__del__ of <gzip open file
'/backups/var.mail/rdiff-backup-data/error_log.2004-08-05T04:00:01+03:00.data.gz',
 mode 'wb'
at 0x8302820 0x8317d2c>> ignored
Exception exceptions.TypeError: "'NoneType' object is not callable" in <bound 
method
GzipFile.__del__ of <gzip open file
'/backups/var.mail/rdiff-backup-data/mirror_metadata.2004-08-05T04:00:01+03:00.snapshot.gz',
mode 'wb' at 0x81dd2a0 0x831716c>> ignored

Source files ar on a local file system and the /backups/ dir is a nfs
mount.

The problem with web server is somehow more interesting. Here's the
traceback:

Traceback (most recent call last):
  File "/usr/local/bin/rdiff-backup", line 23, in ?
    rdiff_backup.Main.Main(sys.argv[1:])
  File "/usr/local/lib/python2.3/site-packages/rdiff_backup/Main.py", line 254, 
in Main
    take_action(rps)
  File "/usr/local/lib/python2.3/site-packages/rdiff_backup/Main.py", line 226, 
in take_action
    elif action == "backup": Backup(rps[0], rps[1])
  File "/usr/local/lib/python2.3/site-packages/rdiff_backup/Main.py", line 268, 
in Backup
    backup.Mirror_and_increment(rpin, rpout, incdir)
  File "/usr/local/lib/python2.3/site-packages/rdiff_backup/backup.py", line 
47, in
Mirror_and_increment
    DestS.patch_and_increment(dest_rpath, source_diffiter, inc_rpath)
  File "/usr/local/lib/python2.3/site-packages/rdiff_backup/backup.py", line 
221, in
patch_and_increment
    ITR(diff.index, diff)
  File "/usr/local/lib/python2.3/site-packages/rdiff_backup/rorpiter.py", line 
275, in
__call__
    if self.finish_branches(index) is None:
  File "/usr/local/lib/python2.3/site-packages/rdiff_backup/rorpiter.py", line 
227, in
finish_branches
    to_be_finished.end_process()
  File "/usr/local/lib/python2.3/site-packages/rdiff_backup/backup.py", line 
552, in
end_process
    self.base_rp.rmdir()
  File "/usr/local/lib/python2.3/site-packages/rdiff_backup/rpath.py", line 
658, in rmdir
    self.conn.os.rmdir(self.path)
OSError: [Errno 66] Directory not empty:
'/backups/var.www/comliet.lt/data/com/smarty/cache/contacts%2Fcontact.tpl/188df5ffb61c695512da78f52352c3af/%%-17/%%-1765861142'
Exception exceptions.TypeError: "'NoneType' object is not callable" in <bound 
method
GzipFile.__del__ of <gzip open file
'/backups/var.www/rdiff-backup-data/file_statistics.2004-08-05T03:00:01+03:00.data.gz',
 mode
'wb' at 0x81f1860 0x832b0cc>> ignored
Exception exceptions.TypeError: "'NoneType' object is not callable" in <bound 
method
GzipFile.__del__ of <gzip open file
'/backups/var.www/rdiff-backup-data/error_log.2004-08-05T03:00:01+03:00.data.gz',
 mode 'wb' at
0x81f12a0 0x832a3cc>> ignored
Exception exceptions.TypeError: "'NoneType' object is not callable" in <bound 
method
GzipFile.__del__ of <gzip open file
'/backups/var.www/rdiff-backup-data/mirror_metadata.2004-08-05T03:00:01+03:00.snapshot.gz',
mode 'wb' at 0x81f18e0 0x832b1ac>> ignored

I have no idea how to start resolving these problems. Hope you could
help. Version info (all from freebsd-4.10 ports):

rdiff-backup-0.12.7
python-2.3.4_1
librsync-0.9.6_1
expat-1.95.7
gettext-0.12.1
libiconv-1.8_2
popt-1.6.4_1

Thanks in advance!

Aurimas.





reply via email to

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