30 lines
392 B
Bash
Executable File
30 lines
392 B
Bash
Executable File
#!/bin/bash
|
|
|
|
SCHEMAS=(
|
|
account
|
|
bi
|
|
bs
|
|
cache
|
|
edi
|
|
hedera
|
|
nst
|
|
pbx
|
|
postgresql
|
|
salix
|
|
stock
|
|
util
|
|
vn
|
|
vn2008
|
|
vncontrol
|
|
)
|
|
|
|
mysqldump \
|
|
--defaults-file=config.production.ini \
|
|
--default-character-set=utf8 \
|
|
--no-data --comments \
|
|
--triggers --routines --events \
|
|
--databases \
|
|
${SCHEMAS[@]} \
|
|
> dump/structure.sql
|
|
|