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

#!/bin/bash -e
PGPASSWORD='{{ funkwhale_db_pass }}' /usr/pgsql-11/bin/pg_dump \
--clean \
--username={{ funkwhale_db_user }} \
--host={{ funkwhale_db_server }} \
{{ funkwhale_db_name }} | \
lz4 -c > {{ funkwhale_root_dir }}/db_dumps/{{ funkwhale_db_name }}.sql.lz4