wal-g-pg/defaults/main.yaml

56 lines
1.6 KiB
YAML

wal_g_version: "3.0.0"
wal_g_install_repo: true
wal_g_pg: false
wal_g_pg_binary: "/usr/bin/wal-g-pg"
wal_g_pg_user: "postgres"
wal_g_pg_database: "postgres"
wal_g_restore: false
wal_g_config_name: ".walg.json"
wal_g_restore_config_name: ".walg-restore.json"
wal_g_pg_config_owner: "postgres"
wal_g_pg_config_group: "postgres"
wal_g_pg_backup_owner: "postgres"
wal_g_pg_backup_group: "postgres"
wal_g_pg_major_version: "15"
wal_g_backup_enable: true
wal_g_backup_schedule: "*-*-* 00:00:00"
wal_g_backup_permanent_enable: false
wal_g_backup_permanent_schedule: "*-*-* 05:00:00"
wal_g_backup_retention_enable: false
wal_g_backup_retention_schedule: "*-*-* 10:00:00"
wal_g_backup_retention_number: 7
# If backuping through proxy
#wal_g_http_proxy: ''
#wal_g_https_proxy: ''
wal_g_postgresql_supported_versions:
- 13
- 14
- 15
- 16
wal_g_default_config: # more options see https://github.com/wal-g/wal-g#configuration
# AWS_ACCESS_KEY_ID: "secret-key"
# AWS_SECRET_ACCESS_KEY: "access-key"
# AWS_ENDPOINT: "https://s3.example.com"
# WALG_S3_PREFIX: "s3://bucket"
# AWS_S3_FORCE_PATH_STYLE: "true"
WALG_COMPRESSION_METHOD: "brotli"
PGDATA: "{{ wal_g_pg_data_dir }}"
PGHOST: "/var/run/postgresql"
PGUSER: "{{ wal_g_pg_user }}"
PGDATABASE: "{{ wal_g_pg_database }}"
# WALG_LIBSODIUM_KEY: "d82560ddab2b096c56ea8c6573dfdf29de8cd6f2bb5e672d1d3b5a89749b8cbd"
WALG_LIBSODIUM_KEY_TRANSFORM: "hex"
wal_g_default_restore_config:
WALG_COMPRESSION_METHOD: "brotli"
PGDATA: "{{ wal_g_pg_data_dir }}"
PGHOST: "/var/run/postgresql"
PGUSER: "{{ wal_g_pg_user }}"
PGDATABASE: "{{ wal_g_pg_database }}"
WALG_LIBSODIUM_KEY_TRANSFORM: "hex"