X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/61951e03b21028b3df147b878b6cb266bacc07ac..4329ac4e4366dea4e26542e52c3f6c68b8e3a6f1:/cookbooks/community/templates/default/backup.cron.erb diff --git a/cookbooks/community/templates/default/backup.cron.erb b/cookbooks/community/templates/default/backup.cron.erb index 4cb919a76..d23cd47e9 100644 --- a/cookbooks/community/templates/default/backup.cron.erb +++ b/cookbooks/community/templates/default/backup.cron.erb @@ -15,6 +15,6 @@ ln -s /srv/community.openstreetmap.org/shared/data/postgres_backup $T/community- export RSYNC_RSH="ssh -ax" nice tar --create --numeric-owner --dereference --directory=$T --warning=no-file-changed community-$D | nice gzip --rsyncable -9 > $T/$B -nice rsync --preallocate --fuzzy $T/$B backup::backup +nice rsync --preallocate --fuzzy $T/$B backup.openstreetmap.org::backup rm -rf $T