You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
Next: Root
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
The Atlassian Community can help you and your team get more value out of Atlassian products and practices.
Hello!
Context: Space ABC has been growing for a few years now. It was decided back in 2021 to make a copy of the work, for backup purposes, so we exported XML.
Fast forward to the present time, certain things in Space ABC have either gone missing, are broken, or just need to be reverted back to match the content from the export.
I am able to go to Settings > Administration > Import Space to upload the XML, but have concerns that the current production version of Space ABC will be overwritten if I begin that upload (since the XML / Space ABC share the same key).
This is the goal of course, but need to verify upload is good before doing so
I currently don't have access to Confluence Premium, thus no-sandbox environment to work with. Any suggestions or workaround?
Thanks!
Welcome to the Atlassian Community!
The short answer is; The space importer will not import a space with the same key as an existing one. Your import will fall over at the first hurdle!
That's of no use to you, of course, other than the basic "don't kill what I've got already" protection. You do have some options, but they're unfortunately going to be quite manual.
To do the import without a sandbox, you could
In all of these, you will then need to think about how you merge or replace each page. The first two import options will leave you with "current space" and "restored space with a different key", and you'll be wanting to move some or all of the restored stuff into the current space. This could be easy if you just want a direct replacement (i.e. destroying everything added to the space since you did the 2021 export) - delete the current space and use the restored one! But I suspect you'll really want to be deleting some pages and then moving the restored versions back in.
Thank you Nic - this was very helpful! If I go with the search & replace method, is there a tag I should be on the lookout for when I replace the Space ID? ie: <id></id> or CDATA[{Space ID} BCDv]?
Thanks a million!
-Bryan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.