文章版本: Enterprise Server 2.17
在 GitHub Enterprise Server 上应用导入的数据
审查完迁移数据后,您可以向目标实例永久应用变更。
- 
以站点管理员身份通过 SSH 连接到目标 GitHub Enterprise Server 实例。 $ ssh -p 122 admin@HOSTNAME
- 
使用 ghe-migrator import命令启动导入过程。 您需要:- 迁移 GUID.
- Your personal access token for authentication. The personal access token that you use is only for authentication as a site administrator, and does not require any specific scope. 更多信息请参阅“创建命令行的个人访问令牌”。
 $ ghe-migrator import /home/admin/MIGRATION_GUID.tar.gz -g MIGRATION_GUID -u username -p TOKEN > Starting GitHub::Migrator > Import 100% complete /- 要指定迁移文件的暂存位置,请在命令行附加 --staging-path=/full/staging/path。 默认值为/data/user/tmp。