[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[rdiff-backup-users] Problem with rdiff-backup under cygwin and Win XP
From: |
Marc.Ellenrieder |
Subject: |
[rdiff-backup-users] Problem with rdiff-backup under cygwin and Win XP |
Date: |
Tue, 22 Jun 2004 16:28:42 +0200 |
Hi,
I want to backup some windows-directories to a samba-share on a remote
machine. The samba share is mounted as X: under Windows XP.
If I issue the following backup command:
$ rdiff-backup --windows-mode dir_to_be_backuped /cygdrive/X/
I get an error message:
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 254,
in Main
take_action(rps)
File "/usr/lib/python2.3/site-packages/rdiff_backup/Main.py", line 226,
in take_action
elif action == "backup": Backup(rps[0], rps[1])
File "/usr/lib/python2.3/site-packages/rdiff_backup/Main.py", line 266,
in Backup
rpout.conn.Main.backup_touch_curmirror_local(rpin, rpout)
File "/usr/lib/python2.3/site-packages/rdiff_backup/Main.py", line 366,
in backup_touch_curmirror_local
mirrorrp.fsync_with_dir()
File "/usr/lib/python2.3/site-packages/rdiff_backup/rpath.py", line 919,
in fsync_with_dir
self.fsync(fp)
File "/usr/lib/python2.3/site-packages/rdiff_backup/rpath.py", line 907,
in fsync
if not fp: self.conn.rpath.RPath.fsync_local(self)
File "/usr/lib/python2.3/site-packages/rdiff_backup/rpath.py", line 914,
in fsync_local
os.fsync(fd)
OSError: [Errno 13] Permission denied
Exception exceptions.TypeError: "'NoneType' object is not callable" in
<bound method GzipFile.__del__ of <gzip open file
'/cygdrive/X/rdiff-backup-data/error_log.2004-06-22;08415;05855;05837;04301;05800.data.gz',
mode 'wb' at 0xa148860 0xa21ba8c>> ignored
The python version is 2.3.4, so it is probably not the broken fsync
command under windows. However, since I get this error message even when I
execute rdiff-backup under the windows administrator account, I am quite
sure, that there is no permission problem either. The same error happens,
if we use a local (windows) cygwin directory as a rdiff-target, so it is
probably also not a samba issue.
Using the rdiff-backup server does also not work, as we get an even more
obscure dll-relocation error.
Any suggestions?
Marc M. Ellenrieder
address@hidden
- [rdiff-backup-users] Problem with rdiff-backup under cygwin and Win XP,
Marc.Ellenrieder <=