Safe Vault rollback procedure from a newer version to an older version (0.6.1)
329 views
Skip to first unread message
Will Pinney
unread,
Mar 15, 2017, 4:16:21 PM3/15/17
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Vault
All,
What is the recommended rollback procedure if an vault upgrade failed?
I am using vault with a consul backend.I am thinking of the following procedure:
- backup vault using consul backup tool
- properly shutdown standby, copy old vault image to the standby, restart standby vault servers, unseal standby vault
Does this will restore the vault?
Are the new secrets provisioned into the vault using newer version vault get lost due to backward compatibility issues?
Thanks.
-Will
Vishal Nayak
unread,
Mar 16, 2017, 9:40:10 AM3/16/17
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to vault...@googlegroups.com
Hi Will,
If you had the backup of Consul storage from before the upgrade, you
can downgrade Vault gracefully to a version on which the backup was
taken.
But if you wish to downgrade the newer Vault with a storage that
consists of newer leases and secrets, it's hard to make any promises.
It may or may not work depending on the versions of Vault under
consideration.
We don't provide forward compatibility guarantees when a storage of
newer Vault is using to bring up an older version of Vault.