It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Confluence Backup fails with IOException

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: No such file or directory
	at Method)
	at com.atlassian.core.util.FileUtils.copyFile(
	at com.atlassian.core.util.FileUtils.copyFile(
	at com.atlassian.confluence.importexport.actions.BackupAction.execute(

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?

1 answer

0 votes

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?

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!

Suggest an answer

Log in or Sign up to answer
This widget could not be displayed.
This widget could not be displayed.
Community showcase
Published Mar 12, 2019 in Confluence

Confluence Admin Certification now $150 for Community Members

More and more people are building their careers with Atlassian, and we want you to be at the front of this wave! Important Dates Start the Certification Prep Course by 2 April 2019 (you can also ...

2,503 views 14 20
Read article

Atlassian User Groups

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!

Find my local user group

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

Groups near you