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


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


Change the path to dump data directory.
Change the path to dump data directory.
