-
Type:
Bug
-
Resolution: Fixed
-
Priority:
Low
-
Affects Version/s: 9.6.4, 10.0.2
-
Component/s: Administration (General)
-
None
-
1
-
Severity 3 - Minor
Issue Summary
Bamboo scheduled backup path gets defaulted to <bamboo-shared-home>/backup each time after the scheduled backup configuration is updated and saved.
Steps to Reproduce
1. Change the schedule backup path to any other location then <bamboo-shared-home>/backup by following the steps defined here
- Stop Bamboo.
- Open the file <bamboo-shared-home>/configuration/administration.xml.
- Locate the line with the tag > <backupPath> and input your value:
<backupPath>/nonexistent/path</backupPath>- Start Bamboo again.
2. After doing the changes make sure the new path is reflected on the ⚙️ > Scheduled backup page
3. Now do some other changes on the scheduled backup for example change the backup timings.
4. Save the changes
Expected Results
The new path which was defined under Step 1 should remain unchanged
Actual Results
After saving the new backup timings the scheduled backup path gets defaulted to <bamboo-shared-home>/backup
Workaround
Please add -Dbamboo.paths.set.allowed=true JVM system property first and then add then make changes in administration.xml as defined above.
This property when set true will preserve the changes which are done in <backupPath></backupPath> property of administration.xml