From 7060f73dfb6a17c69690c065ed9cc64687703f35 Mon Sep 17 00:00:00 2001 From: Grant Slater Date: Wed, 22 Oct 2025 07:05:42 +0300 Subject: [PATCH] Also fix community tar backup --- cookbooks/community/templates/default/backup.cron.erb | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/cookbooks/community/templates/default/backup.cron.erb b/cookbooks/community/templates/default/backup.cron.erb index b2ec3c83f..4080caebe 100644 --- a/cookbooks/community/templates/default/backup.cron.erb +++ b/cookbooks/community/templates/default/backup.cron.erb @@ -16,7 +16,13 @@ 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 --dereference --directory="$T" --sort=name --warning=no-file-changed --exclude="community-$D/shared-web-only/log/**/*.gz" "community-$D" | nice zstd --quiet --long --rsyncable -o "$T/$B" +nice tar --create --numeric-owner --dereference --directory="$T" \ + --sort=name \ + --warning=no-file-changed \ + --warning=no-file-removed \ + --ignore-failed-read \ + --exclude="community-$D/shared-web-only/log/**/*.gz" \ + "community-$D" | nice zstd --quiet --long --rsyncable -o "$T/$B" nice rsync --preallocate --fuzzy "$T/$B" backup.openstreetmap.org::backup rm -rf "$T" -- 2.39.5