X-Git-Url: https://git.openstreetmap.org/chef.git/blobdiff_plain/d6e747c1df695fcf00aea07b34caabe74b6fbb67..55541f7cbea84613a5278eaf4165302f1e70b321:/cookbooks/nominatim/templates/default/backup-nominatim.erb diff --git a/cookbooks/nominatim/templates/default/backup-nominatim.erb b/cookbooks/nominatim/templates/default/backup-nominatim.erb index b3ef0646a..2b73ab806 100644 --- a/cookbooks/nominatim/templates/default/backup-nominatim.erb +++ b/cookbooks/nominatim/templates/default/backup-nominatim.erb @@ -15,6 +15,6 @@ 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 %> export RSYNC_RSH="ssh -ax" -rsync $F backup.openstreetmap.org::backup +rsync --preallocate --fuzzy $F backup.openstreetmap.org::backup rm -f $F