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
commit819a8e36263bbbed182f20040555ba2644dba1be (patch)
tree2cdcf92a6937152b85407799474de21c94fa54bf
parent2a4e9a4bcd5c25f2342863da4f57eda1ae8689fb (diff)
downloadrsyncshot-819a8e36263bbbed182f20040555ba2644dba1be.tar.gz
rsyncshot-819a8e36263bbbed182f20040555ba2644dba1be.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