Rysnc error code 19 (rsync-restore , rsync-backup , rsync-error ) occurs when there is an issue in connection during file transfer processing.
As part of our Server Support Services, we have helped to fix similar Rysnc ( rsync-help , rsync-support ) related errors.
In this context, we shall look into why this error occurs and how to get rid of it.
When this error occur, you will see an error message such as;
rsync error: received SIGUSR1 (code 19) at main.c(1204)
This occurs as a result of these factors;
i. When there is a break in connection between local rsync and remote rsync.
ii. The rate of speed at which the two host differs.
ii. In the process of transferring large files, there could be timeout which tends to terminate the Job.
The easiest method of fixing this issue is to update the rsync to the latest version. Below are the command to update the rsync in CentOS, Ubuntu and Macos respectively;
Centos: yum install rsync
Ubuntu: apt-get install rsync
Macos: brew install rsync
Additionally, sending the files in smaller bits can reduce the load and avoid such error.
Finally, ensure that no other process is interfering with the job.
Need support in fixing Rsync errors? Let us know here.