From b364d4d3ec8c570b13a2e9790b529a780bac2078 Mon Sep 17 00:00:00 2001 From: Ian Date: Fri, 9 Feb 2024 11:04:30 -0800 Subject: [PATCH] Fix full path to backups for pruning --- rclone/rootfs/run_timegaps.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rclone/rootfs/run_timegaps.sh b/rclone/rootfs/run_timegaps.sh index 7b496ad..1bde3b7 100755 --- a/rclone/rootfs/run_timegaps.sh +++ b/rclone/rootfs/run_timegaps.sh @@ -13,7 +13,7 @@ fi if bashio::config.true 'protected_only'; then find /backup -name "*.tar" -exec tar -xOf "{}" ./backup.json \; \ - | jq -r 'select(.protected) | "\(.slug).tar"' \ + | jq -r 'select(.protected) | "/backup/\(.slug).tar"' \ | timegaps --stdin $TIMEGAPS_DELETE "$TIMEGAPS_RULES" else timegaps $TIMEGAPS_DELETE "$TIMEGAPS_RULES"