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
- Target the active node and run
bao operator raft snapshot save raft.snap; store the snapshot securely with a recorded checksum. - Preserve server configuration and TLS references, and verify access to required seal material separately under existing key custody controls.
- 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 statusandbao operator raft list-peerson the recovery target. - Verify a designated test secret and policy can be used without printing the secret value or contacting production consumers.
