Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Unable to import from XML Site backup

Hi all, please see error below. 


attachment A.jpg


I am trying to migrate my confluence instance into our Tier1 hosting environment but I am running into some issues with the test restore. 

The text from the screenshot reads "Unable to complete import because the data does not match the constraints in the Confluence schema. Cause: MySQLIntegrityConstraintViolationException: Duplicate entry '' for key 'unq_lwr_username'"


I have done some reading on this but it seems all the people that run into this issue actually states which entry is duplicated. But this doesn't show anything. When querying the source DB in SQL I get the result you can see below. 

attachment B.jpg

But when I run the same query on the destination DB (the db was a fresh install and empty db, I guess this was during the restore process) I get the result below.

attachment C.jpg


Has anyone run into this issue and successfully resolved it? 


We are running Confluence server version 7.0.2. 


Any help will be much appreciated. 


Kind regards,


0 answers

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Data Center

Architect your Atlassian Data Center Application (Jira, Confluence, Bitbucket) in Azure

Hello folks! To the member of organizations who are still running their Atlassian applications on the server, we are on the side of the bridge, and if we need to sail the boat with confidence either...

476 views 0 11
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you