How long does Confluence keep XML space exports in temp folder?

Hello,

I am about to migrate one Confluence site to another by exporting all the spaces one by one and importing them on the new site.

I will use Full XML export.

I noticed that the export zip file is created under <confluence-home>/temp folder.

Does anyone know for how long the files are kept in this folder?

I was thinking about exporting several spaces in a row from the UI and then copy all of the exported files from temp directory to the restore directory of the target server with scp.

I am hoping to save some clicks and reduce the waiting time in this way, as I will be doing the migration on Saturday, and let's face it, nobody wants to work on Saturday.

Do you also know if spaces can be exported in parallel?

If I open several browser tabs and initiate export of different spaces from each of them, is it going to work?

1 answer

0 vote
Ann Worley Atlassian Team Dec 01, 2017

The XML file will stay in the temp folder indefinitely. You may back them up to make sure you have them when you start importing them on the destination instance.

I do not recommend running several space exports at the same time as you are likely to run into out of memory errors.

Please let me know more about what you are seeking to accomplish. Is it a case of needing to consolidate two instances, retaining spaces from each? If so, the space by space imports make sense.

The versions of the two instances are also a consideration. The source Confluence instance must not be a higher version than the destination. Please see: Restoring a Space for details.

If you want to upgrade by importing the spaces into a later version, please see: Restoring a Site

XML export files should not be used to upgrade Confluence. Upgrade Confluence by following Upgrading Confluence.

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Posted Jul 10, 2018 in Confluence

We want to see the templates you've created in Confluence!

Hi Community, Jessica here from the Confluence Product Marketing team!  July’s community challenge is all about sharing pictures  — and as an extension of our first post on what ...

606 views 20 11
Join discussion

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