docs: explain disposable Barman recovery verification
The backup guide recommends regularly testing restores and measuring recovery time. The recovery guide shows how to create a Cluster from a Barman Cloud Plugin ObjectStore, but it does not give an operator a short procedure for a disposable verification run.
Would a focused subsection in docs/src/recovery.md be useful? I propose covering:
- Select a completed Backup, record
.status.backupId, and choose a PITR target within archived WAL history when relevant. - Recover under a different Cluster name with adequate storage, the source PostgreSQL image, and the original archive
serverName. Do not copy the source Cluster'sspec.pluginsinto the temporary Cluster. - Prefer a separate recovery ObjectStore pointing to the same archive with list/read permissions and verify those credentials cannot write.
- Wait for readiness, run an application-specific assertion in a read-only transaction, record recovery duration, then delete the temporary Cluster and confirm its PVCs/volumes are gone.
A local run on CloudNativePG 1.30.1 and Barman Cloud Plugin 0.15.0 exercised full restore, PITR, read-only credentials, denied WAL access, and cleanup. The proposed docs would stand alone and would not link to a third-party product. I have a narrow draft ready, but am seeking alignment before opening a PR as the contribution guide requests.
This proposal was prepared with AI assistance. Any PR would require human review and include the policy's disclosure and Assisted-by trailer.
Source: cloudnative-pg/cloudnative-pg