File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed
Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -222,7 +222,7 @@ END_EXCLUDES
222222
223223# =================================================================
224224# SCRIPT INITIALIZATION & SETUP
225- # v0.13 - 2025.08.10
225+ # v0.14 - 2025.08.10
226226# =================================================================
227227set -Euo pipefail
228228umask 077
@@ -286,7 +286,7 @@ LOCK_FILE="/tmp/backup_rsync.lock"
286286MAX_LOG_SIZE=10485760 # 10 MB in bytes
287287
288288RSYNC_BASE_OPTS=(
289- -a -z --delete --partial --timeout=60
289+ -aR -z --delete --partial --timeout=60
290290 --exclude-from=" $EXCLUDE_FILE_TMP "
291291 -e " ssh ${SSH_OPTS_STR:- } "
292292)
@@ -331,7 +331,7 @@ send_notification() {
331331}
332332
333333run_integrity_check () {
334- local rsync_check_opts=(-ainc -c --delete --exclude-from=" $EXCLUDE_FILE_TMP " --out-format=" %n" -e " ssh ${SSH_OPTS_STR:- } " )
334+ local rsync_check_opts=(-aincR -c --delete --exclude-from=" $EXCLUDE_FILE_TMP " --out-format=" %n" -e " ssh ${SSH_OPTS_STR:- } " )
335335
336336 for dir in $BACKUP_DIRS ; do
337337 local remote_path=" ${REMOTE_TARGET}${dir#/ } "
Original file line number Diff line number Diff line change 22
33# =================================================================
44# SCRIPT INITIALIZATION & SETUP
5- # v0.13 - 2025.08.10
5+ # v0.14 - 2025.08.10
66# =================================================================
77set -Euo pipefail
88umask 077
@@ -66,7 +66,7 @@ LOCK_FILE="/tmp/backup_rsync.lock"
6666MAX_LOG_SIZE=10485760 # 10 MB in bytes
6767
6868RSYNC_BASE_OPTS=(
69- -a -z --delete --partial --timeout=60
69+ -aR -z --delete --partial --timeout=60
7070 --exclude-from=" $EXCLUDE_FILE_TMP "
7171 -e " ssh ${SSH_OPTS_STR:- } "
7272)
@@ -111,7 +111,7 @@ send_notification() {
111111}
112112
113113run_integrity_check () {
114- local rsync_check_opts=(-ainc -c --delete --exclude-from=" $EXCLUDE_FILE_TMP " --out-format=" %n" -e " ssh ${SSH_OPTS_STR:- } " )
114+ local rsync_check_opts=(-aincR -c --delete --exclude-from=" $EXCLUDE_FILE_TMP " --out-format=" %n" -e " ssh ${SSH_OPTS_STR:- } " )
115115
116116 for dir in $BACKUP_DIRS ; do
117117 local remote_path=" ${REMOTE_TARGET}${dir#/ } "
You can’t perform that action at this time.
0 commit comments