Database backup variables

Set the database backup variables to define the object storage bucket, endpoint, region, and credentials for the database backups.

The installer stores the object storage credentials for the database backups in the percona-s3backup-creds Secret. The backup paths derive from DB_S3_BACKUP_REPO_NAME in the form /pgbackrest/pg-operator/{db}/{repo_name}. Override an individual CLUSTER_VAR_db_s3_backup_path_ variable only when you need a custom layout.

Table 1. Database backup variables
VariableDescriptionMandatoryDefault
CLUSTER_VAR_db_s3_backup_repo_bucketSpecifies the bucket that holds the database backups.YesNone
CLUSTER_VAR_db_s3_backup_repo_endpointSpecifies the S3-compatible endpoint URL.YesNone
CLUSTER_VAR_db_s3_backup_repo_regionSpecifies the region or the object store name.YesNone
DB_S3_BACKUP_REPO_NAMESpecifies the backup repository name that the backup paths derive from.Norepo2
SECRET_S3_ACCESS_KEYSpecifies the access key for the backup bucket.YesNone
SECRET_S3_SECRET_KEYSpecifies the secret key for the backup bucket.YesNone