Backup fails when the option "Archive to backups folder" is selected

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

Backup fails when the option "Archive to backups folder" is selected. This problem goes away when "Archive to backups folder" is not selected.

The following appears in the atlassian-confluence.log

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16  ... Caused by: java.io.FileNotFoundException: C:\Confluence\Data\attachments\ver003\181\171\1671181\186\93\1343936\1736726  (The system cannot find the file specified) at java.io.FileInputStream.open(Native Method) at java.io.FileInputStream.<init>(FileInputStream.java:106) at com.atlassian.confluence.pages.persistence.dao.FileSystemAttachmentDataDao.getDataForAttachment (FileSystemAttachmentDataDao.java:87) ... 210 more 2012-05-16 12:23:39,780 ERROR [http-8090-20] [atlassian.confluence.servlet.ConfluenceServletDispatcher] sendError  Could not execute action -- url: /admin/dobackup.action | userName: ddonnelly | referer: http://selasits:8090/admin/backup.action java.io.IOException: Access is denied at java.io.WinNTFileSystem.createFileExclusively(Native Method) at java.io.File.createNewFile(File.java:883) at com.atlassian.core.util.FileUtils.copyFile(FileUtils.java:465) ...

Cause

This could be a permission issue, or Confluence was started as a different user. Another external factor would be anti-virus/firewall blocking the access.

Resolution

  1. Ensure the right folder permissions on the Confluence home folder by enabling full read and write access or check for the right user that start up the Confluence server.

  2. Check over anti-virus/firewall to see if it is blocking the access.

ℹ️ It is advisable to have a chat with your system admin to see what could possibly cause this permission issue.

Updated on April 11, 2025

Still need help?

The Atlassian Community is here for you.