-
-
Notifications
You must be signed in to change notification settings - Fork 478
Open
Description
Doing a backup towards a pretty unreliable/slow NFS mount which tends to hog. I added --timeout 10 to the rsync flags, and tried to loop-run the script:
rsync_tmbackup.sh /data/ /backup/rsync/data exclude.txt
while [ $? -ne 0 ]; do
rsync_tmbackup.sh /data/ /backup/rsync/data exclude.txt
done
However apparently rsync_tmpbackup.sh does return 0 in case of timeout.
rsync error: timeout in data send/receive (code 30) at io.c(820) [sender=3.1.1]
rsync_tmbackup: [WARNING] Rsync reported a warning, please check '/root/.rsync_tmbackup/2017-02-07-182327.log' for more details.
rsync_tmbackup: Backup completed without errors.
Reactions are currently unavailable