I have a single node GitLab with latest community edition version and took a backup from it.
I have created a Gitaly Cluster with the following architecture: -
Gitlab Server for the users to access
Praefect Server
3x Gitaly servers that are being controlled by the praefect server
PostgreSQL server for Praefect Database
The GitLab Cluster nodes are all running on the latest community version same as the single node version.
I have tried to restore the single node backup to the GitLab cluster but it give me the following error :-
[root@gitlab-server ~]# gitlab-backup restore 1613532569_2021_02_17_13.8.4_gitlab_backup.tar
Non tarred backup found in /var/opt/gitlab/backups, using that
GitLab version mismatch:
Your current GitLab version (13.8.4) differs from the GitLab version in the backup!
Please switch to the following version and try again:
version: 13.7.1
Hint: git checkout v13.7.1
I searched for any method of migration and couldn’t find any.
Could anyone help me please?
Hi. You can only restore backup to the same version installed. So it means gitlab 13.7.1 needs to be installed to restore an old backup since your backup is from 13.7.1 and not 13.8.4.