... | ... | @@ -40,7 +40,8 @@ Normally, we take backups by simply copying the datavolume, but in the case of M |
|
|
|
|
|
docker exec -i koha_mysql_slave bash -c \
|
|
|
'mysqldump -uroot -p$MYSQL_PASSWORD $MYSQL_DATABASE \
|
|
|
--single-transaction --master-data=2 --flush-logs --routines --triggers --events --hex-blob' \
|
|
|
--single-transaction --master-data=2 --flush-logs \
|
|
|
--routines --triggers --events --hex-blob' \
|
|
|
> /data/dumps/`date +%F`/koha_mysqldump_full.sql
|
|
|
|
|
|
At OPL we are running the backup against a read-only slave, as not to create additional burden on the master DB.
|
... | ... | |