aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.gitignore2
-rwxr-xr-xrsyncshot4
2 files changed, 4 insertions, 2 deletions
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..7e8493f
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,2 @@
+docs/
+inbox/
diff --git a/rsyncshot b/rsyncshot
index 29746dd..5b5820b 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 --timeout=300 \
+ rsync -avh --times --timeout=600 \
--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 --timeout=300 \
+ rsync -avh --times --timeout=600 \
--delete --delete-excluded \
--exclude-from="$EXCLUDES" \
"$SOURCE" "$DESTINATION"/latest