mirror of
https://github.com/ViViDboarder/hassio-addon-rclone.git
synced 2024-12-22 03:27:44 +00:00
Debug log filter statement
This commit is contained in:
parent
b0d619572e
commit
b2404cff1b
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user