Document steps required to upgrade an external instance of Postgres
We had the following request from a customer in ZD161786:
We are currently running postgres version 10 along with gitlab 12.10.11 We noticed its not recommended so we want to migrate to a new postgres instance. Before upgrading to 13.0.6 and then to 13.1.0 What are the required steps to succefully stop gitlab and transfer all data from the external postgres to another one? Which services needs to be stopped (k8s deployment)
The omnibus steps required to achieve this are documented under Upgrade a non-packaged PostgreSQL database .
I assume the steps are more or less the same, but instead of making changes to "/etc/gitlab/gitlab.rb", they will make them to their values. And instead of using
gitlab-ctl to apply changes and start/stop services, they will use
Questions regarding this:
- Is there anything else that will need to be considered?
- Do we have a value the equivalent of
postgresql['version']in Omnibus? (I did a few greps on the source code but didn't find anything).