script for creating db files
This commit is contained in:
parent
b0bad6ba21
commit
398dd22959
1 changed files with 10 additions and 0 deletions
10
sql/dump-db.sql
Normal file
10
sql/dump-db.sql
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
A="pg_dump -d -U phpcompta "
|
||||
B=`date '+%Y%m%d-%H%M%S'`
|
||||
cp account_repository.sql $B-account_repository.sql
|
||||
cp demo.sql $B-demo.sql
|
||||
cp mod-be.sql $B-mod-be.sql
|
||||
|
||||
$A account_repository > account_repository.sql
|
||||
$A dossier1 > demo.sql
|
||||
$A mod1 > mod-be.sql
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue