]> git.openstreetmap.org Git - chef.git/commitdiff
Use /store/backup for the in progress db backup dump
authorTom Hughes <tom@compton.nu>
Mon, 17 Mar 2014 21:15:07 +0000 (21:15 +0000)
committerTom Hughes <tom@compton.nu>
Mon, 17 Mar 2014 21:15:07 +0000 (21:15 +0000)
cookbooks/db/templates/default/backup-db.erb

index 04eaeebd7c3c0028959cef731ce6ef9939b686f3..4f52e24d1f0468f174af9ba1cfa782d796916c5e 100644 (file)
@@ -3,7 +3,7 @@
 # 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