mirror of
https://git.lapiole.org/dani/ansible-roles.git
synced 2025-04-12 00:03:17 +02:00
10 lines
391 B
Django/Jinja
10 lines
391 B
Django/Jinja
#!/bin/sh
|
|
|
|
set -eo pipefail
|
|
|
|
/usr/bin/mysqldump --user={{ matomo_db_user | quote }} \
|
|
--password={{ matomo_db_pass | quote }} \
|
|
--host={{ matomo_db_server | quote }} \
|
|
--quick --single-transaction \
|
|
--add-drop-table {{ matomo_db_name | quote }} | zstd -c > {{ matomo_root_dir }}/backup/{{ matomo_db_name }}.sql.zst
|