Ansible roles
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

9 lines
381 B

#!/bin/sh
set -eo pipefail
/usr/bin/mysqldump --user={{ etherpad_db_user }} \
--password={{ etherpad_db_pass | quote }} \
--host={{ etherpad_db_server }} \
--quick --single-transaction \
--add-drop-table {{ etherpad_db_name }} | zstd -c > {{ etherpad_root_dir }}/db_dumps/{{ etherpad_db_name }}.sql.zst