Files
configpolicy/roles/wal-g-pg/handlers/main.yml
Dustin C. Hatch 090ebb0c1b r/wal-g-pg: Schedule daily backups
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.
2024-07-02 20:44:29 -05:00

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