[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [rdiff-backup-users] rdiff-backup newbe query
From: |
Andrew K. Bressen |
Subject: |
Re: [rdiff-backup-users] rdiff-backup newbe query |
Date: |
Sat, 29 May 2004 13:26:46 -0400 |
User-agent: |
Gnus/5.1002 (Gnus v5.10.2) XEmacs/21.4 (Common Lisp, linux) |
Dave S <address@hidden> writes:
> Im trying to get rdiff-backup 0.12.6 working on my Gentoo 1.4 system,
> Im having a problem ... This is what I have tried
>
> bash-2.05b#
> bash-2.05b# rdiff-backup /home/ /mnt/win98/autoarchive.gentoo
>From this pathname, I am guessing that you are trying to back up
onto a vfat filesystem. I strongly suspect that that doesn't work.
When a vfat file system is mounted under linux, attempts to change the
owner, group, or permissions on files return errors, because vfat doesn't
have these things.
I tried to run a test case using rdiff-backup 0.13.3 to a vfat filesystem,
and it failed trying to change the file permission modes.
I do not know if mounting the filesystem as umsdos would help;
might do bad things to the windows install.
Here's the error from the original report:
> File "/usr/lib/python2.3/gzip.py", line 94, in __init__
> fileobj = self.myfileobj = __builtin__.open(filename, mode or 'rb')
> IOError: invalid mode: wb
Anyone know what mode "wb" is?
Here's the error from an attempt I made using 0.13.3:
File "/usr/lib/python2.3/site-packages/rdiff_backup/rpath.py", line 162, in
copy_attribs
rpout.chmod(rpin.getperms())
File "/usr/lib/python2.3/site-packages/rdiff_backup/rpath.py", line 739, in
chmod
self.conn.os.chmod(self.path, permissions)
OSError: [Errno 1] Operation not permitted: '/windows/Documents and
Settings/Andrew K. Bressen/foo/.galeon/favicon_cache'
Exception exceptions.TypeError: "'NoneType' object is not callable" in <bound
method GzipFile.__del__ of <gzip open file '/windows/Documents and
Settings/Andrew K.
Bressen/foo/rdiff-backup-data/file_statistics.2004-05-29;08413;05806;05823-04;05800.data.gz',
mode 'wb' at 0x40210ee0 0x404bbd4c>> ignored
Exception exceptions.TypeError: "'NoneType' object is not callable" in <bound
method GzipFile.__del__ of <gzip open file '/windows/Documents and
Settings/Andrew K.
Bressen/foo/rdiff-backup-data/error_log.2004-05-29;08413;05806;05823-04;05800.data.gz',
mode 'wb' at 0x40210e20 0x404bbc2c>> ignored
Exception exceptions.TypeError: "'NoneType' object is not callable" in <bound
method GzipFile.__del__ of <gzip open file '/windows/Documents and
Settings/Andrew K.
Bressen/foo/rdiff-backup-data/mirror_metadata.2004-05-29;08413;05806;05823-04;05800.snapshot.gz',
mode 'wb' at 0x40232020 0x404bbeec>> ignored