Skip to content

Backup & Restore

To create one time backup (please check that configuration has manual section as follows here https://access.crunchydata.com/documentation/postgres-operator/latest/tutorials/backups-disaster-recovery/backup-management)

kubectl annotate -n inma-postgresql postgrescluster inmadbs postgres-operator.crunchydata.com/pgbackrest-backup="$(date)"

To create another one

kubectl annotate -n inma-postgresql postgrescluster inmadbs --overwrite postgres-operator.crunchydata.com/pgbackrest-backup="$(date)"