Debug log filter statement

This commit is contained in:
Ian 2023-11-24 22:20:04 -08:00
parent b0d619572e
commit b2404cff1b
1 changed files with 2 additions and 0 deletions

View File

@ -15,4 +15,6 @@ if bashio::config.true 'protected_only'; then
FILTER="{\"IncludeRule\": $(find /backup -name "*.tar" -exec tar -xOf "{}" ./backup.json \;| jq -sc 'map(select(.protected) | "/backup/\(.slug).tar")')}"
fi
bashio::log.degug "Filter: $FILTER"
rclone rc --user "$USERNAME" --pass "$PASSWORD" "sync/$SYNC_COMMAND" srcFs=/backup "dstFs=$DESTINATION" _async=true _filter="$FILTER"