X-Git-Url: https://git.openstreetmap.org/chef.git/blobdiff_plain/e9d337c2a49d120a8dcb508879d74f6bab5b84d9..961669d212a8da9dfe3d6f89e22e794b26f6aa0e:/cookbooks/nominatim/templates/default/backup-nominatim.erb?ds=sidebyside diff --git a/cookbooks/nominatim/templates/default/backup-nominatim.erb b/cookbooks/nominatim/templates/default/backup-nominatim.erb index 2e008ba42..2b73ab806 100644 --- a/cookbooks/nominatim/templates/default/backup-nominatim.erb +++ b/cookbooks/nominatim/templates/default/backup-nominatim.erb @@ -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