#!/bin/sh

# DO NOT EDIT - This file is being maintained by Chef

D=`date +%Y-%m-%d`
F=/tmp/osm-${D}.dmp

pg_dump --user=backup --format=custom --file=$F openstreetmap

export RSYNC_RSH="ssh -ax -c arcfour"
rsync $F backup.openstreetmap.org::backup

rm -f $F

#!/bin/sh

# DO NOT EDIT - This file is being maintained by Chef

D=`date +%Y-%m-%d`
F=/store/backup/osm-${D}.dmp

pg_dump --user=backup --format=custom --file=$F openstreetmap

export RSYNC_RSH="ssh -ax -c arcfour"
rsync $F backup.openstreetmap.org::backup

rm -f $F

Use /store/backup for the in progress db backup dump
Use /store/backup for the in progress db backup dump
