Migration from Datacenter on Windows to Docker

Fabio Renggli
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
October 31, 2024

Hi

I searched the internet for a bit, but i could not find a best practise for migrating a windows server installation to a docker installation of bamboo? Has anybody already done it?

My aproach would be:

  1. Stop the windows service
  2. Copy the home folder to the target directory for the docker instance
  3. Create a docker compose file with all the settings used (DB Connection etc.)
  4. Start the docker image
  5. Be happy, that everything works as intended. :)

Are there any suggestions?

Best regard

Fabio

1 answer

0 votes
Jeroen Poismans
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
November 1, 2024

Hi Fabio and Welcome to the Community!

There is indeed no clear migration guide for this, but with some trial and error you should get this working. Here is what I would do.

Start from the Getting started from Atlassian https://confluence.atlassian.com/bamboo/getting-started-with-docker-and-bamboo-687213473.html

The image to use (Atlassian images)
https://hub.docker.com/r/atlassian/bamboo

The docker-compose + environment vars:
https://atlassian.github.io/data-center-helm-charts/containers/BAMBOO


With this you should get a basic instance set up and started. The last resource I shared also contains environment variables for the Database config. After setting up a basic empty instance that works, migrating should not be more than:

  • Changing the Database config in you docker-compose
  • Configuring volumes in your docker-compose to map to your real Bamboo Home.

That is the theory of course, but it should get you started.

Let me know how it went!

Jeroen

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events