Migrating projects to a GitLab instance
Migrating projects to a GitLab instance
- From ClearCase
- From FogBugz
- From GitLab.com
- From Perforce
- From repo by URL
- From Gemnasium
- From Jira (issues only)
除了上述特定的迁移文档之外,您还可以从 New Project 页面通过 HTTP 导入任何 Git 存储库. 请注意,如果存储库太大,则导入可能会超时.
还可以选择 .
如果只需要迁移 Git 仓库,则可以通过 URL 导入每个项目 . 问题和合并请求无法导入.
所有的 GitLab 用户关联(例如评论作者)都将更改为导入项目的用户. 有关更多信息,请参阅 .
如果您需要迁移所有数据,则可以利用我们的API从自我管理迁移到 GitLab.com. 从自我管理实例迁移到 GitLab.com 的资产顺序如下:
注意:迁移到 GitLab.com 时,除非要使用否则需要手动创建用户. 使用 API创建用户仅限于自我管理的实例,因为它需要管理员访问权限.
您仍然需要通过一系列 Docker 推和推来迁移 Container Registry,并重新运行任何 CI 管道以检索任何构建工件.
该过程与的过程基本相同. 主要区别在于,管理员可以通过 UI 或用户 API在自助 GitLab 实例上创建 .
The best method for migrating from one GitLab instance to another, perhaps from an old server to a new server for example, is to back up the instance, then restore it on the new server.
此外,您可以将用户与管理员用户一起使用来迁移用户.