How to migrate from internal postgres db to external postgres db

Hi All,

Currently we have all in one single docker container for our production gitlab, where we are using bundled postgres and redis. So everything in same container. We want to use external postgres db and separate container for redis as well to follow the production standards.

How can I migrate from internal postgres db to external postgres db? If anyone provides process and steps that will be really helpful. We are new to this process. Please let us know If anyone knows

Thank you everyone for your inputs ,
PRS

There are some options to go production:

  1. Deploy the Gitlab Helm Chart on Openshift OR Kubernetes and Restore latest backup

  2. Spin up separate clusters/containers for redis and postgre, take full backp , reconfigure everything , restart , and restore the backup

1 Like