Hi there,
I’ve set up a cron that takes a snapshot of vault using ‘vault operator raft snapshot save’ every 12 hours but the size keeps increasing even though we are not adding keys on a daily bases. Why would that be the case?
Braden
Hi there,
I’ve set up a cron that takes a snapshot of vault using ‘vault operator raft snapshot save’ every 12 hours but the size keeps increasing even though we are not adding keys on a daily bases. Why would that be the case?
Braden
Raft snapshots grow over time due to internal metadata, WAL (Write-Ahead Log) retention, and compaction delays—even if no new keys are added. Try running vault operator raft snapshot save -force
to trigger log compaction, or check autopilot settings to ensure Vault is pruning stale data efficiently.