WAL archives are not much good without a base backup onto which they can be applied. Thus, we need to schedule WAL-G to create and upload a backup periodically.
9 lines
216 B
YAML
9 lines
216 B
YAML
- name: load wal-g-postgresql selinux module
|
|
command:
|
|
semodule -i /usr/local/share/selinux/wal-g-postgresql.cil
|
|
|
|
- name: restart wal-g backup timer
|
|
systemd:
|
|
name: wal-g-backup.timer
|
|
state: restarted
|