Unable to import old instasnce backup (ban

Hello I tried to import a backup of an old confluence instance (3 yrs ago). I unfortunately can't remember which version we used back then, but it was a self-hosted instance of Confluence. We also had Team Calendar installed, which probably causes the following error message:

 

Import failed. Check your server logs for more information. com.atlassian.confluence.importexport.ImportExportException: Unable to complete import because the data does not match the constraints in the Confluence schema. Cause: PSQLException: ERROR: duplicate key value violates unique constraint "bandana_unique_key" Detail: Key (bandanacontext, bandanakey)=(_CALENDAR_com.atlassian.confluence.extra.calendar3.calendarstore.InternalSubscriptionCalendarDataStore_7eb84210-9c5f-4b49-bbe8-40699aea3e71_childSubCalendars, 4cb26844-195b-4fb8-8ae8-ee16a300d228) already exists.



Unfortunately, I don't have access to the DB. Otherwise I would have removed the Index for the moment. 

 

Thanks for your help.

 

Very best,

Johnny

1 answer

0 votes

If you're trying to import a full xml backup of Confluence, you need to be importing it into a system of a similar compatible level.  If it were a version 4 system for example, there's no chance of it working in 6.

Or is it just space imports?

No I'm pretty sure it was Confluence 5. I thought the compatibility was still given for this version. No it's a full import. Otherwise I have to run it locally and then hack the DB.  

There are massive problems trying to do this within various versions of 5.x.  You really do need to go to the right version.

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Monday in Confluence

Organizing your space just got easier - Page Tree Drag & Drop is here

Hi Community! I’m Elaine, Confluence Product Manager. You may have read my earlier post about page tree in space navigation sidebar. I'm excited to share another improvement that helps you organize ...

103 views 3 4
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