You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
We recently moved both Confluence and Jira from Server to Cloud successfully. Currently we are investigating the transfer of Bitbucket Server and Bamboo to Bitbucket Cloud. There are, however, some hurdles that we cannot seem to circumvent. Our main issue is migrating our repositories from Bitbucket Server to Bitbucket Cloud.
We would like to know if someone has other ideas we could try to solve. I will describe our situation and what we have tried so far below.
As a medical device company, we have high standards on quality assurance and traceability. This leaves us with the requirement that we need to migrate the metadata (i.e. comments, pull-requests, approvals etc.) of our repositories. Another issue is that multiple repositories are quite large due to test data. Most of these repositories use Git LFS. Git LFS is also a requirement of Bitbucket Cloud due to its repository size limitation.
The current limitations of the migration are listed by Atlassian here. They mention that Git LFS repositories are not migratable with the BCMA tool, although this is, to our knowledge, the only way to copy the metadata.
We've tried rewriting the Git LFS repositories to non-Git LFS prior to migration with BCMA but that did not work.
Is there a way to get both our metadata and repositories with Git LFS in Bitbucket Cloud? A way to archive the metadata (i.e. not copying it to the Cloud) would also work for us.
Thanks in advance!
The BCMA itself doesn't migrate LFS files because the "git lfs" package can't be installed on the same host machine as the Bitbucket server without causing issues with the Bitbucket application itself. You can actually migrate the repositories normally via the BCMA tools without LFS first so you can migrate all the metadata.
Then it's fairly simple to manually migrate the LFS after the BCMA is complete. To do this, run the below steps for each repo containing LFS files. You can find a similar set of steps in our Git LFS tutorial under the "Moving a Git LFS repository between hosts" section.
git lfs fetch --all
git remote add cloud <cloud clone url>
git lfs push --all cloud
I hope this helps, please let me know if you have any additional questions.
Support Engineer, Bitbucket Cloud