Backups are being saved to the wrong location

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

Note that this knowledge base article was created for the Data Center version of the product. Data Center knowledge base articles 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

When generating backups in Confluence, the backup file is saved to a location other than the <confluence-home> folder.

Cause

Confluence was configured to use a different home folder before and the old home folder path is set as default for backup storage.

Solution:

This issue has an open feature request on CONFSERVER-53451 - Backups use original home in confluence-init.properties after being changed please comment and vote on it so it can increase its chances for a permanent solution. 

As of now, the workaround below should help on solving the issue:

Workaround

  1. Stop Confluence 

  2. Modify the admin.ui.allow.daily.backup.custom.location property to 'true' in <Confluence Home Directory>/confluence.cfg.xml:

    <property name="admin.ui.allow.daily.backup.custom.location">true</property>
  3. Restart Confluence
  4. In Confluence, click the cog icon > General Configuration > Backup Administration (http://<confluence url>/admin/dailybackupadmin.action or https://<confluence url>/admin/dailybackupadmin.action if using SSL) and edit the default path of the backups.

    tip/resting Created with Sketch.

    Note that the home directory configured here is different than the current home folder.

  5. Update the path accordingly to the correct home directory and save.


Last modified on Jan 27, 2025

Was this helpful?

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