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

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

Re: [rdiff-backup-users] failure backing up to windows partition


From: Keith Edmunds
Subject: Re: [rdiff-backup-users] failure backing up to windows partition
Date: Thu, 27 Mar 2003 13:43:38 +0000

On Wed, 26 Mar 2003 10:40:31 -0800
Ben Escoto <address@hidden> wrote:

> Hmm, could you describe your setup again?  I tried mount a vfat
> partition and backup up a normal linux directory to it as root and it
> seemed to work fine (I'm running RH8.0).  Also, maybe you could run
> with high verbosity (-v7) and give me the last bit of the output.

I think part of the problem may be that the source directory has
softlinks in it.

Setup: 

"zaphod" is a Gentoo Linux machine running kernel 2.4.20
"dell2" is a Windows 2000 machine with a spare FAT partition (I've done
this with NTFS too, and it appears to be the same)
I mount the partition from dell2 on zaphod and issue the following
commands:

# mount -t smbfs //dell2/backup -o username="xxx",password="xxx"
/backupy

# mkdir /backupy/zaphod
# rdiff-backup  -v7 --windows-mode /usr/local /backupy/zaphod/local

Every soft link on /usr/local seems to give an error (see later), but
the run ends with:

Writing file object to
/backupy/zaphod/local/spong/tmp/zaphod.rg2.midnighthax.com/services/rdi
ff-backup.tmp.4128 Copying attributes from ('spong', 'tmp',
'zaphod.rg2.midnighthax.com', 'services', 'ssh-green') to
/backupy/zaphod/local/spong/tmp/zaphod.rg2.midnighthax.com/services/rdi
ff-backup.tmp.4128 Setting time of
/backupy/zaphod/local/spong/tmp/zaphod.rg2.midnighthax.com/services/rdi
ff-backup.tmp.4128 to 1043424559 Renaming
/backupy/zaphod/local/spong/tmp/zaphod.rg2.midnighthax.com/services/rdi
ff-backup.tmp.4128 to
/backupy/zaphod/local/spong/tmp/zaphod.rg2.midnighthax.com/services/ssh
-green Processing changed file spong/var
Copying attributes from ('spong', 'tmp', 'zaphod.rg2.midnighthax.com',
'services') to
/backupy/zaphod/local/spong/tmp/zaphod.rg2.midnighthax.com/services
Setting time of
/backupy/zaphod/local/spong/tmp/zaphod.rg2.midnighthax.com/services to
1043424677 Copying attributes from ('spong', 'tmp',
'zaphod.rg2.midnighthax.com') to
/backupy/zaphod/local/spong/tmp/zaphod.rg2.midnighthax.com Setting time
of /backupy/zaphod/local/spong/tmp/zaphod.rg2.midnighthax.com to
1043360064 Copying attributes from ('spong', 'tmp') to
/backupy/zaphod/local/spong/tmp Traceback (most recent call last):
  File "/usr/bin/rdiff-backup", line 24, in ?
    rdiff_backup.Main.Main(sys.argv[1:])
  File "/usr/lib/python2.2/site-packages/rdiff_backup/Main.py", line
237, in Main    take_action(rps)
  File "/usr/lib/python2.2/site-packages/rdiff_backup/Main.py", line
211, in take_action    elif action == "backup": Backup(rps[0], rps[1])
  File "/usr/lib/python2.2/site-packages/rdiff_backup/Main.py", line
254, in Backup    backup.Mirror(rpin, rpout)
  File "/usr/lib/python2.2/site-packages/rdiff_backup/backup.py", line
36, in Mirror    DestS.patch(dest_rpath, source_diffiter)
  File "/usr/lib/python2.2/site-packages/rdiff_backup/backup.py", line
193, in patch    ITR(diff.index, diff)
  File "/usr/lib/python2.2/site-packages/rdiff_backup/rorpiter.py", line
271, in __call__    if self.finish_branches(index) is None:
  File "/usr/lib/python2.2/site-packages/rdiff_backup/rorpiter.py", line
227, in finish_branches    to_be_finished.end_process()
  File "/usr/lib/python2.2/site-packages/rdiff_backup/backup.py", line
487, in end_process    rpath.copy_attribs(self.dir_update, self.base_rp)
  File "/usr/lib/python2.2/site-packages/rdiff_backup/rpath.py", line
160, in copy_attribs    rpout.chmod(rpin.getperms())
  File "/usr/lib/python2.2/site-packages/rdiff_backup/rpath.py", line
634, in chmod    self.conn.os.chmod(self.path, permissions)
OSError: [Errno 1] Operation not permitted:
'/backupy/zaphod/local/spong/tmp' Exception exceptions.TypeError:
"'NoneType' object is not callable" in <bound method GzipFile.__del__ of
<gzip open file
'/backupy/zaphod/local/rdiff-backup-data/error_log.2003-03-27;08413;058
30;05850+01;05800.data.gz', mode 'wb' at 0x8155a68 0x8155a4c>> ignored
zaphod zaphod #

Running without -d7 gives this for every soft link on /usr/local:

SpecialFileError lib/libgw-wct.so.0 [Errno 1] Operation not permitted
UpdateError lib/libgw-wct.so.0 Updated mirror temp file
/backupy/zaphod/local/lib/rdiff-backup.tmp.1906 does not match source

For information:

zaphod zaphod # cd /usr/local
zaphod local # file lib/libgw-wct.so.0
lib/libgw-wct.so.0: symbolic link to libgw-wct.so.0.0.0
zaphod local # 

Every backup was done to a clean destination.

Hope this helps: shout if you need more info.

-- 
Keith Edmunds




reply via email to

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