X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/3fed7e7fb72c4bc09aaed299d906c62fbd57e202..4580187facb6dad0c10940fe92b39f6aaa859823:/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 f5cbf657e..418195074 100644 --- a/cookbooks/nominatim/templates/default/backup-nominatim.erb +++ b/cookbooks/nominatim/templates/default/backup-nominatim.erb @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash -e # DO NOT EDIT - This file is being maintained by Chef @@ -14,6 +14,7 @@ F=/tmp/nominatim-${D}.dmp pg_dump --file=$F -F c -Z 9 -t 'country' -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] %> +export RSYNC_RSH="ssh -ax -c arcfour" rsync $F backup.openstreetmap.org::backup rm -f $F