Skip to content

Rate this page
Thanks for your feedback
Thank you! The feedback has been submitted.

Get free database assistance or contact our experts for personalized support.

Configure storage for backups

Configure backup storage for your backup repositories in the backups.pgbackrest.repos section of the deploy/cr.yaml configuration file.

You can use the following storage types with the Operator:

  • Amazon S3 or S3-compatible storage — Use native AWS S3 buckets on Amazon EKS or any other Kubernetes platform. Or, use compatible services like MinIO and others that expose an S3-compatible API. On EKS, you can authenticate with S3 access keys or IAM roles for Service Accounts.
  • Google Cloud Storage — Use Google Cloud object storage.
  • Azure Blob Storage (tech preview) — Use Microsoft Azure Blob Storage.
  • Persistent Volume — Use a persistent volume attached to the pgBackRest Pod that is created together with the PostgreSQL cluster.

For cloud object storage, you typically create a Kubernetes Secret with credentials and reference it in backups.pgbackrest.configuration. If you use IAM roles on Amazon EKS, you don’t need to create a Secret.

Storage setup guides

Select the appropriate guide below based on your chosen storage type:

Next steps

Make an on-demand backup Make a scheduled backup


Last update: May 22, 2026
Created: July 4, 2023