I am currently running Gitlab 11.11.0 together with a Postgresql 11 database .
Both are running using a docker-compose script. Due to some negligence, the compose file was deleted and the gitlab instance was not updated in the past 3 years, which I want to fix now.
I have tried several ways of upgrading to a newer image, but because Gitlab 11.11.0 ships with psql up to version 10.7, I am having trouble.
I made a backup by installing a never version of psql and pg_dump and using those binaries to run
gitlab-rake gitlab:backup:create which succeeded. When trying to restore the backup with a fresh image using the integrated postgresql binaries, I get errors. When I try to clone the containers and their volumes, it also runs into errors.
Is there a solution to backup my data, restore it into a single container of gitlab (11.11.0) and then upgrade it step by step to the latest image? Or can I somehow restore the backup of an old version into a newer one?