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.

8 lines
324 B

#!/bin/sh
/usr/bin/mysqldump --user={{ pki_db_user }} \
--password={{ pki_db_pass }} \
--host={{ pki_db_server }} \
--quick --single-transaction \
--add-drop-table {{ pki_db_name }} | lz4 -c > {{ pki_root_dir }}/db_dumps/{{ pki_db_name }}.sql.lz4