]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/nominatim/templates/default/backup-nominatim.erb
Add #osm-cwg to irc.osm.org drop-down
[chef.git] / cookbooks / nominatim / templates / default / backup-nominatim.erb
index 2e008ba422a2fe3900b1ee70894c9033980148ae..2b73ab80605ab84fb7db3d4a6c0a872577ea818b 100644 (file)
@@ -12,9 +12,9 @@
 D=`date +%Y-%m-%d`
 F=/tmp/nominatim-${D}.dmp
 
-pg_dump --file=$F -F c -Z 9 -t file -t '*columns' -t 'import_polygon_*' -t import_status -t place_addressline -t placex -t search_name -t 'seq_*' -t word <%= node[:nominatim][:database][:dbname] %>
+pg_dump --file=$F -F c -Z 9 -t file -t '*columns' -t 'import_polygon_*' -t import_status -t place_addressline -t location_property_osmline -t placex -t search_name -t 'seq_*' -t word <%= @db %>
 
-export RSYNC_RSH="ssh -ax -c arcfour"
-rsync $F backup.openstreetmap.org::backup
+export RSYNC_RSH="ssh -ax"
+rsync --preallocate --fuzzy $F backup.openstreetmap.org::backup
 
 rm -f $F