Hi jbdatko,
Pointing two Vault servers to the same postgres storage will not work.
There are chances that you might corrupt your working setup. If you
replicate your storage and bring up independent Vault servers on each
of them, it works to start with, but from that point on, each of these
servers will act independently and there will be no synchronization
between these servers in terms of secrets and leases.
We don't officially support migration between the storage backends.
You could bring up a new Vault cluster on Consul, read whatever
secrets you could using the API from the old server on postgres and
populate the new one. Note that, this way, only secrets that are
accessible via the API can be migrated, not the leases.
Or, if you need to retain the *entire* state of Vault and migrate
over, you'll need to work up a script to copy over the postgres
storage into Consul's with necessary translations as required,
retaining the file system hierarchy.
Hope this helps!
Regards,
Vishal
> --
> This mailing list is governed under the HashiCorp Community Guidelines -
>
https://www.hashicorp.com/community-guidelines.html. Behavior in violation
> of those guidelines may result in your removal from this mailing list.
>
> GitHub Issues:
https://github.com/hashicorp/vault/issues
> IRC: #vault-tool on Freenode
> ---
> You received this message because you are subscribed to the Google Groups
> "Vault" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to
vault-tool+...@googlegroups.com.
> To view this discussion on the web visit
>
https://groups.google.com/d/msgid/vault-tool/0c3525cf-8522-43e2-b28b-d83769f71db7%40googlegroups.com.
> For more options, visit
https://groups.google.com/d/optout.
--
vn