IOError
rdiffbackup@cb921.org
rdiffbackup@cb921.org
Fri, 18 Jan 2002 10:16:59 +0200
hello list people,
I'd like to use rdiff-backup to backup a winnt smbfs share from
my linux machine. I'm getting an error:
Traceback (most recent call last):
File "/usr/bin/rdiff-backup", line 3760, in ?
Globals.Main.Main()
File "/usr/bin/rdiff-backup", line 3528, in Main
self.take_action(rps)
File "/usr/bin/rdiff-backup", line 3504, in take_action
elif self.action == "backup": self.Backup(rps[0], rps[1])
File "/usr/bin/rdiff-backup", line 3556, in Backup
else: HighLevel.Mirror(rpin, rpout)
File "/usr/bin/rdiff-backup", line 3096, in Mirror
DestS.patch_and_finalize(dest_rpath, diffiter)
File "/usr/bin/rdiff-backup", line 3221, in patch_and_finalize
RORPIter.patchonce(None, dsrp, diff_rorp)
File "/usr/bin/rdiff-backup", line 2399, in patchonce
basisrp.write_from_fileobj(diff_rorp.open("rb"))
File "/usr/bin/rdiff-backup", line 2141, in write_from_fileobj
RPath.copyfileobj(fp, outfp)
File "/usr/bin/rdiff-backup", line 1579, in copyfileobj
inbuf = inputfp.read(blocksize)
IOError: [Errno 26] Text file busy
The drive I am trying to back up has no Windows System Files on it,
but quite a few of the files are in use by programs running on that
machine.
I'd go and put a try/except in copyfileobj, but I'd rather have an
"official" solution... maybe a note in the log would be sufficient?
Anyway, thanks again for rdiff backup.
Campbell