It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Copying a space - Ondemand

Training7 Jun 23, 2014

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

1 vote
Answer accepted
Peter Van de Voorde Jun 23, 2014

Hi Alex,

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

Best regards,

Peter

Training7 Jun 23, 2014

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

Peter Van de Voorde Jun 23, 2014

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

Training7 Jun 23, 2014

Sorted, thank you.

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

Training7 Jun 23, 2014

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

0 votes
Ursula Hoult Dec 22, 2014

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!

 

 

0 votes
David Stephensen Feb 23, 2017

This was helpful! Thanks!

Suggest an answer

Log in or Sign up to answer
This widget could not be displayed.
This widget could not be displayed.
Community showcase
Published in Confluence

Confluence CVEs and common questions

Two vulnerabilities have been published for Confluence Server and Data Center recently: March 20, 2019 CVE-2019-3395 / CVE-2019-3396 April 17, 2019 CVE-2019-3398 The goal of this article is...

943 views 0 19
Read article

Community Events

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

Find an event

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

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you