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.
10 lines
160 B
Django/Jinja
10 lines
160 B
Django/Jinja
[Unit]
|
|
Description=Daily PostgreSQL backup with WAL-G
|
|
|
|
[Timer]
|
|
OnCalendar={{ wal_g_pg_backup_timer_schedule }}
|
|
Persistent=yes
|
|
|
|
[Install]
|
|
WantedBy=timers.target
|