I am trying to import a space from an older confluence version to new confluence version i.e. 2.2.8 - > 3.5.2
The space contains pages which have attachements.
When I try to import the zip file I get an error -
You can only restore space backups exported from the same major version (e.g. 2.2.x or 2.3.x).
It would be great help if somebody can guide me through this.
You need to set up a temporary 2.2.8 instance, restore the data, upgrade (maybe a couple of version steps, check the release notes), export and reimport. There would have been significant schema changes between 2.2 and 5.5, some of which will affect the xml data format.
I would suggest raising a support ticket on this. Atlassian can advise you which versions you will need to pass through.
You can get temporary licences to do this.
Thanks alot for the answer.
In the interim I found another way to solve the problem.
When we try to import between two major version i.e. 2.2.x - > 5.5.2 its not allowed by Confluence, because for the simple fact that its build number changes.
Thus one needs to just change the build number by going in the exportDescriptor.properties file and changing the build number.
Once we do this import it.
I wouldn't rely on that - it could create incompatible data as you're lying about the versions and potentially throwing complete misinformation at a server. If I were to use that, I'd be very worried, unless I tested at least every macro and function that had been used anywhere in the data, with every combination of parameters in use.
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!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG