]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/thinkup/templates/default/backup.cron.erb
Remove unused support for legacy linux_diskstat_ munin plugin
[chef.git] / cookbooks / thinkup / templates / default / backup.cron.erb
index b5b6c75bb0a8a040c3f519ab01857a845938dfa7..d461717960ecb593ecaf81a70d0c189d13b1a098 100644 (file)
@@ -7,10 +7,11 @@ D=$(date +%Y-%m-%d)
 B=thinkup-$D.tar.gz
 
 mkdir $T/thinkup-$D
-mysqldump --user=thinkup --password=<% @passwords["database"] %> --opt thinkup > $T/thinkup-$D/thinkup.sql
+mysqldump --user=thinkup --password=<%= @passwords["database"] %> --opt thinkup > $T/thinkup-$D/thinkup.sql
 ln -s /srv/thinkup.openstreetmap.org $T/thinkup-$D/www
 
 export GZIP="--rsyncable -9"
+export RSYNC_RSH="ssh -ax -c arcfour"
 
 nice tar --create --gzip --dereference --directory=$T --file=$T/$B thinkup-$D
 nice rsync $T/$B backup::backup