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
222
222
223
223
# =================================================================
224
224
# SCRIPT INITIALIZATION & SETUP
225
- # v0.13 - 2025.08.10
225
+ # v0.14 - 2025.08.10
226
226
# =================================================================
227
227
set -Euo pipefail
228
228
umask 077
@@ -286,7 +286,7 @@ LOCK_FILE="/tmp/backup_rsync.lock"
286
286
MAX_LOG_SIZE=10485760 # 10 MB in bytes
287
287
288
288
RSYNC_BASE_OPTS=(
289
- -a -z --delete --partial --timeout=60
289
+ -aR -z --delete --partial --timeout=60
290
290
--exclude-from=" $EXCLUDE_FILE_TMP "
291
291
-e " ssh ${SSH_OPTS_STR:- } "
292
292
)
@@ -331,7 +331,7 @@ send_notification() {
331
331
}
332
332
333
333
run_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:- } " )
335
335
336
336
for dir in $BACKUP_DIRS ; do
337
337
local remote_path=" ${REMOTE_TARGET}${dir#/ } "
Original file line number Diff line number Diff line change 2
2
3
3
# =================================================================
4
4
# SCRIPT INITIALIZATION & SETUP
5
- # v0.13 - 2025.08.10
5
+ # v0.14 - 2025.08.10
6
6
# =================================================================
7
7
set -Euo pipefail
8
8
umask 077
@@ -66,7 +66,7 @@ LOCK_FILE="/tmp/backup_rsync.lock"
66
66
MAX_LOG_SIZE=10485760 # 10 MB in bytes
67
67
68
68
RSYNC_BASE_OPTS=(
69
- -a -z --delete --partial --timeout=60
69
+ -aR -z --delete --partial --timeout=60
70
70
--exclude-from=" $EXCLUDE_FILE_TMP "
71
71
-e " ssh ${SSH_OPTS_STR:- } "
72
72
)
@@ -111,7 +111,7 @@ send_notification() {
111
111
}
112
112
113
113
run_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:- } " )
115
115
116
116
for dir in $BACKUP_DIRS ; do
117
117
local remote_path=" ${REMOTE_TARGET}${dir#/ } "
You can’t perform that action at this time.
0 commit comments