Copying a space

A copy creates a new space on the same Confluence site with the pages, folders and blog posts of the source space, in the same order, including folders at the top level of the space, next to the home page. Links inside the copied content that pointed at the source space are switched to the new space. The source space is only read, never changed.

Start a copy

  1. Open Spacewright and choose the tab Copy a space.
  2. Search by name or key and choose the space to copy.
  3. Enter a name and a key for the new space. The key may contain only letters and digits, must differ from the source key and must not be in use.
  4. Choose what to copy (below).
  5. Click Dry run first to check, then Copy space.

Copy options

OptionTicked by defaultWhat it does
AttachmentsYesCopies the latest version of each file attached to the copied pages and blog posts. Files over 250 MB are listed as failed.
Blog postsYesCopies the space's published blog posts.
Space page templatesYesCopies the page templates that belong to the space, with their links switched.
Page restrictionsYesGives each copied page and blog post the same view and edit restrictions as the original, as soon as it is created and before anything is written into it. You are added to those restrictions so the copy can be filled in. When it is not ticked, restricted pages, and everything inside a page with view restrictions, are not copied and are listed in the report under Not copied. Restricted content is never copied without its restrictions. Restricted folders are not copied (Spacewright cannot copy folder restrictions).
Space permissionsNoGives the new space the same permissions as the source space. When it is not ticked, Confluence gives the new space its usual default permissions.
Archived pagesNoAlso copies archived pages. In the new space they become normal pages.
Space lookNoCopies the space description, theme and space settings. The colours, the logo and the sidebar are not copied. See copy the space look.
Rename the copied titlesNoAdds a prefix or suffix to every copied title, or replaces text in titles. See rename the copied titles.

Always copied: pages, folders, page order, labels and content properties. A site admin can change which options are ticked by default (except archived pages, space look and title renaming, which always start unticked).

Dry run

A dry run reads the source space and creates nothing. It shows:

Dry runs also appear in the Jobs tab.

What happens during a copy

The copy runs in the background in this order:

  1. Read the source space: the pages at its top level and everything under them; then the folders, whiteboards, databases and smart links that are not under a page, found through Confluence search (see content at the top level), and everything inside them; then the blog posts; then the restrictions of everything found.
  2. Create the new space.
  3. Create every page, folder and blog post in tree order, still empty. A restricted page or blog post is created under a neutral title ("Spacewright: restricted page being copied") and gets its view and edit restrictions at once, before its children, attachments or content. If Confluence refuses those restrictions, it is not filled in and is listed under Not copied, and so is everything inside it.
  4. Copy the space page templates.
  5. Copy attachments.
  6. Copy labels and content properties.
  7. Fill in each page's content, switching links to the new space and filling in template values.
  8. Write the copy report page. It is restricted so that only the person who ran the copy can see it, because it can name restricted pages; share it if others need it. If Confluence does not allow that, the report counts restricted pages without naming them.
  9. Add a line to the admins' audit log.

Pages look empty until step 7 reaches them, and restricted pages keep their neutral title until then. Wait until the job shows done before you edit the new space.

The copied pages are created by the person who ran the copy, and their page history starts fresh. Page versions written by the copy carry the note "Copied by Spacewright".

Progress, cancel and resume

After the copy