easiest way to transfer projects and plans to another bamboo instance

timothy schmidt January 3, 2019

I'm just starting out with bamboo.

Is there a clean / simple way to export build and deployment projects (and their constituent plans) from one bamboo instance and then import them into another bamboo server instance? 

I've seen references to Bamboo specs but it's not obvious if this is the best option.

 

Thanks!

2 answers

1 vote
Alexey Chystoprudov
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
January 4, 2019

It depends on complexity of your plans and scope of data you want to transfer. 

If you need only configuration - use Bamboo Specs.

If you need build results + build logs and artifacts then the only option is to use instance backup, there's no functionality to export/import project or plan.

timothy schmidt January 4, 2019

Is configuration defined as the actual projects, plans etc. without any associated build results, logs and data?

 

Tim

Alexey Chystoprudov
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
January 5, 2019

yes. It's possible to export existing plan/deployment configuration into Java code and use this code to create plan/deployment at another Bamboo instance

Like QA_TEST likes this
Venu Madhav
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!
June 27, 2023

Hi Alexey,

I have the exact requirement that I want to move a single project from one bamboo server to another. But If we use the export/import concept then the import will erase existing projects. 

Here I want to move one project/plan from Dev Bamboo to Prod Bamboo.

Could you please help me summarize the steps how to achieve this?

Much appreciated your help.

Venu

0 votes
Omar Herrera
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
January 4, 2019

Hi @timothy schmidt, there is a way to export a full configuration of you actual bamboo instance to the new one.

Here the official documentation @link

If you have any question let me know.

Cheers.

Omar H.

timothy schmidt January 4, 2019

Thank you.

When importing the backup to a new host/instance,  are there any specific items that must be manualy addressed somehow? Like the change in the new bamboo instance's base URL (new host)   or the change in it's serverID  ( BE4D-2Q5X-2GCX-RG7X ) etc.?

 

Tim S.

timothy schmidt January 7, 2019

Are there any compatibility rules or matrices for this type of action?

Eg.  Can I take a 6.6 configs/plans EXPORT file and import it into a 6.7 instance if the DB versions are the same? If this action is extended to artifacts and logs too, do compat. restrictions change?

Related ... are there any tools to cross check a server's configuration AFTER an import?

It seems like the capabilities are out of whack (expected ). But, I would think there would be an admin option to "check" a servers' configuration that could catch  bad or "out of sync" server configurations, etc. 

 

Thanks!

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events