SearchFAQMemberlist Log in
Reply to topic Page 1 of 1
IOError: [Errno 2] No such file or directory: <snip>/M
Author Message
Post IOError: [Errno 2] No such file or directory: <snip>/M 
Hi,

when backing up one of my hosts, I get the following error log from
rdiff-backup:

Incrementing mirror file
janeway/mnt/home/home/mh/chroot/sid/home/mh/chroot/sid/dev/MAKEDEV
Traceback (most recent call last):
File "/usr/bin/rdiff-backup", line 23, in ?
rdiff_backup.Main.Main(sys.argv[1:])
File "/usr/lib/python2.3/site-packages/rdiff_backup/Main.py", line 259, in Main
take_action(rps)
File "/usr/lib/python2.3/site-packages/rdiff_backup/Main.py", line 229, in take_action
elif action == "backup": Backup(rps[0], rps[1])
File "/usr/lib/python2.3/site-packages/rdiff_backup/Main.py", line 278, in Backup
backup.Mirror_and_increment(rpin, rpout, incdir)
File "/usr/lib/python2.3/site-packages/rdiff_backup/backup.py", line 51, in Mirror_and_increment
DestS.patch_and_increment(dest_rpath, source_diffiter, inc_rpath)
File "/usr/lib/python2.3/site-packages/rdiff_backup/backup.py", line 226, in patch_and_increment
ITR(diff.index, diff)
File "/usr/lib/python2.3/site-packages/rdiff_backup/rorpiter.py", line 279, in __call__
last_branch.fast_process(*args)
File "/usr/lib/python2.3/site-packages/rdiff_backup/backup.py", line 607, in fast_process
inc = self.inc_with_checking(tf, rp, self.get_incrp(index))
File "/usr/lib/python2.3/site-packages/rdiff_backup/backup.py", line 593, in inc_with_checking
try: inc = increment.Increment(new, old, inc_rp)
File "/usr/lib/python2.3/site-packages/rdiff_backup/increment.py", line 40, in Increment
if not mirror.lstat(): incrp = makemissing(incpref)
File "/usr/lib/python2.3/site-packages/rdiff_backup/increment.py", line 51, in makemissing
incrp.touch()
File "/usr/lib/python2.3/site-packages/rdiff_backup/rpath.py", line 815, in touch
self.conn.open(self.path, "w").close()
IOError: [Errno 2] No such file or directory: 'janeway/rdiff-backup-data/increments/mnt/home/home/mh/chroot/sid/home/mh/chroot/sid/dev/MAKEDEV.2004-09-16T10:15:09+02:00.missing'
Exception exceptions.TypeError: "'NoneType' object is not callable" in <bound method GzipFile.__del__ of <gzip open file 'janeway/rdiff-backup-data/file_statistics.2004-09-20T22:28:53+02:00.data.gz', mode 'wb' at 0x4049c9e0 0x404dd46c>> ignored
Exception exceptions.TypeError: "'NoneType' object is not callable" in <bound method GzipFile.__del__ of <gzip open file 'janeway/rdiff-backup-data/error_log.2004-09-20T22:28:53+02:00.data.gz', mode 'wb' at 0x4049c6a0 0x404dbb8c>> ignored
Exception exceptions.TypeError: "'NoneType' object is not callable" in <bound method GzipFile.__del__ of <gzip open file 'janeway/rdiff-backup-data/mirror_metadata.2004-09-20T22:28:53+02:00.snapshot.gz', mode 'wb' at 0x4049ca20 0x404dd34c>> ignored
Traceback (most recent call last):
File "/usr/bin/rdiff-backup", line 23, in ?
rdiff_backup.Main.Main(sys.argv[1:])
File "/usr/lib/python2.3/site-packages/rdiff_backup/Main.py", line 259, in Main
take_action(rps)
File "/usr/lib/python2.3/site-packages/rdiff_backup/Main.py", line 227, in take_action
connection.PipeConnection(sys.stdin, sys.stdout).Server()
File "/usr/lib/python2.3/site-packages/rdiff_backup/connection.py", line 352, in Server
self.get_response(-1)
File "/usr/lib/python2.3/site-packages/rdiff_backup/connection.py", line 314, in get_response
try: req_num, object = self._get()
File "/usr/lib/python2.3/site-packages/rdiff_backup/connection.py", line 230, in _get
raise ConnectionReadError("Truncated header string (problem "rdiff_backup.connection.ConnectionReadError: Truncated header string (problem probably originated remotely)

I am using rdiff-backup 0.13.4 on Debian unstable. What might be going
wrong here?

Greetings
Marc

--
-----------------------------------------------------------------------------
Marc Haber | "I don't trust Computers. They | Mailadresse im Header
Karlsruhe, Germany | lose things." Winona Ryder | Fon: *49 721 966 32 15
Nordisch by Nature | How to make an American Quilt | Fax: *49 721 966 31 29

Post IOError: [Errno 2] No such file or directory: <snip>/M 
Marc Haber wrote:


I am using rdiff-backup 0.13.4 on Debian unstable. What might be going
wrong here?


im not sure exactly, but in the past, moving my rdiff-backup-data dir
and using --force the next time seemed to fix it. Some corruption in the
the metadata or increments I think...

dave

Post IOError: [Errno 2] No such file or directory: <snip>/M 
On Tue, Sep 21, 2004 at 04:06:03PM +1000, David Kempe wrote:
Marc Haber wrote:
I am using rdiff-backup 0.13.4 on Debian unstable. What might be going
wrong here?


im not sure exactly, but in the past, moving my rdiff-backup-data dir
and using --force the next time seemed to fix it. Some corruption in the
the metadata or increments I think...

Throwing away all increments at the slightest problem (which seem to
occur rather frequently) somehow defeats rdiff-backup's purpose,
right? If I can't rely on my increments being present, I can use rsync
directly, which is _much_ faster.

Greetings
Marc

--
-----------------------------------------------------------------------------
Marc Haber | "I don't trust Computers. They | Mailadresse im Header
Karlsruhe, Germany | lose things." Winona Ryder | Fon: *49 721 966 32 15
Nordisch by Nature | How to make an American Quilt | Fax: *49 721 966 31 29

Post IOError: [Errno 2] No such file or directory: <snip>/M 
Marc Haber wrote:
Throwing away all increments at the slightest problem (which seem to
occur rather frequently) somehow defeats rdiff-backup's purpose,
right? If I can't rely on my increments being present, I can use rsync
directly, which is _much_ faster.


indeed. I am just offering what has worked for me in the past. if you
can narrow it done I would be grateful.

dave

Display posts from previous:
Reply to topic Page 1 of 1
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
  


Magic SEO URL for phpBB