X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/8eb2c1d74e2a81950469412a4b73d9c31a08a8fa..17f9f8c4e6424e3e2b0e05df2cdda64c3e42922a:/cookbooks/stateofthemap/templates/default/backup.cron.erb diff --git a/cookbooks/stateofthemap/templates/default/backup.cron.erb b/cookbooks/stateofthemap/templates/default/backup.cron.erb index 45aafad26..e78b50348 100644 --- a/cookbooks/stateofthemap/templates/default/backup.cron.erb +++ b/cookbooks/stateofthemap/templates/default/backup.cron.erb @@ -22,6 +22,6 @@ ln -s /srv/2012.stateofthemap.org $T/sotm-$D/www2012 export GZIP="--rsyncable -9" nice tar --create --gzip --dereference --directory=$T --file=$T/$B sotm-$D -nice nice $T/$B backup::backup +nice rsync $T/$B backup::backup rm -rf $T