X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/597adec9cff9f3b30cf43342e4c2687bb4f74cbb..feac0588239ee5b73140eb3b2625177e5529a743:/cookbooks/community/templates/default/backup.cron.erb?ds=sidebyside diff --git a/cookbooks/community/templates/default/backup.cron.erb b/cookbooks/community/templates/default/backup.cron.erb index 994485c4d..d23cd47e9 100644 --- a/cookbooks/community/templates/default/backup.cron.erb +++ b/cookbooks/community/templates/default/backup.cron.erb @@ -14,7 +14,7 @@ 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 community-$D | nice gzip --rsyncable -9 > $T/$B -nice rsync --preallocate --fuzzy $T/$B backup::backup +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.openstreetmap.org::backup rm -rf $T