#!/bin/sh -e

if [ x$1 = x ]; then
	echo "I need to know what project to work on!!"
	exit 1
fi

psql -d stats -f clearday.sql -v ProjectID=$1 || exit 2
psql -d stats -f backup.sql -v ProjectID=$1 || exit 2
