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

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

[rdiff-backup-users] Rdiff-backup unhandled exception during backup to W


From: Craig Findlay
Subject: [rdiff-backup-users] Rdiff-backup unhandled exception during backup to Windows box
Date: Wed, 24 Oct 2007 15:19:28 +1000
User-agent: Thunderbird 2.0.0.6 (Windows/20070728)

Hi all,

I have been using rdiff-backup 1.1.14 for a while to backup several
machines to a USB external hard drive, using the unattended rdiff-backup
howto. This has been working perfectly well on both Slackware and
OpenBSD machines.

However on a couple of occasions I have tried to backup some files from
an OpenBSD box to a Windows XP box. I built rdiff-backup under cygwin
without trouble, but it does not appear to be as robust as a Unix to
Unix backup.

The main issue is that an Exception '[Errno 91] File name too long:
error seems to be unhandled and exits the program.

I have included an example of a traceback below: (The rdiffbackup
command was initiated on the OpenBSD box as follows:

rdiff-backup --print-statistics --create-full-path \
/data/home \
address@hidden::/cygdrive/c/mnt/disk1b/backup/serverbackup/bellfs/home


I know from reading the mailing list that other "File name too long"
errors have been fixed in the past, however it seems that there is still
some situations where they are not handled properly in such a way as to
allow the backup to continue.

If I can supply any other information that could assist in debugging
this please let me know. Note that version 1.1.14 is being used on both
the OpenBSD box and the Windows box. I have never seen this exception
when copying files from unix to unix, even when copying the same file
sets. So there does seem to be a distinct difference in the way the
exceptions are handled on Windows.

Just in case it helps, I am using a version of librsync from CVS that
has the large file support patch included, and this is the same version
that I use on the unix to unix backups without any of the above problems.

Regards,
Craig

Exception '[Errno 91] File name too long:
'/cygdrive/c/mnt/disk1b/backup/serverbackup/bellfs/home/craig/backup/c/;068ocuments
and ;083ettings/;065ll ;085sers/;065pplication ;068ata/;068ownloaded
;073nstallations/{;066;06601;068851-6;06700-4742-;065;068;0693-2921093;0682;0708;068}/rdiff-backup.tmp.24237''
raised of class 'exceptions.OSError':
  File "/usr/local/lib/python2.4/site-packages/rdiff_backup/Main.py",
line 302, in error_check_Main
    try: Main(arglist)
  File "/usr/local/lib/python2.4/site-packages/rdiff_backup/Main.py",
line 322, in Main
    take_action(rps)
  File "/usr/local/lib/python2.4/site-packages/rdiff_backup/Main.py",
line 278, in take_action
    elif action == "backup": Backup(rps[0], rps[1])
  File "/usr/local/lib/python2.4/site-packages/rdiff_backup/Main.py",
line 344, in Backup
    backup.Mirror(rpin, rpout)
  File "/usr/local/lib/python2.4/site-packages/rdiff_backup/backup.py",
line 38, in Mirror
    DestS.patch(dest_rpath, source_diffiter)
  File
"/usr/local/lib/python2.4/site-packages/rdiff_backup/connection.py",
line 447, in __call__
    return apply(self.connection.reval, (self.name,) + args)
  File
"/usr/local/lib/python2.4/site-packages/rdiff_backup/connection.py",
line 369, in reval
    if isinstance(result, Exception): raise result

Traceback (most recent call last):
  File "/usr/local/bin/rdiff-backup", line 23, in ?
    rdiff_backup.Main.error_check_Main(sys.argv[1:])
  File "/usr/local/lib/python2.4/site-packages/rdiff_backup/Main.py",
line 302, in error_check_Main
    try: Main(arglist)
  File "/usr/local/lib/python2.4/site-packages/rdiff_backup/Main.py",
line 322, in Main
    take_action(rps)
  File "/usr/local/lib/python2.4/site-packages/rdiff_backup/Main.py",
line 278, in take_action
    elif action == "backup": Backup(rps[0], rps[1])
  File "/usr/local/lib/python2.4/site-packages/rdiff_backup/Main.py",
line 344, in Backup
    backup.Mirror(rpin, rpout)
  File "/usr/local/lib/python2.4/site-packages/rdiff_backup/backup.py",
line 38, in Mirror
    DestS.patch(dest_rpath, source_diffiter)
  File
"/usr/local/lib/python2.4/site-packages/rdiff_backup/connection.py",
line 447, in __call__
    return apply(self.connection.reval, (self.name,) + args)
  File
"/usr/local/lib/python2.4/site-packages/rdiff_backup/connection.py",
line 369, in reval
    if isinstance(result, Exception): raise result
OSError: [Errno 91] File name too long:
'/cygdrive/c/mnt/disk1b/backup/serverbackup/bellfs/home/craig/backup/c/;068ocuments
and ;083ettings/;065ll ;085sers/;065pplication ;068ata/;068ownloaded
;073nstallations/{;066;06601;068851-6;06700-4742-;065;068;0693-2921093;0682;0708;068}/rdiff-backup.tmp.24237'
Fatal Error: Lost connection to the remote system
2007-10-24 14:29:22 backup disk status after backup:
2007-10-24 14:29:23 Finished backup




reply via email to

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