scripts/dumpdb.sh
author Madhusudan.C.S <madhusudancs@gmail.com>
Tue, 01 Feb 2011 15:09:44 +0530
changeset 548 53b0071346c4
parent 492 89f8e4266b1f
permissions -rwxr-xr-x
comma in the display list should not appear after last tag element.

#! /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