]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/db/templates/default/backup-db.erb
PassengerUseGlobalQueue defaults to on with passenger 4
[chef.git] / cookbooks / db / templates / default / backup-db.erb
index 3ad1020c4d7dfba5a98abaaf178df19e61292186..4f52e24d1f0468f174af9ba1cfa782d796916c5e 100644 (file)
@@ -3,10 +3,11 @@
 # DO NOT EDIT - This file is being maintained by Chef
 
 D=`date +%Y-%m-%d`
-F=/tmp/osm-${D}.dmp
+F=/store/backup/osm-${D}.dmp
 
 pg_dump --user=backup --format=custom --file=$F openstreetmap
 
+export RSYNC_RSH="ssh -ax -c arcfour"
 rsync $F backup.openstreetmap.org::backup
 
 rm -f $F