Hi I am running several syncs from different servers to our data centre.
I am getting some issues with the rsyncs that i am running.
The OS are all red hat enterprise
The rsync command is as follows
#!/bin/bash
if [ -e /raid/.synclock ]
then
rsync -aWv --stats progress --delete --ignore-errors --exclude .HS*
--exclude ._* --exclude .DS_Store --exclude .Trashes --exclude .TemporaryItems
--exclude .VolumeIcon.icns --exclude .apdisk --no-links /raid/ 172.30.8.12:/gpfs/STUDIO_
RSYNCS/PEARTREE/ >> /raid/Rsync_logs/Peartree_rsync.`date +%w`.log 2>&1
else
echo "lock file not present. Exiting" >> /raid/Rsync_logs/Peartree_rsync.`date +%w`.log 2>&1
fi
The issues i am getting is firstly a time out.
Connection to 172.30.8.12 closed by remote host.
rsync: writefd_unbuffered failed to write 4 bytes to socket [sender]: Broken pipe (32)
rsync: connection unexpectedly closed (210 bytes received so far) [sender]
rsync error: unexplained error (code 255) at io.c(600) [sender=3.0.6]
and secondly a delete error
annot delete non-empty directory: PRODUCTION/PEARTREE/ARCADIA_GROUP_LTD/70003138_DP_CLOTHING_AND_ACCESSORY_SHOTS
Thirdly the excludes do not seem to be working correctly.
example
PRODUCTION/CHILLIWORLDWIDE/PORTFOLIOS/PHOTOGRAPHERS FOLIOS/DAN H/NEW PORTFOLIO/HI RES/DAVIDOFF/._ASHTRAY 1_07.tif
this should be excluded with the exclude ._*
thanks in advance
Treds