Vault
Recover to a replicated cluster
Enterprise
Appropriate Vault Enterprise license required
Recover and restore a discrete secret from an integrated storage snapshot to a replicated cluster.
Cannot recover discrete data from disabled mounts
You cannot read, list, or recover information from a snapshot for disabled mount paths. Even if you re-enable the same plugin at the same path, Vault treats it as a new mount with different internal identifiers and cannot associate the re-enabled mount with the underlying storage entries within the snapshot.
Before you start
- You must have an integrated storage snapshot. You can only restore data from automatically or manually saved snapshots for integrated storage.
- You must have a snapshot from the cluster targeted for restoration.
- The cluster must have mlock disabled.
- The cluster cannot have another snapshot loaded.
- You must have
recoverpermissions for the secret path you want to recover. - You must be restoring from a supported plugin. Not all secret paths support snapshot operations. Refer to the table below for supported plugins and paths.
| Plugin | Path | Supported snapshot operations | Min Vault version |
|---|---|---|---|
| cubbyhole | /:secret_name | recover, read, list | 1.20.0 |
| kv (v1) | /:secret_name | recover, read, list | 1.20.0 |
| ssh | /config/ca | recover, read | 1.20.3 |
| databases | /static-roles/:role_name | recover, read, list | 1.20.4 |
| databases | /static-creds/:role_name | read | 1.20.4 |
Step 1: Load a snapshot
Load the snapshot holding the secret you want to recover:
For disaster recovery clusters, you must load snapshots on the primary cluster.
For performance replication clusters, you can load snapshots on any cluster, but secondary clusters can only perform snapshot operations on paths that correspond to local mounts. You must use the primary performance node to perform snapshot operations on shared paths.
Snapshot load and unload operations are restricted to the root namespace. All other snapshot operations can be performed in other namespaces.
Open the Vault GUI and sign in to the root namespace. While you can perform other snapshot operations from any namespace, you must perform load and unload operations under the
rootnamespace.Select Secrets Recovery from the left navigation menu.
Select Upload snapshot.
Select your upload method. To use an automated snapshot you must provide an automated snapshot config.
Click Load snapshot to complete the upload.
Monitor the upload until the status says "Ready" and the expiration date populates.

Click "View details → to open the snapshot details view
| Status key | Description |
|---|---|
loading | Vault is in the process of loading the snapshot |
ready | Loading completed successfully. You can read data from the snapshot. |
error | Loading failed. Refer to the logs and error details for troubleshooting. |
Use an autoloaded snapshot
If you configured automated snapshots with autoloading enabled, Vault Enterprise will automatically load a snapshot when the cluster starts and keep updating the loaded snapshot as new automated snapshots are created.
You can check for a loaded snapshot by listing the loaded snapshots:

Select Secrets Recovery from the navigation menu to view currently loaded snapshots.
Step 2: Recover the secret
When the snapshot status is ready, you can recover the secret by specifying
the snapshot ID and the secret path you want to read from.
Vault reads the secret at the specified path from the snapshot and writes that data to the associated path in Vault to recover the secret. The associated plugin then creates or updates the data at the specified path in live cluster storage.

Use the available selectors and input fields to find the secret you want to read or recover. Once you selected, you can:
- view the snapshot data as key/value pairs or as a JSON object
- recover to the original resource path
- recover the original resource to a new path
Step 3: Verify secret recovery
If the recovery operation succeeds, the GUI displays a success message with a
link to the recovered resource.
