wal-g/defaults/main.yaml
2023-07-31 23:44:01 +03:00

53 lines
1.5 KiB
YAML

wal_g_version: "2.0.1"
wal_g_install_repo: true
wal_g_pg: false
wal_g_pg_binary_name: "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: false
wal_g_backup_schedule: ""
wal_g_backup_retention_schedule: ""
wal_g_backup_retention_number: 7
wal_g_backup_permanent_schedule: ""
# If backuping through proxy
#wal_g_http_proxy: ''
#wal_g_https_proxy: ''
wal_g_postgresql_supported_versions:
- 13
- 14
- 15
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"