2022-02-05 20:32:54 +00:00
---
2022-07-16 20:59:21 +00:00
# Project source code URL: https://github.com/prodrigestivill/docker-postgres-backup-local
2022-02-05 20:32:54 +00:00
2021-03-16 09:05:07 +00:00
matrix_postgres_backup_enabled : false
2021-02-11 16:18:25 +00:00
2021-03-16 09:18:26 +00:00
matrix_postgres_backup_connection_hostname : "matrix-postgres"
matrix_postgres_backup_connection_port : 5432
matrix_postgres_backup_connection_username : "matrix"
matrix_postgres_backup_connection_password : ""
2021-02-11 16:18:25 +00:00
matrix_postgres_backup_extra_opts : "-Z9 --schema=public --blobs"
matrix_postgres_backup_schedule : "@daily"
2021-04-05 08:38:23 +00:00
matrix_postgres_backup_keep_days : 7
matrix_postgres_backup_keep_weeks : 4
matrix_postgres_backup_keep_months : 12
2021-02-11 16:18:25 +00:00
matrix_postgres_backup_healthcheck_port : "8080"
2021-04-05 07:05:41 +00:00
matrix_postgres_backup_databases : [ ]
2021-02-11 16:18:25 +00:00
matrix_postgres_backup_path : "{{ matrix_base_data_path }}/postgres-backup"
2021-04-05 08:32:19 +00:00
# Specifies where the Postgres data is.
# We use this to autodetect the Postgres version during playbook runtime (by parsing the `PG_VERSION` file contained there).
# You can leave this empty to prevent auto-detection.
matrix_postgres_backup_postgres_data_path : ""
2021-02-11 16:18:25 +00:00
matrix_postgres_backup_architecture : amd64
2022-10-27 03:45:37 +00:00
# matrix_postgres_backup_docker_image_distro controls whether we use Alpine-based images (`-alpine`) or the normal Debian-based images.
2021-02-11 16:18:25 +00:00
# Alpine-based Postgres images are smaller and we usually prefer them, but they don't work on ARM32 (tested on a Raspberry Pi 3 running Raspbian 10.7).
# On ARM32, `-alpine` images fail with the following error:
# > LOG: startup process (PID 37) was terminated by signal 11: Segmentation fault
2022-10-27 03:45:37 +00:00
matrix_postgres_backup_docker_image_distro : "{{ 'alpine' if matrix_postgres_backup_architecture in ['amd64', 'arm64'] else 'debian' }}"
matrix_postgres_backup_docker_image_v9 : "{{ matrix_container_global_registry_prefix }}prodrigestivill/postgres-backup-local:9.6-{{ matrix_postgres_backup_docker_image_distro }}-2aa03d1"
matrix_postgres_backup_docker_image_v10 : "{{ matrix_container_global_registry_prefix }}prodrigestivill/postgres-backup-local:10-{{ matrix_postgres_backup_docker_image_distro }}-2cf00a5"
matrix_postgres_backup_docker_image_v11 : "{{ matrix_container_global_registry_prefix }}prodrigestivill/postgres-backup-local:11-{{ matrix_postgres_backup_docker_image_distro }}-2cf00a5"
matrix_postgres_backup_docker_image_v12 : "{{ matrix_container_global_registry_prefix }}prodrigestivill/postgres-backup-local:12-{{ matrix_postgres_backup_docker_image_distro }}-2cf00a5"
matrix_postgres_backup_docker_image_v13 : "{{ matrix_container_global_registry_prefix }}prodrigestivill/postgres-backup-local:13-{{ matrix_postgres_backup_docker_image_distro }}-2cf00a5"
matrix_postgres_backup_docker_image_v14 : "{{ matrix_container_global_registry_prefix }}prodrigestivill/postgres-backup-local:14-{{ matrix_postgres_backup_docker_image_distro }}-2cf00a5"
2021-12-07 17:43:14 +00:00
matrix_postgres_backup_docker_image_latest : "{{ matrix_postgres_backup_docker_image_v14 }}"
2021-02-11 16:18:25 +00:00
# This variable is assigned at runtime. Overriding its value has no effect.
matrix_postgres_backup_docker_image_to_use : '{{ matrix_postgres_backup_docker_image_latest }}'
2021-04-05 08:32:19 +00:00
matrix_postgres_backup_docker_image_force_pull : "{{ matrix_postgres_backup_docker_image_to_use.endswith(':latest') }}"