Vault

Channel Revision Published Runs on
latest/edge 222 20 Jan 2024
Ubuntu 23.10
1.8/stable 209 05 Jan 2024
Ubuntu 22.04
1.8/edge 164 09 Aug 2023
Ubuntu 23.04
1.15/beta 276 18 Apr 2024
Ubuntu 22.04
1.15/edge 290 09 May 2024
Ubuntu 22.04
1.7/stable 210 10 Jan 2024
Ubuntu 22.04 Ubuntu 20.04
1.6/stable 289 05 May 2024
Ubuntu 20.04 Ubuntu 18.04
1.5/stable 268 11 Apr 2024
Ubuntu 20.04 Ubuntu 18.04
juju deploy vault --channel 1.15/beta
Show information

Platform:

Ubuntu
22.04

Create a backup

Pre-requisites:

To create a Vault Backup, ensure you:

  • Have a Vault cluster deployed.
  • Your Vault deployment is in active idle state.
  • Have access to S3 storage.
  • Have configured the settings for S3 storage.
  • Have saved your unseal keys and root-token in a secure location of your choice.

Note: The unseal keys and root-token used at the time of creating the backup must be saved as they will be required to perform the restore action.

Once the prerequisites are in place you can run the create-backup action on the leader unit to create a backup:

juju run vault/leader create-backup

The action will create a snapshot of the Vault cluster, save it to the configured S3 storage and return the identifier of the backup.

List backups

It is possible to list all backups that are saved in the configured S3 storage using the list-backups action: juju run vault/leader list-backups