Create backup whitelist for docker-compose

This commit is contained in:
Manuel Thalmann 2024-11-23 16:57:11 +01:00
parent 25fe147cb7
commit 6e68b9982b

View file

@ -173,6 +173,6 @@ begin
end end
function getBackupArgs function getBackupArgs
printf "%s\n" --hidden --no-ignore . --exclude "docker-compose"{,.base}".yml" (getServiceRoot $argv) printf "%s\n" --base-directory (getServiceRoot $argv) --hidden --no-ignore "^(docker-compose\.secrets\.yml|data)\$"
end end
end end