aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xrsyncshot4
1 files changed, 2 insertions, 2 deletions
diff --git a/rsyncshot b/rsyncshot
index f360e6f..29746dd 100755
--- a/rsyncshot
+++ b/rsyncshot
@@ -888,7 +888,7 @@ while IFS= read -r SOURCE || [ -n "$SOURCE" ]; do
if [ "$DRYRUN" = true ]; then
# Dry run: show what would be transferred
- rsync -avh --times \
+ rsync -avh --times --timeout=300 \
--delete --delete-excluded \
--exclude-from="$EXCLUDES" \
--dry-run \
@@ -896,7 +896,7 @@ while IFS= read -r SOURCE || [ -n "$SOURCE" ]; do
RSYNC_EXIT=$?
else
# Actual backup
- rsync -avh --times \
+ rsync -avh --times --timeout=300 \
--delete --delete-excluded \
--exclude-from="$EXCLUDES" \
"$SOURCE" "$DESTINATION"/latest