How to handle export / import of huge space?


We want to consolidate two Confluence servers, but I am having problems with one of the spaces on the source server.

The space is awfully big (from my perspective) with more than 10K pages in it.

The export zip is 24 GB.

When I try to import it (after downloading the file for hours) the import fails with all kinds of errors - Out of Memory, Value too long (apparently some inline comments contain special characters and when exported, exceed the 255 boundary for some text columns), etc.

Even if I can go back to the source space, fix some of the errors, export and try again, it takes a lot of time.

Exporting alone takes > 2hours, downloading the zip takes a lot of time too, importing it takes 1 hour or more.

Has anyone faced similar situations?

Are there some tricks to reduce the size of the exported file?

Can I do several exports / imports of parts of the space?


In general are there any recommendations for the optimal space size / structure and at what time one should consider splitting a space into multiple smaller spaces?

1 answer

Go to admin/backup.action

and follow Restore a backup from the Confluence Home Directory.

You have to copy your backup zip to path mentonied in above section, usually /var/atlassian/application-data/confluence/restore.

Uncheck Build Index and press Restore after choosing your zip.

I know how to do the import of a space.

I am wondering if there are any special hints for big spaces.

I understand that copying the exported file from the source Confluence's application-data/export directory to the target Confluence's application-data/import directory will save some time.

Suggest an answer

Log in or Sign up to answer
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 Take your e...

1,508 views 4 13
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