hashicorp / vault

A tool for secrets management, encryption as a service, and privileged access management
https://www.vaultproject.io/
Other
31.2k stars 4.22k forks source link

How to backup and restore Vault on single node #3073

Closed ghost closed 7 years ago

ghost commented 7 years ago

I am using Vault as single node installation with Vault and Consul running on a single VM. How can I take real time Vault backup for avoiding any disaster. Looking for some inbuilt solution from opensource Vault product or other open source tool which takes Consult backup if there will be any change on credentials and will able to restore to Vault server in case disaster.

viralpoetry commented 7 years ago

@talktosaswat this kind of questions are better suited for the mailing list. You can use unofficial backup tools like:
https://github.com/adamdecaf/vault-backend-migrator

which will crawl Vault paths and store it in the json file (plaintext!). Or simply use another backend.

chrishoffman commented 7 years ago

The mailing list is probably the best place to answer this question link. This questions ends up being highly dependent on your storage backend and recovery requirements.

Duplicate of #2743