diff options
| author | Craig Jennings <c@cjennings.net> | 2026-02-07 21:50:59 -0600 |
|---|---|---|
| committer | Craig Jennings <c@cjennings.net> | 2026-02-07 21:50:59 -0600 |
| commit | 819a8e36263bbbed182f20040555ba2644dba1be (patch) | |
| tree | 2cdcf92a6937152b85407799474de21c94fa54bf | |
| parent | 2a4e9a4bcd5c25f2342863da4f57eda1ae8689fb (diff) | |
| download | rsyncshot-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-- | .gitignore | 2 | ||||
| -rwxr-xr-x | rsyncshot | 4 |
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/ @@ -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 |
