<p>If your secret backend is a separate service, which it should be, then with regular backups you should be able to stop vault, replace the backend with a backup and be good to go.</p>

<p>I've done this for a file backend but don't know what would happen for other backends so ymmv.</p>

CC BY-SA 3.0
2017-08-14T08:13:43.160Z
So for example do regular snapshots?
030
CC BY-SA 3.0
2017-08-14T08:17:48.690Z
Basically yes. Depending on how often you add secrets your snapshots may become _very_ regular though.
Briansbum
CC BY-SA 3.0
2017-08-14T08:08:57.470Z
2017-08-14T08:08:57.470Z
Briansbum
<p>According to <a href="https://www.vaultproject.io/intro/getting-started/first-secret.html" rel="nofollow noreferrer">this tutorial</a>, it is possible to delete a secret, by running:</p>

<pre><code>vault delete secret/hello
</code></pre>

<p>What will if someone in the organization accidentally removed a secret. Is it still possible to recover this?</p>

<hashicorp-vault>
Is it possible to recover accidentally deleted HashiCorp's Vault secrets?
030
# Is it possible to recover accidentally deleted HashiCorp's Vault secrets?

(Asked by: username_0 on 2017-08-13)

According to this tutorial, it is possible to delete a secret, by running:
vault delete secret/hello

What will if someone in the organization accidentally removed a secret. Is it still possible to recover this?

**Tags:** hashicorp-vault


---

## 1 answers

### Answer by username_1 on 2017-08-14. Score: 3 | Accepted answer

If your secret backend is a separate service, which it should be, then with regular backups you should be able to stop vault, replace the backend with a backup and be good to go.

I've done this for a file backend but don't know what would happen for other backends so ymmv.

> **Comments:**
> **username_0**: So for example do regular snapshots?  
> **username_1**: Basically yes. Depending on how often you add secrets your snapshots may become _very_ regular though.  

---

