Gitlab备份与恢复

Gitlab backup and restore

我想备份gitlab并在另一台服务器上恢复它。怎么做?到目前为止,我什么也没尝试,只是寻求帮助和建议。我阅读了 gitlab 文档,在他们告诉备份 /etc/gitlab/gitlab-secret.json 的文档中,但我的系统 gitlab 安装在 /opt 中,我不能正常 .json 文件?我正在使用centos。

I read gitlab documentation , in the document they are telling to backup /etc/gitlab/gitlab-secret.json but i my system gitlab is installed in /opt and i couldn fine .json file ?

如果您从源代码安装,秘密文件将位于 /home/git/gitlab/.secret。 JSON 文件只存在于综合安装中。

How to do it?

backup & restore docs 还不错。按照步骤操作,如果您有任何问题,请询问。