#!/bin/bash -e /usr/bin/mysqldump --user={{ mayan_db_user | quote }} \ --password={{ mayan_db_pass | quote }} \ --host={{ mayan_db_server | quote }} \ --quick --single-transaction \ --add-drop-table {{ mayan_db_name | quote }} | zstd -c > {{ mayan_root_dir }}/backup/{{ mayan_db_name }}.sql.zst