29 lines
391 B
Bash
Executable File
29 lines
391 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
|