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

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 votes

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
Published in Bamboo

Unable to add or edit Bitbucket Cloud repository in Bamboo

On 31 May, a GDPR-related change went live in the Bitbucket Cloud API that resulted in users not being able to create or edit Bitbucket Cloud Linked repositories in Bamboo. This API update removed t...

302 views 2 6
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