Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Bamboo Backup Location

Buck Dowdell September 12, 2016

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
Krystian Brazulewicz
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
September 13, 2016

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.

David FALLAS
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
January 15, 2017

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
TAGS
AUG Leaders

Atlassian Community Events