]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/db/templates/default/backup-db.erb
Restart squid if any statistics counters have wrapped
[chef.git] / cookbooks / db / templates / default / backup-db.erb
index 04eaeebd7c3c0028959cef731ce6ef9939b686f3..492dded40be76318cc17b0612f4275237965834b 100644 (file)
@@ -3,11 +3,11 @@
 # DO NOT EDIT - This file is being maintained by Chef
 
 D=`date +%Y-%m-%d`
 # 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
 
 
 pg_dump --user=backup --format=custom --file=$F openstreetmap
 
-export RSYNC_RSH="ssh -ax -c arcfour"
+export RSYNC_RSH="ssh -ax"
 rsync $F backup.openstreetmap.org::backup
 
 rm -f $F
 rsync $F backup.openstreetmap.org::backup
 
 rm -f $F