Gitlab备份和恢复

时间:2016-12-21 09:45:35

标签: backup gitlab restore

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

1 个答案:

答案 0 :(得分:1)

  

我读了gitlab文档,在他们告诉备份/etc/gitlab/gitlab-secret.json的文档中,但是我的系统gitlab安装在/ opt中我不能用.json文件?

如果您是从源安装的,则机密文件将位于 static double limitFPS = 1.0 / 60.0; double lastTime = glfwGetTime(), timer = lastTime; double deltaTime = 0, nowTime = 0; int frames = 0 , updates = 0; // - While window is alive while (!window.closed()) { // - Measure time nowTime = glfwGetTime(); deltaTime += (nowTime - lastTime) / limitFPS; lastTime = nowTime; // - Only update at 60 frames / s while (deltaTime >= 1.0){ update(); // - Update function updates++; deltaTime--; } // - Render at maximum possible frames render(); // - Render function frames++; // - Reset after one second if (glfwGetTime() - timer > 1.0) { timer ++; std::cout << "FPS: " << frames << " Updates:" << updates << std::endl; updates = 0, frames = 0; } } 。 JSON文件只存在于多功能安装中。

  

怎么做?

backup & restore docs非常好。按照步骤操作,如果您有任何问题,请询问。

相关问题