We are migrating spaces between two Confluence Data Center instances (source and target). During the migration process, we encountered an issue where some spaces in the target instance already have the same space keys as spaces being migrated from the source instance.
Problem:
When migrating spaces with duplicate space keys, we are getting an error that the space key already exists in the target instance, even though the spaces are different. We need a solution to avoid this conflict without altering the actual content of the spaces.
Question:
Is there a way to rename the space keys of the spaces being migrated (or already existing in the target) without disrupting the content or functionality of the spaces? This would allow us to avoid the duplicate key conflict and complete the migration smoothly.
Environment:
• Confluence version: 8.5.15
• Deployment: Data Center
Looking forward to your guidance on how to handle duplicate space keys effectively.