Update to 2023-04-11 15:00

This commit is contained in:
Daniel Berteaud
2023-04-11 15:00:42 +02:00
parent 2a3d56fddc
commit 138c0bf3b2
55 changed files with 113 additions and 79 deletions

View File

@@ -6,7 +6,7 @@ set -eo pipefail
{% if mailman_db_engine == 'postgres' %}
{% if mailman_db_server not in ['localhost', '127.0.0.1'] %}
PGPASSWORD={{ mailman_db_pass | quote }} \
/usr/pgsql-14/bin/pg_dump \
/usr/pgsql-15/bin/pg_dump \
--clean \
--create \
--username={{ mailman_db_user | quote }} \
@@ -15,7 +15,7 @@ PGPASSWORD={{ mailman_db_pass | quote }} \
{{ mailman_db_name[db] }} | \
zstd -c > {{ mailman_root_dir }}/backup/{{ mailman_db_name[db] }}.sql.zst
{% else %}
su - postgres -c "/usr/pgsql-14/bin/pg_dump --clear {{ mailman_db_name[db] }}" | \
su - postgres -c "/usr/pgsql-15/bin/pg_dump --clear {{ mailman_db_name[db] }}" | \
{% endif %}
zstd -c > {{ mailman_root_dir }}/backup/{{ mailman_db_name[db] }}.sql.zst
{% else %}