4 # DO NOT EDIT - This file is being maintained by Chef
6 T=$(mktemp -d -t -p /var/tmp forum.XXXXXXXXXX)
11 mysqldump --user=forum --password=<%= @passwords["database"] %> --opt forum > $T/forum-$D/forum.sql
12 ln -s /srv/forum.openstreetmap.org $T/forum-$D/www
14 export GZIP="--rsyncable -9"
15 export RSYNC_RSH="ssh -ax"
17 nice tar --create --gzip --dereference --directory=$T --file=$T/$B forum-$D
18 nice rsync $T/$B backup::backup