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