Health Check: Local Backup Security

Still need help?

The Atlassian Community is here for you.

Ask the community

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

Purpose

This health check looks for backups in the local application storage and warns you if any backup files are found there. Storing backups in the application's local filesystem is a security risk that may expose sensitive data to attackers.

You'll receive a warning message if there are any .zip files in any of the following locations:

  • <bamboo-shared-home-dir>/backups
  • <bamboo-shared-home-dir>/exports
  • the directory specified in a backup schedule

Health check results

Icon

Result

What this means

(tick)There are no backups in the local application storage.No backups are present in the specified directories. This message applies to single-node instances.
(tick)

There are no backups in local storage on node <node-id>. Run this health check on the other nodes if you've received a warning notification.

No backups are present in the specified directories on this particular node. This message applies to clustered instances.
(warning)Found <n> backup files in the <dir-path> directory.There are backups stored in the application storage. This message shows you how many files were found in which directory. Bamboo displays this message for every affected directory.
(warning)Found <n> backup files in the <dir-path> directory for node <node-id>.There are backups stored in the application storage on this particular node. This message shows you how many files were found in which directory on this particular node. Bamboo displays this message for every affected directory.

What happens if I ignore the warning?

Storing unencrypted backups that contain sensitive information on the application file system is a security risk. When an attacker gains access to the local file system, this sensitive data becomes exposed. Furthermore, attackers can compromise the application and then encrypt or remove the backups, preventing administrators from being able to restore the application's data and settings.

Resolution

Here are a few things you can try if the Local backup security health check fails:

Move existing backups to a secure storage

To immediately fix this warning, move all existing backup files to a dedicated secure storage location.

Review your scheduled backups feature

The automated backup feature may create new backups on a regular schedule. This will trigger the health check warning again.
Consider either disabling this feature or setting up an automated script to move these files outside of the Bamboo filesystem.

Implement a production backup policy

Refer to our guide on Implementing a production backup strategy for more information.

(Not recommended) Disable the Local backups health check

If you're aware of the security risk, you can disable this health check on the Troubleshooting page. This might be a viable option for non-production instances.

Last modified on May 8, 2024

Was this helpful?

Yes
No
Provide feedback about this article
Powered by Confluence and Scroll Viewport.