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.
| Variable | Description | Mandatory | Default |
|---|---|---|---|
| CLUSTER_VAR_db_s3_backup_repo_bucket | Specifies the bucket that holds the database backups. | Yes | None |
| CLUSTER_VAR_db_s3_backup_repo_endpoint | Specifies the S3-compatible endpoint URL. | Yes | None |
| CLUSTER_VAR_db_s3_backup_repo_region | Specifies the region or the object store name. | Yes | None |
| DB_S3_BACKUP_REPO_NAME | Specifies the backup repository name that the backup paths derive from. | No | repo2 |
| SECRET_S3_ACCESS_KEY | Specifies the access key for the backup bucket. | Yes | None |
| SECRET_S3_SECRET_KEY | Specifies the secret key for the backup bucket. | Yes | None |
