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,


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
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...

1,334 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