Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
Community Members
Community Events
Community Groups

tar bamboo-home folder

We're planning to upgrade Bamboo. One of the pre-requisite is to take a backup of the bamboo-home directory. However, the bamboo-home directory is so huge that tar will take longer and we don't have enough space for the tar backup. I'm looking for advise on how do you all manage this situation when performing an upgrade. 

1 answer

Hi @Reneesh Kottakkalathil ,

You can create a backup of or archive ALL folders except the following:

  • artifacts
  • export (if it exists)
  • import (if it exists)
  • logs

You're going to perform an upgrade (and not a migration, for example) and the artifacts folder will still be there even if the upgrade fails. This does not mean you can delete that folder. You will need it in case you need to roll-back the upgrade.

I learned this from one of the Atlassian Support guys.

Hope that helps.

Hi Ronald,

Thanks for the inputs. Could you please send me the steps in the event of a rollback?

Hi @Reneesh Kottakkalathil ,

No worries, more than happy to share.

I think before I send you the steps I need to give the upgrade steps first to be clear about what needs to be done.

Upgrade steps:

  1. Create support zip
  2. Upgrade plugins that need upgrading
  3. Stop Bamboo service
  4. Create a backup of all folders except:
    • artifacts
    • export
    • import
    • logs
  5. Create a DB backup
  6. Do the Bamboo upgrade
  7. Start Bamboo service
  8. Upgrade plugins that need upgrading
  9. Conduct technical PIV


Rollback plan:

  1. Stop Bamboo service
  2. Restore the DB backup
  3. Point the symlink to old version
  4. Start Bamboo service


Hope this helps

Like Reneesh Kottakkalathil likes this

Thanks for the detailed steps. Don't we have to rollback the bamboo-home folder that we backed up(before upgrade) and copy back the folders(artifact, export,..)that we excluded?

Hi @Reneesh Kottakkalathil ,

Thank you for pointing that out.  Yes, you are right how can I miss that.

Here is the updated rollback plan.

Rollback plan:

  1. Stop Bamboo service
  2. Restore the DB backup
  3. Re-point the symlink to old version (bamboo-install)
  4. Restore backup of bamboo-home (Upgrade step #4)
  5. Start Bamboo service


I need to emphasise as well that I haven't had any chance of testing a rollback.  This is a recommendation from Atlassian Support.  I will get back to you once I get the chance to test it.

Suggest an answer

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

Bamboo Data Center on Kubernetes

Hi, If you are running self-managed environments and looking to adopt modern infrastructure, Bamboo Data Center can now be deployed in a Kubernetes cluster. By leveraging Kubernetes, you can easily...

973 views 3 8
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