docs: explain disposable Barman recovery verification

Author: danielgaskinsCreated Sep 29, 2026Updated Sep 29, 2026

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:

  1. Select a completed Backup, record .status.backupId, and choose a PITR target within archived WAL history when relevant.
  2. Recover under a different Cluster name with adequate storage, the source PostgreSQL image, and the original archive serverName. Do not copy the source Cluster's spec.plugins into the temporary Cluster.
  3. Prefer a separate recovery ObjectStore pointing to the same archive with list/read permissions and verify those credentials cannot write.
  4. 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