SearchFAQMemberlist Log in
Reply to topic Page 1 of 1
cygwin fsyncing again
Author Message
Post cygwin fsyncing again 
Hi,
I am trying to get rdiff-backup 1.0.1 going on cygwin. I will have a
windows package built shortly, but I would love it if windows-> windows
backups worked.
the initial backup works ok, but after the session stats are printed at
the end I get an error similar to the one below. Thats fine, but
subsequent backups crash with the error below before copying any files.
I think os.fsync is not available on cygwin python2.4 and is erroneously
turned on...

Let me know if there any other information you need to help me out - is
there some way I can turn off fsyncing on cygwin?

thanks

dave


---------------------------------------------------------------
Detected abilities for destination (read/write) file system:
Characters needing quoting '^a-z0-9_ -.'
Ownership changing Off
Hard linking On
fsync() directories On
Directory inc permissions On
Access control lists Off
Extended attributes Off
Mac OS X style resource forks Off
Mac OS X Finder information Off
-----------------------------------------------------------------
Previous backup seems to have failed, regressing destination now.
Regressing to Thu Sep 29 08:49:30 2005
Removing rdiff-backup-data increment
/cygdrive/c/tmp/rdiff-backup-data/error_log
.2005-09-29;08408;05849;05854+10;05800.data.gz
Traceback (most recent call last):
File "/usr/bin/rdiff-backup", line 23, in ?
rdiff_backup.Main.Main(sys.argv[1:])
File "/usr/lib/python2.4/site-packages/rdiff_backup/Main.py", line
283, in Main
take_action(rps)
File "/usr/lib/python2.4/site-packages/rdiff_backup/Main.py", line
253, in take_action
elif action == "backup": Backup(rps[0], rps[1])
File "/usr/lib/python2.4/site-packages/rdiff_backup/Main.py", line
302, in Backup
rpout.conn.Main.backup_touch_curmirror_local(rpin, rpout)
File "/usr/lib/python2.4/site-packages/rdiff_backup/Main.py", line
460, in backup_touch_curmirror_local
mirrorrp.fsync_with_dir()
File "/usr/lib/python2.4/site-packages/rdiff_backup/rpath.py", line
1080, in fsync_with_dir
self.fsync(fp)
File "/usr/lib/python2.4/site-packages/rdiff_backup/rpath.py", line
1068, in fsync
if not fp: self.conn.rpath.RPath.fsync_local(self)
File "/usr/lib/python2.4/site-packages/rdiff_backup/rpath.py", line
1075, 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/c/tmp/rdiff-backup-data/erro
r_log.2005-09-29;08408;05857;05819+10;05800.data.gz', mode 'wb' at
0x50c410 0x6324cc>> ignored

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