简体   繁体   English

综合或来源-无法决定要使用哪一个进行gitllab备份/还原

[英]omnibus or source - can't decide which one to use for gitllab backup/restore

I am using ubuntu server running gitlab server. 我正在使用运行gitlab服务器的ubuntu服务器。
I need to perform daily backup/restore of my gitlab. 我需要执行我的gitlab的每日备份/还原。

Which method should I prefer: omnibus or from source? 我应该选择哪种方法:综合还是从源头?
How can I check weather GitLab is installed via omnibus or from source? 如何检查天气是否通过综合或源安装了GitLab?

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. 源或Omnibus,您将可以访问相同的备份过程 ,该过程将创建一个包含数据库,所有存储库和所有附件的存档文件。

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. 对于系统,请注意所安装的omn​​ibus软件包的版本,您将可以在几分钟内重新安装它。

How can I check weather GitLab is installed via omnibus or from source? 如何检查天气是否通过综合或源安装了GitLab?

See if your gitlab root folder has a .git in it: that would mean it represents a clone from the sources . 看看您的gitlab根文件夹中是否带有.git:这意味着它表示从源克隆而成

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM