postgres: migrate to backups via the barman plugin
This commit is contained in:
12
postgres/config/backup/scheduled_backup.yaml
Normal file
12
postgres/config/backup/scheduled_backup.yaml
Normal file
@@ -0,0 +1,12 @@
|
||||
apiVersion: postgresql.cnpg.io/v1
|
||||
kind: ScheduledBackup
|
||||
metadata:
|
||||
name: postgres-nightly
|
||||
spec:
|
||||
schedule: "0 0 4 * * *"
|
||||
backupOwnerReference: self
|
||||
cluster:
|
||||
name: weyma-pgsql
|
||||
method: plugin
|
||||
pluginConfiguration:
|
||||
name: barman-cloud.cloudnative-pg.io
|
||||
Reference in New Issue
Block a user