You can use the following steps to split a versioned source space (Space A) into two spaces. The two resulting spaces are 'Space A' (the source space without the content you want to split off into Space B) and 'Space B' (a space containing the pages you didn't need any more in Space A).
Limitations of this workaround
This method is an unofficial workaround, so it has several important limitations:
- In this process, you will publish the spaces you don't want in Space A any more to another space, then delete those pages from Space A. The published pages in Space B will lose all their page history that they had in Space A, and all attachments on all previous page versions will also be lost. Before beginning this process, make sure that this is suitable for your use case.
- Links between Spaces A and B will not work in either direction. 'Links' in this context include page references as used in include page macros, include+ macros or any other macro referring to a page within Confluence.
Make sure you follow these instructions exactly as they are laid out here. Because if you miss certain steps (such as forgetting to make a space backup), your data may be lost.
- Restrict space A so only you can make changes to it. This is important because it lets you avoid inconsistencies.
- Create an XML export of space A as a backup. Choose the full export option.
- Create a new 'Space B' and set up permissions in a way that only you have edit access.
Publish all the pages required in Space B to Space B. This may mean publishing a certain version or variant, or all pages.
Make sure you use the following options when publishing:
- Create an additional, temporary space to be used as a trash bin.
- When you published to Space B, you may have published some pages that you don't need any more. Now, move these pages to the 'trash bin' space. The advantage of moving to a separate space is that the move action takes all children of a page with it. Whereas deleting a page only deletes the page itself, and leaves the children.
- In Space A, delete all pages not required any more using option Remove page and all its versions. Unfortunately, you have to do this for each page individually. There's no option to bulk delete versioned pages.
- Delete the 'trash bin' space.
- Activate Scroll versions for Space B by creating a version called 'initial', and then create another version following 'initial', with the actual name of the first version you want to use.
- Put an edit restriction on the version 'initial' to stop the pages being edited.
- Configure permissions in Space B as required for regular editing. You can now start to work in Space B on the first version following 'initial'.
- Modify space permissions to allow regular work in Space A.