X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/ab47927c016597f8602b81dcdc168ad5c335389d..b7c12630cb9de017d76fe60ff296534d6d061399:/cookbooks/chef/templates/default/server-backup.cron.erb?ds=sidebyside diff --git a/cookbooks/chef/templates/default/server-backup.cron.erb b/cookbooks/chef/templates/default/server-backup.cron.erb index 04e6c0e0c..9b864768e 100644 --- a/cookbooks/chef/templates/default/server-backup.cron.erb +++ b/cookbooks/chef/templates/default/server-backup.cron.erb @@ -11,6 +11,6 @@ sudo -u opscode-pgsql /opt/opscode/embedded/bin/pg_dumpall --file=$T/chef-server ln -s /var/opt/opscode/bookshelf/data $T/chef-server-$D/bookshelf nice tar --create --dereference --directory=$T chef-server-$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