scripts/dumpdb.sh
changeset 492 89f8e4266b1f
parent 487 dad3fd6464b8
--- a/scripts/dumpdb.sh	Thu Jan 20 06:13:40 2011 +0530
+++ b/scripts/dumpdb.sh	Thu Jan 20 06:22:10 2011 +0530
@@ -1,6 +1,6 @@
 #! /bin/bash
 
-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
+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