aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCraig Jennings <c@cjennings.net>2026-02-07 21:50:59 -0600
committerCraig Jennings <c@cjennings.net>2026-02-07 21:50:59 -0600
commitc7a4275791dfc85c7c49ef8418e78f70c5093807 (patch)
tree2cdcf92a6937152b85407799474de21c94fa54bf
parent63c74d79a4698d9896fe13dadd02816ae6eebca9 (diff)
downloadrsyncshot-c7a4275791dfc85c7c49ef8418e78f70c5093807.tar.gz
rsyncshot-c7a4275791dfc85c7c49ef8418e78f70c5093807.zip
Add .gitignore and increase rsync I/O timeout to 10 minutes
Add .gitignore for docs/ and inbox/. Increase rsync --timeout from 300s to 600s for slower connections.
-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