Kaseaa
December 10, 2020, 2:19pm
1
I have an old kubernetes gitlab installation and I’d like to recover all of the repositories that were made on the installation. Is this possible? and if so how?
I figured it would be easier than trying to re-setup everything identical without having any issues with versioning etc.
Somewhat related topic, but never got answered: Fresh install of GitLab-CE, carry over old repositories and settings
iwalker
December 10, 2020, 3:30pm
2
Hi,
Do you have the backup and the gitlab-secrets.json file for this installation. If so this section should help:
I recently used this to restore to a new server. I also had the gitlab.rb configuration file, so more or less it was:
Install gitlab.
Place the gitlab.rb and gitlab-secrets.json in /etc/gitlab
Run gitlab-ctl reconfigure
Place the file in the backup directory as per the backup/restore link.
then follow the remaining steps for the restore.