OpenBao backup and restore

Use native Raft snapshots for OpenBao data, with deployment and seal dependencies preserved separately.

Last updated

On this page (5)

OpenBao ยท Backup and restore

Before you start

  • Raft as the storage backend, not just ha_storage.
  • Authorized snapshot operator.
  • Isolated compatible recovery cluster and a documented compatible seal/unseal or KMS setup.

Procedure

  1. Target the active node and run bao operator raft snapshot save raft.snap; store the snapshot securely with a recorded checksum.
  2. Preserve server configuration and TLS references, and verify access to required seal material separately under existing key custody controls.
  3. Confirm the CLI points directly to the active node of the isolated recovery cluster. Only there run bao operator raft snapshot restore raft.snap; if the seal or target checks fail, stop the rehearsal and investigate instead of bypassing them.

Verify the result

  • Run bao status and bao operator raft list-peers on the recovery target.
  • Verify a designated test secret and policy can be used without printing the secret value or contacting production consumers.

Official documentation

Have Pilae operate OpenBao

We agree what to monitor, how to recover and who responds when something breaks. Bring your existing deployment or start with a new one.