mirror of
https://git.lapiole.org/dani/ansible-roles.git
synced 2025-04-25 14:43:29 +02:00
12 lines
387 B
Plaintext
12 lines
387 B
Plaintext
![]() |
#!/bin/sh
|
||
|
|
||
|
set -eo pipefail
|
||
|
|
||
|
/usr/bin/mysqldump --user={{ offen_db_user | quote }} \
|
||
|
--password={{ offen_db_pass | quote }} \
|
||
|
--host={{ offen_db_server }} \
|
||
|
--quick --single-transaction \
|
||
|
--add-drop-table {{ offen_db_name }} | \
|
||
|
zstd -c > {{ offen_root_dir }}/backup/{{ offen_db_name }}.sql.zst
|
||
|
|