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


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 votes
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
Community showcase
Posted Feb 06, 2019 in Confluence

Try out the new editing experience

Hi team, I’m Avinoam, a product manager on Confluence Cloud, and today I’m really excited to let the Community know that all customers can now try out the new editing experience and see some of the ...

909 views 45 7
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