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

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

问题描述

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

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

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

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 ?

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

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

推荐答案

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

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

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

Please not that for the existing installations of GitLab, this option has to be enabled in the application settings (URL: /admin/application_settings) under 'Import sources'. You have to be a GitLab admin user to enable and use the import functionality.

这里是功能完整的文档:https://gitlab.com/帮助/用户/项目/设置/import_export.md

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

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

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