Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Change Space key for xml exported Confluence Space

Chirag Parikh January 17, 2024

Hello team, I have an xml export which I would like to import in Confluence Data Center 7.19. I am using the solution 3 provided by below KB but its not working. Does anyone else having the same issue or have an updated PowerShell or bash script that would work better. 

 

https://confluence.atlassian.com/confkb/how-to-copy-or-rename-a-space-in-confluence-169578.html

Thank you,

Chirag Parikh.

 

1 answer

1 accepted

1 vote
Answer accepted
Brant Schroeder
Community Champion
January 17, 2024

@Chirag Parikh After following the instructions and trying to restore from the XML what is occurring?  What are you seeing in the logs?  Are you trying to restore in a different instance or on the same instance?  Are the versions of the instances the same?

Chirag Parikh January 17, 2024

Thank you for your reply Brant. It throws an error saying Space Key exists. We are trying to import in the different instance but in the instance where we are importing the key already is used by other team.

Brant Schroeder
Community Champion
January 17, 2024

@Chirag Parikh It has been a long time since I have done a space key change in XML.  You could always create a new space on the instance that you are exporting out of.  Then you can copy all the pages to the new space and export it with a new key.  I know it is not ideal but it should work if the key is not being used.  You could always create the space copy a few pages and test it.  Remember when you are copying pages to select the check box to copy child pages.  This should limit the number of copies you will need to execute.  

Brant Schroeder
Community Champion
April 1, 2024

@Chirag Parikh please accept the answer to help others?

Chirag Parikh April 8, 2024

Thank you Brant. Atlassian Add-in for Copy Space works amazing. We ended up using Copy Space to create a new space using  New Key and that worked great for us.

Thank you,

Chirag Parikh.

Like Brant Schroeder likes this

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
SERVER
TAGS
AUG Leaders

Atlassian Community Events