3 # DO NOT EDIT - This file is being maintained by Chef
5 T=$(mktemp -d -t -p /var/tmp thinkup.XXXXXXXXXX)
10 mysqldump --user=thinkup --password=<%= @passwords["database"] %> --opt thinkup > $T/thinkup-$D/thinkup.sql
11 ln -s /srv/thinkup.openstreetmap.org $T/thinkup-$D/www
13 export GZIP="--rsyncable -9"
15 nice tar --create --gzip --dereference --directory=$T --file=$T/$B thinkup-$D
16 nice rsync $T/$B backup::backup