Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Migrating Bitbucket on-prem to Bitbucket (Cloud)

Vincent Leal July 21, 2022

Hello,

 

I am seeking out any information I can find on migrating our Bitbucket instance from an on-premise Linux box to Bitbucket's cloud application. This instance is currently running as a docker container atlassian/bitbucket-server.

 

Is there anyone out there that may have documentation or steps on how to get this process started? Is it even possible. Forgive me if this is a silly question, I do not use the product, but will play a part in the migration. 

2 answers

2 votes
Robert Wen_Cprime_
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
July 21, 2022

hello @Vincent Leal ! Welcome to the Atlassian Community!

Atlassian provides a tool (Bitbucket Cloud Migration Assistant) to assist.

Documentation is here. 

https://support.atlassian.com/migration/docs/use-the-bitbucket-cloud-migration-assistant-to-migrate/

Vincent Leal July 21, 2022

Hello,

 

Thank you for replying. Out of curiosity, with this migration tool - are we able to "copy" data without "moving" keeping data within both locations?

 

 

Also, what has prompted this move is us not being able to log in with LDAP - there is some communication issues here. I do have ssh access to the Linux server - are we able to bypass LDAP and log in with a system account? If so, how would we do that?

 

image.png

Robert Wen_Cprime_
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
July 21, 2022

Bitbucket allows you to log into the application and authenticates against either an internal user directory or externally-managed user directories (e.g. LDAP, Crowd, etc).

You can't use the ssh credentials you have for the server itself to log into the application.

Vincent Leal July 21, 2022

Robert,

 

I understand that SSH/OS account credentials are separate from Bitbucket's user list. With me having root access to the system Bitbucket is running on - is there a way for me to access the following:

 

- Temporarily remove LDAP authentication or run both LDAP and system accounts side by side?

 

- Change the local administrator's account for Bitbucket, not the Linux system itself?

 

 

Ultimately if I'm able to bypass LDAP, use a system account and log into Bitbucket's GUI i would feel much better about starting the migration to the cloud.

Robert Wen_Cprime_
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
July 21, 2022

The original administrator account used to configure Bitbucket at installation is kept at the internal Bitbucket user list.  Authenticating with that list still works, even with LDAP enabled (I think).

Vincent Leal July 21, 2022

Thanks Robert,

 

This is one of my hurdles - i did not set this system up, but again i have root on the server. is there any configuration files where i can find the original administrator login information on a linux system?

0 votes
Vincent Leal July 22, 2022

Bumping -

 

Would it be possible to just reset the bitbucket user account password via linux terminal to use it as a user to login to bitbucket without LDAP?

Robert Wen_Cprime_
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
July 22, 2022

@Vincent Leal 

I don't think so only because user information for Bitbucket is stored on a database.  This includes users and passwords on the internal user directory.

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events