#!/bin/sh

TARGET_DIR=/mnt/aux/old-genesis-wiki/`date +%Y.%m.%d-%H.%M`

mkdir -p $TARGET_DIR

cd $TARGET_DIR

echo "Backup wiki DB"

mysqldump -h mysql.csail.mit.edu -pgenesis+123+ -u \
    genesis genesis > ./genesis-old-wiki.sql


