综合或来源 - 无法决定哪一个用于gitllab备份/恢复 [英] omnibus or source - can't decide which one to use for gitllab backup/restore

查看:137
本文介绍了综合或来源 - 无法决定哪一个用于gitllab备份/恢复的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我使用运行gitlab服务器的ubuntu服务器。

我需要执行每日备份/恢复我的gitlab。



我应该使用哪种方法如何检查天气GitLab是通过omnibus还是从源代码安装的?

解决方案

Source或Omnibus,您将可以访问 相同的备份程序 ,它将创建包含数据库,所有存储库和所有附件的存档文件。

这意味着您保存的是数据本身,而不是全部系统。

对于系统,请注意 omnibus包 您正在安装,您将可以在几分钟内重新安装。


如何检查天气GitLab是通过omnibus还是从源代码安装的?

看看你的gitlab根目录下是否有一个.git:这意味着它表示一个 来自资源的克隆

I am using ubuntu server running gitlab server.
I need to perform daily backup/restore of my gitlab.

Which method should I prefer: omnibus or from source?
How can I check weather GitLab is installed via omnibus or from source?

解决方案

Source or Omnibus, you will have access to the same backup procedure, which will create an archive file that contains the database, all repositories and all attachments.

That means you are saving the data itself, not the all system.
For the system, note the version of the omnibus package you are installing, and you will be able to re-install it in minutes.

How can I check weather GitLab is installed via omnibus or from source?

See if your gitlab root folder has a .git in it: that would mean it represents a clone from the sources.

这篇关于综合或来源 - 无法决定哪一个用于gitllab备份/恢复的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆