Space Import into OnDemand 5.1
Asked by Ashley Jones:

I am attempting to Import our Confluence Spaces' into OnDemand

I have downloaded the latest version of OnDemand [Atlassian Confluence](http://www.atlassian.com/software/confluence) 5.1-rc4, and upgraded our version locally to it.

Then exported a Space and am attempting to import this Space into OnDemand.

The Space is a 5.1 Version and the file size is less than 100MB but I get the following error

I get the following error:  
The following error(s) occurred:

* Your space export cannot be imported with this version of Confluence OnDemand. Please see the information below for more help.  
\<form class="aui long-label" style="margin: 0px; position: relative;" action="https://atdtravel.atlassian.net/wiki/admin/importspace/doimportconfluencespace.action" method="POST" name="spaceimportform" enctype="multipart/form-data"\>

Import a Confluence Space {#toc-hId--1326724421}
------------------------------------------------

Atlassian OnDemand can only import Confluence space backups from the same major version of Confluence. The current Confluence OnDemand version is **5.1** , so backups can only be imported from Confluence **5.1.x** . Please see the [space import guide](http://confluence.atlassian.com/display/AOD/Importing+wiki+data) for more information.

For exports larger than 100MB you must upload the export to your WebDAV directory and import it from there. Please see our guide on [Uploading Data via WebDAV](http://confluence.atlassian.com/display/AOD/Uploading+Data+via+WebDAV) for more information.

Also note that importing a Confluence space **triggers a site reindex** to allow you to search your data. This may take some time, and during this process users may experience slower than usual performance.
\</form\>


Answers:
author: Abdulrazaq Mohammed Ali Omar
body: Could you check your local Confluence build number from Administation \> System information? As OnDemand Confluence build number is now 4207 and the space export must be the same build version to be improtable.

If these doesn't match, you can edit the Build number manually in the zip file; open the zip file and edit the (exportDescripror.properties) with the correct build number and put it back to the zip file.

All the best.

comments: author: Ashley Jones
body: Hi Razaq

Thansk for the help so far

I am still getting the same error

is 407 the correct build number?

I changed this

```
exportType=spacebuildNumber=4214backupAttachments=truespaceKey=TEST
```

to this

```
exportType=spacebuildNumber=4207backupAttachments=truespaceKey=TEST
```


author: Abdulrazaq Mohammed Ali Omar
body: Checking the system info for OnDemand, it appears it's 4304 already :)


author: Ashley Jones
body: Make sure you have the correct build number as explained below and this works a treat


author: Michael Knight
body: We perform upgrades of Confluence every couple of weeks. Upgrades happen on Mondays, so each week that you wish to do space imports, you will want to ensure that your local version of Confluence has been upgraded to the version listed here: <http://www.atlassian.com/software/confluence/download-od>


author: Robert Quinn
body: NOT an Answer....

Import was previously resticted to major version compatibility, have you guys moved down to the build number?

This import version restriction creates a lot of problems. I spent yesterday "updgrading" spaces from 3.x to 5.0.3 only to find you guys upgraded me to 5.1 last night.

What a PIA!

comments: author: Abdulrazaq Mohammed Ali Omar
body: Well, import and export of Full XML backups are still restricted to major versions. But space by space export/import must be done between the exact version of Confluence, and that has been the case for a long time. Check out [this document.](https://confluence.atlassian.com/display/DOC/Restoring+a+Space) And the major version would be something like 5.0.3 to 5.0.4 (that's the same major version), but 5.0.3 aqnd 5.1.0 is not the same major versio.

You can also follow the Atlassian OnDemand Application version from [this page.](https://confluence.atlassian.com/display/AOD/Atlassian+OnDemand+Application+Versions)


Tags: cloud

confluence-cloud