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.
|
|
|
#!/bin/bash -e
|
|
|
|
|
|
|
|
PGPASSWORD='{{ psono_db_pass }}' /usr/pgsql-11/bin/pg_dump \
|
|
|
|
--clean \
|
|
|
|
--username={{ psono_db_user }} \
|
|
|
|
--host={{ psono_db_server }} \
|
|
|
|
{{ psono_db_name }} | \
|
|
|
|
zstd -T0 -c > {{ psono_root_dir }}/backup/{{ psono_db_name }}.sql.zst
|