Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Introducing Atlassian CloudFormation Backup Machine

I have Create a Cloud formation template to install bamboo now when it is installed and first time i contact with web interface it asks for license , admin user setup and installation type . I want to automate these options as well. is there any command line utility or any configuration file in bamboo available for doing this ?

1 answer

1 vote

Hi @Zohaib_Ahmad_hassan,

Bamboo does not have an unattended installation configuration process/file, but once you understand how the installation/setup process works you should be able to automate part of it or even entirely.

A Bamboo instance is composed basically by 3 parts

  • The installation folder
  • The home folder
  • The DB

When you download Bamboo you only have the installer part.

The setup process (wizard where you see the license) will:

  1. Save the license details.
  2. Save the DB configuration (I'm assuming you will use an external DB).
  3. Create the DB and populate the tables.
  4. Create the home directory and all related configuration files.
  5. Populate the DB.

If you want to install Bamboo multiple times this is what I would suggest:

Backup process (1 time job)

  1. Run a normal installation and go through the whole wizard (adding license, configuring DB, admin user, so on ...)
  2. Stop Bamboo.
  3. Create a copy of the Bamboo home directory.
    The following folders can be ignored: jms-store, temp, index and caches. They are built on startup time.
  4. Create a backup of your external DB

New instance process

  1. Create the installation files (either by backup or downloading if from Download Bamboo - Atlassian)
  2. Configure the file <Bamboo_Install>/atlassian-bamboo/WEB-INF/classes/ pointing the location where you want the <Bamboo_Home> folder to be set.
  3. Copy the Bamboo home to the location configured in the previous step.
  4. Copy the DB backup to the new DB server using the external DB tools.
  5. Edit the <Bamboo_Home>/bamboo.cfg.xml:
    1. To add the right license details, in case it is a different instance (not the same license used to create the backup).
    2. Adjust the DB URL so it points to the newly copied DB.
  6. Start Bamboo

In case you need special tomcat configuration files, you can add/edit them before starting Bamboo.

I understand this process is not that simple neither complete (not covering all possible configuration details), but it can be adjusted and automated.

I also created this feature request to cover this scenario: Unattended installation for Bamboo. Please add your comments and vote on it if you think this feature should be implemented.


I hope it helps.

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Bamboo

Bamboo Data Center 8.1 is now available

G’day Bamboo customers, Bamboo DC 8.1 is now available with it the following features and programs: SAML 2.0, OpenID Connect, and Crowd SSO In order to help admins with a simplified user manage...

213 views 0 4
Read article

Community Events

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

Find an event

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

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you