From b68c12dcf056cd4dcf5e4523bcf9e1fc3c9a8050 Mon Sep 17 00:00:00 2001 From: root Date: Sat, 18 Apr 2026 10:54:08 +0400 Subject: [PATCH] feat: added advanced options for cloud --- rclone-backup.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/rclone-backup.sh b/rclone-backup.sh index f702028..a20ee03 100755 --- a/rclone-backup.sh +++ b/rclone-backup.sh @@ -26,7 +26,8 @@ SYNC_ERROR=$(rclone sync "$SOURCE" "$REMOTE" \ --bwlimit "$BW_LIMIT" \ --delete-before \ --delete-excluded \ - --checksum $YANDEX_OPTS \ + --checksum \ + $ADVANCED_CLOUD_FLAG \ -q 2>&1) if [ -n "$SYNC_ERROR" ]; then @@ -83,4 +84,4 @@ curl -s -u "$AUTH" \ -H "Priority: $PRIORITY" \ -H "Tags: $TAGS" \ -d "$MESSAGE" \ - "$NTFY_URL" > /dev/null \ No newline at end of file + "$NTFY_URL" > /dev/null