1 Commits
Author SHA1 Message Date
Hartmut Bauer 0cb2748447 exclude lists from export 2025-04-15 12:15:42 +02:00
2 changed files with 4 additions and 4 deletions

No files matched your search

+3 -3
View File
@@ -21,7 +21,7 @@ WEEKLY_DAY=1 # SO->MO
PASSPHRASE=L1rfCXu8PHMQsGL0HJWwzQYpCT7f5VboislOTHMaEV
EXT=tgz.gpg
LIST_EXT=txt
LIST_EXT=list
DOCKER="/usr/bin/docker compose -f /var/docker/run/docker-compose.yml --ansi never"
SYNO_USB=/usr/syno/bin/synousbdisk
@@ -855,8 +855,8 @@ do_export() {
mail_log $INFO ">>> "
mail_log $INFO "$INF exporting $source_path -> $mount_point"
log $DEBUG "$DBG rsync -rti --one-file-system --delete --stats --exclude=@eaDir $source_path $mount_point"
rsync -rti --one-file-system --delete --stats --exclude=@eaDir $source_path $mount_point >>$LOG_FILE 2>&1
log $DEBUG "$DBG rsync -rti --one-file-system --delete --stats --exclude=@eaDir --exclude=.$LIST_EXT $source_path $mount_point"
rsync -rti --one-file-system --delete --stats --exclude=@eaDir --exclude=.$LIST_EXT $source_path $mount_point >>$LOG_FILE 2>&1
is_error $?
mail_log $INFO "$INF unmounting USB device $device."
+1 -1
View File
@@ -3,7 +3,7 @@
# entrypoint for all actions
#
VER="2.1.4"
VER="2.1.5"
HERE=$(dirname "$0")
THIS_SCRIPT=$0