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

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

Re: [rdiff-backup-users] librsync: ERROR:


From: Ben Escoto
Subject: Re: [rdiff-backup-users] librsync: ERROR:
Date: Tue, 4 Nov 2003 21:54:59 -0800

On Tue, 04 Nov 2003 09:57:31 -0700
Robert Weber <address@hidden> wrote:
> The problem happens on files of all kinds, some have restrictive modes,
> some don't.  Some are smaller, some are the same size, some are larger.
> Files like /etc/shadow don't copy.  I have mailed the folks at librsync,
> but I was able to run rdiff to delta an patch the files without a problem
> so it may be how rdiff-backup is running rs_file_copy_cb, possibly with a
> negitive pos value(or a pos value that is not of type off_t or long long).
> Either way, can we get a switch in rdiff-backup that will just rcp the file
> in this case?  My entire mirror(>4Tb) is useless now because of these
> errors, and I am looking into doing the scp's by hand as a stop-gap.  This
> problem may be elsewhere, but it appears to be a problem with solaris
> clients.

rdiff-backup doesn't call rs_file_copy_cb, it passes it to
rs_patch_begin in the same way rdiff's whole.c does.  So I'm not sure
why rdiff would work and rdiff-backup wouldn't.

Also I just checked the librsync mailing list, and it seems maybe
autoconf got your Solaris builds wrong with librsync?

I don't think it would be all that hard to add a --whole-file option
to rdiff-backup though, so it just makes .snapshots and doesn't use
librsync.  If you can't fix librsync, I will try to add this in the
next few days.  Keep me updated.


-- 
Ben Escoto

Attachment: pgplJk8HgZ2Ch.pgp
Description: PGP signature


reply via email to

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