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.

10 lines
302 B

#!/bin/bash -e
PGPASSWORD='{{ miniflux_db_pass }}' /usr/pgsql-13/bin/pg_dump \
--clean \
--username={{ miniflux_db_user | quote }} \
--host={{ miniflux_db_server | quote }} \
{{ miniflux_db_name | quote }} | \
zstd -c > {{ miniflux_root_dir }}/backup/{{ miniflux_db_name | quote }}.sql.zst