将存储库从Gitlab服务器导出到另一台Gitlab服务器 [英] Export a repository from a Gitlab server to another Gitlab server

查看:156
本文介绍了将存储库从Gitlab服务器导出到另一台Gitlab服务器的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

只需在全新的高性能服务器上安装新的6.8 Gitlab.

在考虑忘记我的存储库历史记录(评论,问题等)之前,是否知道一种将存储库数据从Gitlab服务器导出到另一台Gitlab服务器的方法?

我只是在文档中找不到用于导出/迁移整个项目数据的任何内容(而不仅仅是git存储库及其wiki).

解决方案

对于GitLab版本== 8.9(于2016年6月发布),您可以使用内置的导出和导入项目功能.

请注意,对于现有的GitLab安装,必须在应用程序设置中启用项目导入选项(URL:导入源"下的/admin/application_settings).您必须是管理员才能启用和使用导入功能. /p>

以下是功能完整的文档: https://gitlab.com/help/用户/项目/设置/import_export.md

Just installed a fresh new 6.8 Gitlab on a brand new high performance server.

Before considering to forget my repositories history (comments, issues, etc...), do one know of a way to export a repository data from a Gitlab server to another Gitlab Server ?

I just failed to found anything on the documentation for exporting/migrating the whole project data (not just the git repository and its wiki).

解决方案

For GitLab versions >= 8.9 (released in June 2016) you can use built-in export and import project feature.

Note that for existing installations of GitLab, the project import option has to be enabled in application settings (URL: /admin/application_settings) under 'Import sources'. You will have to be an administrator to enable and use the import functionality.

Here's the feature complete documentation: https://gitlab.com/help/user/project/settings/import_export.md

这篇关于将存储库从Gitlab服务器导出到另一台Gitlab服务器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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