Bamboo export and backup fails

Platform Notice: Data Center Only - This article only applies to Atlassian products on the Data Center platform.

Note that this KB was created for the Data Center version of the product. Data Center KBs for non-Data-Center-specific features may also work for Server versions of the product, however they have not been tested. Support for Server* products ended on February 15th 2024. If you are running a Server product, you can visit the Atlassian Server end of support announcement to review your migration options.

*Except Fisheye and Crucible

Symptoms

Bamboo export fails with the following error in the logs:

1 2 3 4 5 6 7 8 9 10 11 2012-11-07 10:08:45,097 INFO [qtp1940199506-134] [XmlMigrator] Creating zip:D:\Bamboo\home\exports\export_ficobuildserver_3400_20121107.zip 2012-11-07 10:08:45,206 INFO [qtp1940199506-134] [XmlMigrator] Starting export of data... 2012-11-07 10:08:45,238 INFO [qtp1940199506-134] [XmlMigrator] Writing xml to file: D:\Bamboo\home\exports\export_ficobuildserver_3400_20121107.zip\db-export\users.xml 2012-11-07 10:08:45,660 INFO [qtp1940199506-134] [XmlMigrator] Exporting with: com.atlassian.bamboo.migration.stream.UserMapper@73157f25 2012-11-07 10:08:45,660 INFO [qtp1940199506-134] [XmlMigrator] Finished writing to file: D:\Bamboo\home\exports\export_ficobuildserver_3400_20121107.zip\db-export\users.xml 2012-11-07 10:08:46,394 INFO [qtp1940199506-134] [XmlMigrator] Ensuring the the file has been unmounted 2012-11-07 10:08:46,394 INFO [qtp1940199506-134] [XmlMigrator] Unmounted D:\Bamboo\home\exports\export_ficobuildserver_3400_20121107.zip 2012-11-07 10:08:46,394 ERROR [qtp1940199506-134] [Export] java.io.FileNotFoundException: D:\Bamboo\home\exports\export_ficobuildserver_3400_20121107.zip\db-export\groups.xml java.io.FileNotFoundException: D:\Bamboo\home\exports\export_ficobuildserver_3400_20121107.zip\db-export\groups.xml at de.schlichtherle.truezip.file.TFileOutputStream.newOutputStream(TFileOutputStream.java:147) at de.schlichtherle.truezip.file.TFileOutputStream.<init>(TFileOutputStream.java:116)

Cause

The exact cause is not known but it all comes down to how the truezip library and how it is using the Windows ACL to the export directory.

Resolution

The username running Bamboo must be a member of the 'Users' group if this group is in the ACL of the export directory. Alternatively the 'Users' group can be removed all together from the ACL as this group is not required there.

Updated on April 8, 2025

Still need help?

The Atlassian Community is here for you.