Copying a space - Ondemand

Does anyone have step-by-step instructions how to copy a space using Confluence OnDemand. There is some excellent documentation on copying a space into a new site - but what I want to do is to copy a space (so that I can capture the audit trail, frozen at a specific moment in time) and then archive it as part of a formal audit trail. I will then continue developing another version of the same space, using the same site.

The stumbling block is the error message that I get when trying to upload the exported space back to the original site: "A space with the Key XXX already exists".

Prior to uploading, I edited entities.xml to amend all reference to the old spacekey and changed them to a new, unique, spacekey. But I still got the error message.

Unfortunately, using the download version is not an option for me, so I can't use the copy space plugin.

4 answers

1 accepted

This widget could not be displayed.

Hi Alex,

Did you edit the other files in the zip file too?

Best regards,

Peter

Ahh ... no. Just the xml. What other files do i need to edit?

You need to edit the exportDescriptor.properties too, it also contains a spacekey reference.

Sorted, thank you.

This widget could not be displayed.

You might find that copySpace from Confluence Command Line Interface (CLI) will fit your use case more easily than save/restore.

Thanks for fast response - this is a one-off, so I'm quite happy to do it manually on this occasion.

This widget could not be displayed.

Hi, I'm also trying to do this. I've done the following:

  1. Done an .xml export of the Space
  2. unzipped and edited the entities and the exportDescriptor files to change the name of the Space key
  3. re-zipped the file
  4. imported the zip file

However I got the following error

 

"The following error(s) occurred:

The zip file did not contain an entry 'exportDescriptor.properties'. It contained: Confluence-space-export-072353-6.xml/attachments/,"  (this error went on for sometime listing attachments).

Is there a step I've missed or anything else I need to do to import a copy of the space?

Many thanks!

 

 

This widget could not be displayed.

This was helpful! Thanks!

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted yesterday in Confluence

Why start from scratch? Introducing four new templates for Confluence Cloud

Hi my Community friends!  For those who don't know me, I'm a product marketer on the Confluence Cloud team - nice to meet you! For those of you who do, you know that I've been all up in your Co...

145 views 1 4
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you