]> git.openstreetmap.org Git - chef.git/commitdiff
nominatim: add postcode and country tables to backup
authorSarah Hoffmann <lonvia@denofr.de>
Wed, 27 Jun 2018 20:37:34 +0000 (22:37 +0200)
committerSarah Hoffmann <lonvia@denofr.de>
Wed, 27 Jun 2018 20:37:34 +0000 (22:37 +0200)
cookbooks/nominatim/templates/default/backup-nominatim.erb

index 2b73ab80605ab84fb7db3d4a6c0a872577ea818b..7575460129830c1266ccd44c96f4a4a321044d1c 100644 (file)
@@ -12,7 +12,7 @@
 D=`date +%Y-%m-%d`
 F=/tmp/nominatim-${D}.dmp
 
 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 location_property_osmline -t placex -t search_name -t 'seq_*' -t word <%= @db %>
+pg_dump --file=$F -F c -Z 9 -t file -t country_osm_grid -t '*columns' -t 'import_polygon_*' -t import_status -t place_addressline -t location_property_osmline -t location_postcode -t placex -t search_name -t 'seq_*' -t word <%= @db %>
 
 export RSYNC_RSH="ssh -ax"
 rsync --preallocate --fuzzy $F backup.openstreetmap.org::backup
 
 export RSYNC_RSH="ssh -ax"
 rsync --preallocate --fuzzy $F backup.openstreetmap.org::backup