mirror of
https://gitea.0xace.cc/ansible-galaxy/wal-g.git
synced 2025-07-03 18:33:09 +00:00
add enable/disable backup support
This commit is contained in:
@ -2,6 +2,9 @@ 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"
|
||||
@ -12,6 +15,7 @@ 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
|
||||
@ -35,6 +39,8 @@ wal_g_default_config: # more options see https://github.com/wal-g/wal-g#configu
|
||||
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"
|
||||
|
||||
@ -42,4 +48,6 @@ 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"
|
||||
|
Reference in New Issue
Block a user