2023-11-01 16:50:47 +00:00
|
|
|
# docker-vault-backup
|
|
|
|
|
|
|
|
perform a backup of vault raft base
|
2023-11-01 17:13:17 +00:00
|
|
|
need an vautl approle authentification with following policie
|
|
|
|
|
|
|
|
```terraform
|
|
|
|
rule {
|
|
|
|
path = "sys/storage/raft/snapshot"
|
|
|
|
capabilities = ["read"]
|
|
|
|
}
|
|
|
|
```
|
2023-11-01 16:50:47 +00:00
|
|
|
|
|
|
|
## ENV variable
|
|
|
|
|
|
|
|
- VAULT_APPROLEID
|
|
|
|
- VAULT_SECRETID
|
2023-11-01 17:13:17 +00:00
|
|
|
- RETENTION
|
|
|
|
- VAULT_ADDR
|
2023-11-01 16:50:47 +00:00
|
|
|
|
|
|
|
## mount
|
|
|
|
|
|
|
|
mount your backup location on /backup
|