i use hashicorp-vault as single docker container with a postgres SQL database as storage and no consul. Does anybody here have any expierence what the best practise is to backup and restore all my vault data ?
My first idea is to dump the vault DB and restore it with standard postgres SQL tools. But what is a about these snapshot mechanism vault offers Vault Data Backup Standard Procedure | Vault - HashiCorp Learn ?
Can i still use the method to create a snapshot of vault ? Because every time i try to execure the command
vault operator raft snapshot save mysnapshot.snap i get the following error message:
URL: GET http://127.0.0.1:8200/v1/sys/storage/raft/snapshot code: 404. Errors: *1 error occurred: * unsupported path