How to restore data from Confluence version 2.2.8 to Confluence version 3.5.2

Hi

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.

1 answer

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.

Hi Jim

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.

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Mar 12, 2019 in Confluence

Confluence Admin Certification now $150 for Community Members

More and more people are building their careers with Atlassian, and we want you to be at the front of this wave! Important Dates Start the Certification Prep Course by 2 April 2019 Take your e...

713 views 2 13
Read article

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