3 # DO NOT EDIT - This file is being maintained by Chef
5 # Partial read-only backup only, to restore:
7 # ./utils/setup.php --create-db --setup-db --create-functions --create-partition-functions
8 # pg_restore --no-tablespaces -O -d nominatim $F
9 # ./utils/setup.php --create-functions --create-partition-functions
13 F=/tmp/nominatim-${D}.dmp
15 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 %>
17 export RSYNC_RSH="ssh -ax"
18 rsync --preallocate --fuzzy $F backup.openstreetmap.org::backup