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

How to handle export / import of huge space?

Hello,

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?

2 answers

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.

Have you found a way? i am facing similar issues with movement from one cloud instance to another cloud instance (trying to mirror our instance to another one). If i do a selected export i can not import the "parts" because then the confluence project # already exists. Our export is just 8GB however there is a failure when i import it in the new instance. It is shown as completely blank! No pages, no attachements etc. 

I believe it shows like that because you haven't performed a reindex.

It happened to me that importing a space did not showed any attachments until the reindex completed.

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Posted in Confluence

What project did you transition or start on Confluence with the shift to remote work?

It’s been great to hear from fellow users over the last few weeks about the best tips and fun moments you’ve had working on Confluence since the transition to working remote. I’d love to keep the c...

67 views 3 5
Join discussion

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you