3 # DO NOT EDIT - This file is being maintained by Chef
5 T=$(mktemp -d -t -p /var/tmp community.XXXXXXXXXX)
10 ln -s /srv/community.openstreetmap.org/docker/containers $T/community-$D/containers
11 ln -s /srv/community.openstreetmap.org/shared/web-only $T/community-$D/shared-web-only
12 ln -s /srv/community.openstreetmap.org/shared/data/redis_data $T/community-$D/shared-data-redis_data
13 ln -s /srv/community.openstreetmap.org/shared/data/postgres_backup $T/community-$D/shared-data-postgres_backup
15 export RSYNC_RSH="ssh -ax"
17 nice tar --create --numeric-owner --dereference --directory=$T --warning=no-file-changed community-$D | nice gzip --rsyncable -9 > $T/$B
18 nice rsync --preallocate --fuzzy $T/$B backup.openstreetmap.org::backup