author | Madhusudan.C.S <madhusudancs@gmail.com> |
Thu, 20 Jan 2011 05:56:47 +0530 | |
changeset 483 | 5e9d16b5d5fb |
parent 482 | e782cc10ca01 |
child 484 | d2a4fcbe2fae |
scripts/dumpdb.sh | file | annotate | diff | comparison | revisions |
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/scripts/dumpdb.sh Thu Jan 20 05:56:47 2011 +0530 @@ -0,0 +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 +