Hello,
I am trying to migrate vault data entirely from a Postgres backend in an old cluster to a new HA cluster with Raft Storage. The Enterprise version has a great DR option. Unfortunately, I am bound to use the Open Source version.
The docs talk only Consul and Integrated Storage but it’s not clear for Postgres.
What would be the recommended way to perform this migration? Could you please explain the steps I may need to follow?
I am thinking to have something like
storage_source "postgres" {
**Postgres db connection details**
}
storage_destination "raft" {
path = "/vault/raft/"
node_id = "node_1"
}
cluster_addr = "https://10.0.101.22:8201"
But will performing a migration still leave the vault data intact in the Postgres backend upon migration to the new cluster?
Has anyone attempted this before? Any pain points I should be aware of?
Thanks in advance for the help!