Article version: Enterprise Server 2.17
Preparing the migrated data for import to GitHub Enterprise Server
Before applying the migrated data to your target instance, you'll need to copy the migration archive to your target instance and prepare it for import.
-
Using the
scpcommand, copy the migration archive generated from your source instance or organization to your GitHub Enterprise Server target:$ scp -P 122 /path/to/archive/MIGRATION_GUID.tar.gz admin@hostname:/home/admin/ -
As a site admin, SSH into your target GitHub Enterprise Server instance.
$ ssh -p 122 admin@HOSTNAME -
Use the
ghe-migrator preparecommand to prepare the archive for import on the target instance and generate a new Migration GUID for you to use in subsequent steps:ghe-migrator prepare /home/admin/MIGRATION_GUID.tar.gz- To start a new import attempt, run
ghe-migrator prepareagain and get a new Migration GUID. - To specify where migration files should be staged append the command with
--staging-path=/full/staging/path. Defaults to/data/user/tmp.
- To start a new import attempt, run