Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ spec:
backups:
pgbackrest:
global:
repo1-retention-full: '30' # Retain backups for 30 days. All full and incremental after this will be removed.
repo1-retention-full: '14' # Retain backups for 14 days. All full and incremental after this will be removed.
repo1-retention-full-type: time
# Block incremental: back up only the changed blocks within a file rather
# than re-copying the whole changed file segment. Prevents backup/WAL
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ spec:
backups:
pgbackrest:
global:
repo1-retention-full: '30'
repo1-retention-full: '14'
repo1-retention-full-type: time
# Block incremental: back up only the changed blocks within a file rather
# than re-copying the whole changed file segment, preventing backup/WAL
Expand Down
2 changes: 2 additions & 0 deletions docs-md/operations/ENVIRONMENT_CONFIGURATION.md
Original file line number Diff line number Diff line change
Expand Up @@ -156,6 +156,8 @@ See [LOAD_TESTING.md](../benchmarking/LOAD_TESTING.md) for load-test usage of `m
|----------|---------|-------------|
| `PG_BACKUP_STORAGE_SIZE` | `10Gi` | Backup PVC size for both `app-pg` and `temporal-pg` PostgresCluster resources. Reduce for test instances to stay within namespace backup storage quotas (e.g., `2Gi`). |

pgBackRest retention for both PostgresClusters is **14 days** (`repo1-retention-full` / `repo1-retention-full-type: time` in the base manifests). Schedule is one full backup daily plus hourly incrementals. Older fulls and their dependent incrementals are expired after 14 days.

### Database SSL

| Variable | Description |
Expand Down
3 changes: 2 additions & 1 deletion docs-md/operations/KUSTOMIZE_INSTANCE_TEMPLATE.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,9 @@ Crunchy PostgreSQL operator creates secrets with names derived from the Postgres
#### PostgresCluster databaseInitSQL
- **Temporal PostgresCluster**: `databaseInitSQL.name` patched to `<instance>-temporal-postgres-init-sql` (Kustomize doesn't auto-update this CRD field)

#### PostgresCluster backup PVC sizes
#### PostgresCluster backup PVC sizes and retention
- Both PostgresClusters (`app-pg`, `temporal-pg`) have their pgBackRest repo volume size patched to `__PG_BACKUP_STORAGE_SIZE__` (default `10Gi`), so test instances can use smaller backup storage
- Backup retention is **14 days** (time-based) with a daily full backup and hourly incrementals (set in the base PostgresCluster manifests, not via env overlay)

## Instance Isolation

Expand Down
Loading