Increase rsync timeout

This commit is contained in:
Alice Gaudon 2019-12-05 14:34:31 +01:00
parent 2e76ca954f
commit 95b8819638

View File

@ -48,7 +48,7 @@ BACKUP_BASE_PATH="$BACKUP_ROOT_PATH/$BACKUP_ROOT"
BACKUP_CONTENTS_PATH="$BACKUP_BASE_PATH/_backup/"
RSYNC_BASE_CMD=(rsync --timeout=30 --protocol=30 -avzhP)
RSYNC_BASE_CMD=(rsync --timeout=120 --protocol=30 -avzhP)
RSYNC_BASE_CMD+=("$BACKUP_ARGS")
RSYNC_STRUCTURE_CMD=${RSYNC_BASE_CMD[*]}