#!/bin/sh
#
# Script to dump the database to a file
#

if [ -z "$1" ] ; then
	echo "Pass the database name as the first parameter"
	exit
fi

pg_dump -O -a -D $1 > db.dump
