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

Migration problem PostgreSQL to MSSQL import XML

Hello, I have problem with migration from postgresql db to MSSQL. When I export XML and try to import. I have problem with duplicate key. I find some solution but not work. both Confluence run on MS Windows and one on PostgreSQL and second (new) on MSSQL. Can I create XML backup without users?  Or can you take me some diferent advice. 

1.step - I create  XML backup (PostgreSQL)

2.step - Import to new Confluence (MSSQL)

3.step - Import faild because can not import duplicate key row.

Import can not finish. For more information check server protocols.
com.atlassian.confluence.importexport.ImportExportException:Unable to compelete import because the data does not match the constraints in the Confluence schema. Cause:SQLServerException: Cannot insert duplicate key row in object 'dbo.user_mapping' with unique index §§user_mapping_unq_lwr_username . the duplicate key value is ().

 

Thank you

0 answers

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
SERVER
TAGS
Community showcase
Posted in Confluence

Lessons and Learnings: Six Months of Working Remote [Discussion]

Hey there, folks! For most of us, the past six months- yes, you read that right- have been a journey. More people than ever before have pivoted to working remotely, and navigating being on-scre...

2,117 views 4 5
Join discussion

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