Using ghe-migrator
About ghe-migrator
You can use ghe-migrator
to transfer data from a source location (either a .com organization or a Enterprise Server instance) to a target Enterprise Server instance.
Exporting migration data from Enterprise Server
To change platforms or move from a trial instance to a production instance, you can export migration data from a Enterprise Server instance by preparing the instance, locking the repositories, and generating a migration archive.
Exporting migration data from .com
You can export migration data from an organization on .com by using the API to select repositories to migrate, then generating a migration archive that you can import into a Enterprise Server instance.
Migrating data to Enterprise Server
After generating a migration archive, you can import the data to your target Enterprise Server instance. You'll be able to review changes for potential conflicts before permanently applying the changes to your target instance.