I'm trying to make a backup of my Confluence installation (General configuration / Backup and restore). I choose "Archive to backups folder" and "Backup attachments" and always get this error:
java.io.IOException: No such file or directory at java.io.UnixFileSystem.createFileExclusively(Native Method) at java.io.File.createNewFile(File.java:1012) at com.atlassian.core.util.FileUtils.copyFile(FileUtils.java:461) at com.atlassian.core.util.FileUtils.copyFile(FileUtils.java:397) at com.atlassian.confluence.importexport.actions.BackupAction.execute(BackupAction.java:69)
It also happens if "Backup attachments" is unchecked.
When I uncheck the option "Archive to backups folder", no error is shown, but not backup file is created in the expected location.
Now this error message isn't that helpful. The restore folder exists and is writeable for the confluence user; it even contains an older backup file, so the backup functionality seems to have worked before.
It might not be the exports/backups directory that it cannot read/write. It uses temporary caches and temp directories, so it could be one of them, and it might even be the attachments directories its trying to write.
Does the error not say what it was trying to do?
Atlassian Summit is an excellent opportunity for in-person support, training, and networking.Learn more
@Manon Soubies-Camy is an engineer who has been an avid Atlassian user since 2014. She helps companies of all sizes transform the way they work with the Atlassian stack, including Jira and Confl...
Connect with like-minded Atlassian users at free events near you!Find a group
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG
You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs