I have just moved most of our stuff to a Gitlab instance, setup through omnibus. Very happy with what I see so far, but I am puzzled by how backups should be done:
Backups are taken with the documented rake command:
then a bit more stuff for the
/etc/gitlab folder, as documented here.
Problem comes from restore. The documentation specifically states:
You can only restore a backup to exactly the same version of GitLab that you created it on, for example 7.2.1.
Now my question is: if a server dies a year from now, I will get a new one and install Gitlab through omnibus. But obviously it will be Gitlab version 9 or 10. And I won’t be able to restore anything.
So how is this supposed to work? Do I have to download the omnibus 8.5.1, and each version of it that will be ever released, so I can reinstall the exact version of Gitlab needed to restore the backup I have when failure happens?
I could also tar and backup /var/opt/gitlab, but this has the postgres db data folder in it, redis, etc, I doubt just taking a tar and restoring that would provide a workable instance.