How to migrate from Bitbucket Server to Bitbucket cloud

Please give me an answer if it possible to migrate from Bitbucket Server to Bitbucket Cloud by Bitbucket solutions and possibilities? 

4 answers

1 accepted

1 vote
Accepted answer

No. You will have to write a script that clones all repos from server and pushes to new remote in cloud.

Thank you for information! 


But we also need to migrate user profiles with permissions. Easy to say, we need to clone everything that server contains to Bitbucket cloud.

The users will have to be recreated/invited in cloud. Then you can save the group information from server using the api to a list and update cloud.

It's mind-boggling that Atlassian does not have a tool or provide any support for migrating to Bitbucket Server to Bitbucket Cloud.  Has no one ever done this before?  Do they not want people to use Bitbucket Cloud if they already have Server? 

I am planning a migration away from Bitbucket Server to a cloud hosted git service and was considering Bitbucket Cloud, but maybe I will take a second look at migrating to GitHub or GitLab instead.

We have about 200 projects, 500 repos to migrate and lack of any real support from Atlassian is extremely disappointing.

I agree with you! I think that Atlassian should think about this opportunity, because a lot of companies needs this service.

Just found this after doing a quick search. I'm about to embark in a migration of over 1000 repos from Server to Cloud. Really disappointed there is not automatic way of doing this. I'll be doing it by hand and with manual scripts it looks like.

Ok. thank you for information. I'll try your solution. 

@Shawn Woodford - this is fantastic! Haven't tried it but dug around in the script. Will keep this on the shelf for my next migration. Thanks much!

Great hopefully this works for you!

I hope I just haven't dug around the forum enough and that I'm wrong.  But how Atlassian can have the two products, push heavily for cloud and not supply a way to migrate that is pretty much push a button is beyond me. Now I need to do a honest look at whether it is worth staying on bitbucket or if it is time to move to github or gitlabs. 

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Nov 06, 2018 in Bitbucket

Upgrade Best Practices

Hello! My name is Mark Askew and I am a Premier Support Engineer for products Bitbucket Server/Data Center, Fisheye & Crucible. Today, I want to bring the discussion that Jennifer, Matt, and ...

426 views 6 9
Read article

Atlassian User Groups

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

Find a group

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

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you