SearchFAQMemberlist Log in
Reply to topic Page 1 of 1
rdiff-backup to encfs
Author Message
Post rdiff-backup to encfs 
Hi,

I am using rdiff-backup to backup to a local encfs folder with the
following error trace:

2005-04-27 15:13:56,893 ERROR RDiffBackup Error running backup:
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.4/site-packages/rdiff_backup/Main.py",
line 254, in Main
take_action(rps)
File "/usr/local/lib/python2.4/site-packages/rdiff_backup/Main.py",
line 226, in take_action
elif action == "backup": Backup(rps[0], rps[1])
File "/usr/local/lib/python2.4/site-packages/rdiff_backup/Main.py",
line 272, in Backup
rpout.conn.Main.backup_touch_curmirror_local(rpin, rpout)
File "/usr/local/lib/python2.4/site-packages/rdiff_backup/Main.py",
line 366, in backup_touch_curmirror_local
mirrorrp.fsync_with_dir()
File "/usr/local/lib/python2.4/site-packages/rdiff_backup/rpath.py",
line 924, in fsync_with_dir
if Globals.fsync_directories: self.get_parent_rp().fsync()
File "/usr/local/lib/python2.4/site-packages/rdiff_backup/rpath.py",
line 911, in fsync
if not fp: self.conn.rpath.RPath.fsync_local(self)
File "/usr/local/lib/python2.4/site-packages/rdiff_backup/rpath.py",
line 918, in fsync_local
os.fsync(fd)
OSError: [Errno 22] Invalid argument
Exception exceptions.TypeError: "'NoneType' object is not callable" in
<bound method GzipFile.__del__ of <gzip open file
'/mount/usb/backup_data/var/lib/mysql/rdiff-backup-data/error_log.2005-04-27T15:13:54+01:00.data.gz', mode 'wb' at 0xb7bfeec0 -0x486b4534>> ignored

The same script successfully backs-up to a local non-encrypted folder.

Where do I start to look for the problem?

Thanks,
Alex

Post rdiff-backup to encfs 
On Wed, 27 Apr 2005, Alex Gonzalez wrote:

line 918, in fsync_local
os.fsync(fd)
OSError: [Errno 22] Invalid argument

that's kind of odd...

The same script successfully backs-up to a local non-encrypted folder.

Where do I start to look for the problem?

can you try my favourite tool? strace -o foo.trace rdiff-backup ... what
we're looking for is which file rdiff-backup is trying to fsync.
hopefully you've reduced it to a small test case though -- otherwise the
rdiff-backup output will be large.

-dean

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