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.
 
 
 
 
 
 

7 lines
359 B

#!/bin/sh
/usr/bin/mysqldump --user={{ ampache_mysql_user }} \
--password={{ ampache_mysql_pass }} \
--host={{ ampache_mysql_server }} \
--quick --single-transaction \
--add-drop-table {{ ampache_mysql_db }} | lz4 -c > {{ ampache_root_dir }}/db_dumps/{{ ampache_mysql_db }}.sql.lz4