Bamboo Backup Location

How do you change the backup location for Bamboo? When I look at the bamboo.cfg.xml, it shows a network path, but it does not back up to the network path.

1 answer

0 vote

Can you please paste the part of your $BAMBOO_HOME/bamboo.cfg.xml? Also I think that Bamboo server logs should reveal the location of export file after export was completed.

If you want to change the location of export you need to:

  • stop Bamboo
  • edit $BAMBOO_HOME/bamboo.cfg.xml
  • start Bamboo

If Bamboo doesn't pick up that change then please contact our Support.

So far, this suggestion, and others, have not worked for me.

I have recently completed a Bamboo (v5.12.3.1) migration from Windows Server to Ubuntu 16. When I review the Scheduled backups settings I see the Backups path is set to 'D:\backups\Bamboo' (which is of course the old Windows setting and is now obsolete for Ubuntu).

This field cannot however, be edited directly (there was a security warning regarding this some time ago). There are instructions for setting a switch - bamboo.paths.set.allowed=true - to allow editing of this field (https://confluence.atlassian.com/bamboo/specifying-a-backup-schedule-289277252.html). These instructions link to another page https://confluence.atlassian.com/bamboo/configuring-system-properties-289277236.html which in turn links to yet another page https://confluence.atlassian.com/bamboo/configuring-bamboo-on-start-up-289277345.html.

I have modified the $BAMBOO_INSTALL/current/bin/setenv.sh file as per the instructions on the last two links - JVM_SUPPORT_RECOMMENDED_ARGS="bamboo.paths.set.allowed=true" - and have restarted the service. But, I am still unable to edit the Backups path field.

I am running Bamboo as a service on Ubuntu with a file in init.d to start/stop it.

I have checked $BAMBOO_HOME/bamboo.fcg.xml and can confirm that it contains the line:

<property name="daily.backup.dir">${bambooHome}/backups</property>

What else do I need to do to change this setting from D:\backups\Bamboo to /var/atlassian/application-data/bamboo/backups?

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Renan Battaglin
Published May 18, 2017 in Bamboo

FAQ: How to Upgrade Bamboo Server

Bamboo 5.9 will no longer be supported after June 12, 2017. What does this mean? As part of our End of Life policy, Atlassian supports major versions for two years after the first major iteratio...

1,493 views 0 5
Read article

Atlassian User Groups

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

Find a group

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

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you