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
362 B

#!/bin/bash -e
/usr/bin/mysqldump --user='{{ gitea_db_user }}' \
--password='{{ gitea_db_pass }}' \
--host={{ gitea_db_server }} \
--quick --single-transaction \
--add-drop-table {{ gitea_db_name }} | \
lz4 -c > {{ gitea_root_dir }}/db_dumps/{{ gitea_db_name }}.sql.lz4