Change the path to dump data directory.
authorMadhusudan.C.S <madhusudancs@gmail.com>
Thu, 20 Jan 2011 06:02:04 +0530
changeset 487 dad3fd6464b8
parent 486 c1beaa06a767
child 488 c4e9771a274b
Change the path to dump data directory.
scripts/dumpdb.sh
--- a/scripts/dumpdb.sh	Thu Jan 20 06:01:49 2011 +0530
+++ b/scripts/dumpdb.sh	Thu Jan 20 06:02:04 2011 +0530
@@ -1,6 +1,6 @@
 #! /bin/bash
 
-pg_dump pytask -U pytask -W > ~/dumps/dbdump`date +%Y%m%d`.dump
-./bin/django dumpscript > ~/dumps/dbdumpscript`date +%Y%m%d`.dump
-./bin/django dumpdata > ~/dumps/dbdumpdata`date +%Y%m%d`.dump
+pg_dump pytask -U pytask -W > ~/pytaskdbdumps/dbdump`date +%Y%m%d`.dump
+./bin/django dumpscript > ~/pytaskdbdumps/dbdumpscript`date +%Y%m%d`.dump
+./bin/django dumpdata > ~/pytaskdbdumps/dbdumpdata`date +%Y%m%d`.dump