scripts/dumpdb.sh
changeset 487 dad3fd6464b8
parent 483 5e9d16b5d5fb
child 492 89f8e4266b1f
equal deleted inserted replaced
486:c1beaa06a767 487:dad3fd6464b8
     1 #! /bin/bash
     1 #! /bin/bash
     2 
     2 
     3 pg_dump pytask -U pytask -W > ~/dumps/dbdump`date +%Y%m%d`.dump
     3 pg_dump pytask -U pytask -W > ~/pytaskdbdumps/dbdump`date +%Y%m%d`.dump
     4 ./bin/django dumpscript > ~/dumps/dbdumpscript`date +%Y%m%d`.dump
     4 ./bin/django dumpscript > ~/pytaskdbdumps/dbdumpscript`date +%Y%m%d`.dump
     5 ./bin/django dumpdata > ~/dumps/dbdumpdata`date +%Y%m%d`.dump
     5 ./bin/django dumpdata > ~/pytaskdbdumps/dbdumpdata`date +%Y%m%d`.dump
     6 
     6