From 597adec9cff9f3b30cf43342e4c2687bb4f74cbb Mon Sep 17 00:00:00 2001 From: Grant Slater Date: Sat, 12 Mar 2022 00:30:15 +0000 Subject: [PATCH] community: fix backup script typo --- cookbooks/community/templates/default/backup.cron.erb | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/cookbooks/community/templates/default/backup.cron.erb b/cookbooks/community/templates/default/backup.cron.erb index 6945c3bde..994485c4d 100644 --- a/cookbooks/community/templates/default/backup.cron.erb +++ b/cookbooks/community/templates/default/backup.cron.erb @@ -6,11 +6,11 @@ T=$(mktemp -d -t -p /var/tmp community.XXXXXXXXXX) D=$(date +%Y-%m-%d) B=community-$D.tar.gz -mkdir $T/commmunity-$D -ln -s /srv/community.openstreetmap.org/docker/containers $T/commmunity-$D/containers -ln -s /srv/community.openstreetmap.org/shared/web-only $T/commmunity-$D/shared-web-only -ln -s /srv/community.openstreetmap.org/shared/data/redis_data $T/commmunity-$D/shared-data-redis_data -ln -s /srv/community.openstreetmap.org/shared/data/postgres_backup $T/commmunity-$D/shared-data-postgres_backup +mkdir $T/community-$D +ln -s /srv/community.openstreetmap.org/docker/containers $T/community-$D/containers +ln -s /srv/community.openstreetmap.org/shared/web-only $T/community-$D/shared-web-only +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 export RSYNC_RSH="ssh -ax" -- 2.39.5