Files
configpolicy/roles/wal-g-pg/handlers/main.yml
Dustin C. Hatch 8b9cf1985a r/wal-g-pg: Schedule weekly delete jobs
WAL-G slows down significantly when too many backups are kept.  We need
to periodically clean up old backups to maintain a reasonable level of
performance, and also keep from wasting space with useless old backups.
2024-11-05 19:28:57 -06:00

14 lines
314 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
- name: restart wal-g delete timer
systemd:
name: wal-g-delete.timer
state: restarted