From 48bd84c4236dfde34a81c4d42ecb51c9fe252c2e Mon Sep 17 00:00:00 2001 From: Grant Slater Date: Sat, 30 Aug 2025 13:46:28 +0100 Subject: [PATCH] community: fix tar exclude --- cookbooks/community/templates/default/backup.cron.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cookbooks/community/templates/default/backup.cron.erb b/cookbooks/community/templates/default/backup.cron.erb index a7319c871..72989a3d0 100644 --- a/cookbooks/community/templates/default/backup.cron.erb +++ b/cookbooks/community/templates/default/backup.cron.erb @@ -15,7 +15,7 @@ ln -s /srv/community.openstreetmap.org/shared/web-only "$T/community-$D/shared-w ln -s /srv/community.openstreetmap.org/shared/data/redis_data "$T/community-$D/shared-data-redis_data" ln -s /srv/community.openstreetmap.org/shared/data/postgres_backup "$T/community-$D/shared-data-postgres_backup" -nice tar --create --numeric-owner --sort=name --dereference --directory="$T" --warning=no-file-changed "community-$D" --exclude "community-$D/shared-web-only/log/**/*.gz" | nice zstd --quiet --adapt --rsyncable -o "$T/$B" +nice tar --create --numeric-owner --sort=name --dereference --directory="$T" --warning=no-file-changed --exclude="community-$D/shared-web-only/log/**/*.gz" "community-$D" | nice zstd --quiet --adapt --rsyncable -o "$T/$B" nice rsync --preallocate --fuzzy "$T/$B" backup.openstreetmap.org::backup rm -rf "$T" -- 2.39.5