How to disable postgres Backup Job.

89 views
Skip to first unread message

Shahid Hussain

unread,
Jul 11, 2023, 12:15:12 PM7/11/23
to Postgres Operator
I am using PGO v5.3.0, which I installed using Helm. We have our own mechanism for taking backups and restoring data, so we want to disable the default backup Jobthat is provided by PGO. I tried deleting the backups section from the postgress.yaml StatefulSet file, but this did not work because the CRD expects backups to be a mandatory parameter.

How can I disable this job?

Thanks ,
Shahid

Shahid Hussain

unread,
Jul 19, 2023, 10:30:27 AM7/19/23
to Postgres Operator, Shahid Hussain

Hi!. Looking for some input here.

drew.s...@crunchydata.com

unread,
Jul 19, 2023, 7:50:53 PM7/19/23
to Postgres Operator, Shahid Hussain
Hello Shahid,

PostgresClusters require at least one pgBackRest repository and that a single backup be taken in the first pgBackRest repository defined in the cluster spec when the primary instance of the cluster comes online for the first time. As of right now, there is no way to opt out of these requirements. However, we do have stories in our dev backlog to consider making the initial backup, and the `backups` section as a whole, optional.

Regards,
Drew
Reply all
Reply to author
Forward
0 new messages