scripts/dumpdb.sh
author Madhusudan.C.S <madhusudancs@gmail.com>
Tue, 01 Feb 2011 15:02:52 +0530
changeset 546 6393b77c3c68
parent 492 89f8e4266b1f
permissions -rwxr-xr-x
Change the textbook list templatetag to task list template tag.

#! /bin/bash

pg_dump pytask -U pytask -W > ~/pytaskdbdumps/dbdump`date +%Y%m%d%H%M%s`.dump
./bin/django dumpscript > ~/pytaskdbdumps/dbdumpscript`date +%Y%m%d%H%M%s`.dump
./bin/django dumpdata > ~/pytaskdbdumps/dbdumpdata`date +%Y%m%d%H%M%s`.dump