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