Migrating From Separate Enterprise Servers #1234
Replies: 2 comments 6 replies
-
GEI definitely supports migrating repos from GH Enterprise Server to github.com. The docs on this can be found here: https://docs.github.com/en/migrations/using-github-enterprise-importer/migrating-between-github-products/migrating-repositories-from-github-enterprise-server-to-github-enterprise-cloud |
Beta Was this translation helpful? Give feedback.
-
How do I tell the tool to pull from server a and push to server b? My admin has given me owner on both servers, but when it comes to server a, I get the message that it cannot find the organization. So our local Enterprise server is hosted on our private vm. I have firewall access to both locations. So if I am pulling an individual repo should I be setting these variables for my private location? AWS_REGION, AWS_ACCESS_KEY_ID, AWS_SECRET_ACCESS_KEY, and AWS_SESSION_TOKEN. Or should I be using --ghes-api-url GHES-API-URL and just generate a script cutting the repos out in chunks for test runs. |
Beta Was this translation helpful? Give feedback.
-
How do I migrate my repos from an organization from an Enterprise github.myprivateserver.com to Enterprise github.com.
In the process I want to transfer Issues, Pull Requests, Projects, Wiki, and Insights. Both locations are on separate enterprise servers.
Been trying in a power shell script using
$env:GH_HOST$ =
$env:GH_SOURCE_PAT =
$env:GH_PAT =
env:GH_ENTERPRISE_TOKEN =
gh gei migrate-repo --github-source-org --source-repo --github-target-org --target-repo
Upper management wants to keep as much of the repo history as possible. I would appreciate any help someone can give me.
Would like to know if this type of migration is even possible. I am getting the feeling that both repos have to be on the same server.
Beta Was this translation helpful? Give feedback.
All reactions