From 95b88196380afcf79287a66fe53bcfcf9613e00b Mon Sep 17 00:00:00 2001 From: Alice Gaudon Date: Thu, 5 Dec 2019 14:34:31 +0100 Subject: [PATCH] Increase rsync timeout --- backup2me.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backup2me.sh b/backup2me.sh index 728ff39..2ef2a54 100755 --- a/backup2me.sh +++ b/backup2me.sh @@ -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[*]}