X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/06b8c2609dac3b834dcf33af1f394354771a3fa5..1fdcbdc3d4f9fa8b6f371053d36c10a21e27005d:/cookbooks/db/templates/default/backup-db.erb diff --git a/cookbooks/db/templates/default/backup-db.erb b/cookbooks/db/templates/default/backup-db.erb index 78ae1c8f7..573f31a5e 100644 --- a/cookbooks/db/templates/default/backup-db.erb +++ b/cookbooks/db/templates/default/backup-db.erb @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/sh -e # DO NOT EDIT - This file is being maintained by Chef @@ -6,6 +6,6 @@ D=`date +%Y-%m-%d` F=/store/backup/osm-${D}.dmp pg_dump --user=backup --format=custom --file=$F openstreetmap && \ - rsync --rsh="ssh -ax" $F backup.openstreetmap.org::backup + rsync $F backup.openstreetmap.org::backup rm -f $F