23 lines
350 B
Markdown
23 lines
350 B
Markdown
# docker-vault-backup
|
|
|
|
perform a backup of vault raft base
|
|
need an vautl approle authentification with following policie
|
|
|
|
```terraform
|
|
rule {
|
|
path = "sys/storage/raft/snapshot"
|
|
capabilities = ["read"]
|
|
}
|
|
```
|
|
|
|
## ENV variable
|
|
|
|
- VAULT_APPROLEID
|
|
- VAULT_SECRETID
|
|
- RETENTION
|
|
- VAULT_ADDR
|
|
|
|
## mount
|
|
|
|
mount your backup location on /backup
|