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

This widget could not be displayed.

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
Community showcase
Posted yesterday in Jira

What modern development practices are at the heart of how your team delivers software?

Hey Community mates! Claire here from the Software Product Marketing team. We all know software development changes rapidly, and it's often tough to keep up. But from our research, we've found the h...

76 views 0 1
Join discussion

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