[ALUG] rsync fails where cp works
Brett Parker
iDunno at sommitrealweird.co.uk
Wed Dec 12 00:15:23 GMT 2007
On Mon, Dec 10, 2007 at 08:45:24PM +0000, Chris G wrote:
> I am trying to dig into my rsync backup problems.
>
> It would appear that for some reason rsync is getting I/O errors when
> copying maildir files.
>
> I have done some tests on one particular directory, "cp -R" succeeds
> but "rsync -r" fails:-
OK - have you tried removing the directory then using rsync -a rather
than -r? Also, is the top level directory that you're backing up to set
to have the sticky bit set (cos that'd break it)... and as it appears to
be having problems opening the files for write, you *are* root when
running the rsync, right? And you have tried editing one of the files to
see if you get and IO failure on it, right?
Cheers,
--
Brett Parker
More information about the main
mailing list