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.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.