Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Next challenges

Recent achievements

  • Global
  • Personal


  • Give kudos
  • Received
  • Given


  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

What's the best way to migrate from Github Server to Bitbucket Cloud?

Esther Strom Community Leader Jan 05, 2021

We've done a number of departmental migrations from Github's web-based system using the built-in tool in Bitbucket Cloud. 

We now have a requirement to migrate repos that live on a Github Enterprise (on-prem) server. 

I've seen suggestions to write a script that will do it, but am wondering if there are any other ways.

1 answer

1 vote

Hi Esther,

If the server is not accessible from the internet, one idea would be to whitelist (perhaps temporarily) Bitbucket Cloud IPs (see here) and then you should be able to import the repos with the importer:

The importer will work with any Git-based hosting site, as long as Bitbucket can reach it.

Kind regards,

Esther Strom Community Leader Jan 06, 2021

Thanks, Theodora. I'm a little confused, though. Bitbucket Cloud IP addresses are already publicly accessible. How does whitelisting them make my on-prem server accessible to Cloud? The import tool runs from the Cloud side, so it seems like I'd need to make the on-prem server accesssible, not the other way around.

Hi Esther,

Sorry if my message wasn't very clear.

You will indeed need to make the on-premise server accessible.

One way is to do that is to make the server accessible from anywhere over the internet (if it isn't already).

If you don't want to make the server accessible from anywhere over the internet, you can whitelist on your firewall only the Bitbucket IP addresses.

This way, Bitbucket will be able to connect to your server, for the purposes of the import, but connections to your server from elsewhere (IPs that are not whitelisted in your firewall) will not be possible.

I hope this helps, please feel free to let me know if you have any other questions.

Kind regards,

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted in Bitbucket

Contest: Share your custom Bitbucket Pipe and win

Announced in this blog, this holiday season we’re celebrating all things CI/CD and between now and the end of 2019 we’ll be showcasing content, use cases, feature announcements and more. One featur...

2,140 views 11 6
Join discussion

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you