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.
Any ideas?
For security reasons, the ability to change the backup file location Backup administration screen is disabled by default.
To enable custom backup paths:
<confluence-home>/confluence.cfg.xml
file. Change the value of the following property to true:
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?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Unfortunateley not.
I now managed to migrate my Confluence installation by importing a database dump on the new server after the installation process, even if this is not the recommended way to do it.
Thanks for your help anyway!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Join us to learn how your team can stay fully engaged in meetings without worrying about writing everything down. Dive into Loom's newest feature, Loom AI for meetings, which automatically takes notes and tracks action items.
Register today!Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.