---
title: Charmhub | Deploy Vault using Charmhub - The Open Operator Collection
description: Deploy the latest version of Vault on any cloud.
url: https://charmhub.io/vault/docs/h-create-a-backup
---

# Vault

[Vault charmers](https://charmhub.io/publisher/vault-charmers "View all packages from Vault charmers")

* [Vault charmers](https://charmhub.io/publisher/vault-charmers "View all packages from Vault charmers")
* [Security](https://charmhub.io/?filter=security)

Platform:

24.04

23.10

23.04

22.10

22.04

20.04

18.04

2.0/stable 710

```
juju deploy vault --channel 2.0/stable
```

[Learn to deploy on juju >](https://juju.is/docs/juju/manage-applications)

---

#### Relevant links

* [Homepage](https://charmhub.io/vault)

---

#### Contacts

* [Submit a bug](https://github.com/canonical/vault-k8s-operator/issues)

---

Share your thoughts on this charm with the community on discourse.

[Join the discussion](https://discourse.charmhub.io/)

# Create a backup

## [Pre-requisites](https://charmhub.io/vault/docs/h-create-a-backup#p-29492-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](https://charmhub.io/vault/docs/h-s3-storage-for-vault-k8s-backup-and-restore).
* 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](https://charmhub.io/vault/docs/h-create-a-backup#p-29492-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`

---
