From: Sarah Hoffmann Date: Wed, 27 Jun 2018 20:37:34 +0000 (+0200) Subject: nominatim: add postcode and country tables to backup X-Git-Url: https://git.openstreetmap.org/chef.git/commitdiff_plain/8b30d64dc31c38fff3613794e599a82feaec0635?ds=sidebyside nominatim: add postcode and country tables to backup --- diff --git a/cookbooks/nominatim/templates/default/backup-nominatim.erb b/cookbooks/nominatim/templates/default/backup-nominatim.erb index 2b73ab806..757546012 100644 --- a/cookbooks/nominatim/templates/default/backup-nominatim.erb +++ b/cookbooks/nominatim/templates/default/backup-nominatim.erb @@ -12,7 +12,7 @@ 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