We have a nightly rsync operation which syncronises user files onto a backup server so in the event of a hardware failure it can take over. It is also handy for people to easily get to a previous copy of their work.
This wee the backup stopped working. There were no packages updated and I have rebooted the backup server.
I have also changed the rsync so that instead of syncing the entire 120GB in one go it syncronises the 6 subdirectories one after the other.
However on 4 of the directories I am still getting an error :-
[root@file2 bin]# rsync -vv -a --delete -e ssh /shares/disk1/Accounts/* file2backup:/shares/disk1/
Accounts/
opening connection using ssh file2backup rsync --server -vvlogDtpr --delete . /shares/disk1/Accounts/
building file list ...
expand file_list to 4000 bytes, did move
expand file_list to 8000 bytes, did move
expand file_list to 16000 bytes, did move
done
[receiver] expand file_list to 131072 bytes, did move
[receiver] expand file_list to 131072 bytes, did move
deleting in 2+10 05-06
[receiver] expand file_list to 131072 bytes, did move
deleting in 3ex users
[receiver] expand file_list to 131072 bytes, did move
rsync: connection unexpectedly closed (8 bytes read so far)
rsync error: error in rsync protocol data stream (code 12) at io.c(165)
If I delete the files on the destination server it does work but this is impractical because it would take too long to copy across the files afterwards.
Any ideas?
Start Free Trial