• Community
  • Products
  • Confluence
  • Questions
  • •Restore denied. Your export is too old to be imported in this version of Confluence (Build number 4517 instead of 4396). See Restoring a Space for more information.

•Restore denied. Your export is too old to be imported in this version of Confluence (Build number 4517 instead of 4396). See Restoring a Space for more information.

I am getting above error when I tried to import a space to 5.10 which was exported from Confluence 5.2.  I am doing it using confluence import wizard.  ImportSpace API working fine for small sizes but failing for bigger space projects. Can you please advise whether I should use importspace API or Confluence import wizard? Basically I am trying to find the root cause for above error and how to correct it.

2 answers

1 accepted

There have been changes in Confluence's database structure which makes that your backup can't be just restored in the new database. For example, a column "Username" might have been changed to "User key" (with the value changing from "aragot" to "87d3-ac43-fe87-ae13"), so when importing your space, Confluence won't be able to insert the "username" because the column doesn't exist, and the new column "userkey" will be left empty. There are many other examples of this happening with page properties, permissions, application links, document content and document hierarchy.

The solution to upgrade your backup file from 5.2 to 5.10 is:

  • Install a test instance of Confluence 5.2 (preferably with your add-ons and with the same kind of database),
  • Import the space,
  • Upgrade to 5.10 (and your add-ons),
  • Export the space.

It is not that complex to install Confluence 5.2 and upgrade: Download the "tar.gz", unzip it, change the confluence-init.properties, run bin/start-confluence.sh -fg, and follow the wizard. You'll find a Confluence license for this purpose in your my.atlassian.com, and 3-hrs licenses for add-ons on this page.

It's more simple for full backups: I think Confluence 5.10 is able to upgrade them on-the-spot. But as I understand, you only have one space to import.

Hope it helps.

Thank you very much for quick response. Yes it worked for my Import, but I have to repeat this for multiple imports as we are planning to do it one Import at a time. So can we switch between 5.2 and 5.10 versions of confluence. Lets say we have completed one import successfully and then for second import Can I switch back 5.2 and then upgrade to 5.10 ? Not sure that will work ? Please help me whether any other alternative to this ?

 

Thanks in advance,

Siva

Sorry, I didn't see your comment. Just import all spaces in a 5.2 test instance, upgrade it to 5.10, and export all spaces. To answer your other question, you won't be able to switch back from 5.10 to 5.2.

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Kesha Thillainayagam
Posted Friday in Confluence

We want to hear how your non-technical teams are using Confluence!

Hi Community! Kesha (kay-sha) from the Confluence marketing team here! Can you share stories with us on how your non-technical (think Marketing, Sales, HR, legal, etc.) teams are using Confluen...

299 views 11 10
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