Consolidate 4 Confluence instances with all its users, spaces and attachments

Philipp Wieseckel April 7, 2021

We would like to consolidate 4 independent confluence Servers to one single Server.

We will need to migrate all Spaces their attachments and Users from the 4 Internal directory's, with their permissions on Spaces and Group Memberships.

Is this possible?

I already found this KB article regarding Group Memberships: https://confluence.atlassian.com/confkb/migrate-local-group-memberships-between-directories-289277857.html

But i wasn't able to find a way to export the users to a CSV .

Will the permissions and restrictions be consistent when i export and import spaces?

2 answers

0 votes
Reshma Begum _Appfire_
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
April 8, 2021

Hi @Philipp Wieseckel ,

 

With Confluence Command Line Interface, you can use the exportSpace action to export the spaces and then import the spaces into your target instance using restoreExport action.

--action exportSpace --space "RT" --file RTspaceexp.zip
--action restoreExport --file RTspaceexp.zip

Please make sure to place the file in the home\restore directory to import.

With respect to migrating users and groups, please use the exportData action as shown below that gives you the list of actions to run in your target instance so as to recreate the users\groups.

--action exportData --space "RT" --exportType "groups"

or 

--action exportData --space "RT" --exportType "users" --options "includeGroups"

 

We have opened a support ticket, https://bobswift.atlassian.net/servicedesk/customer/portal/1/SUPPORT-6475 to better track your request. However, we couldn't add you as a reporter.  Please sign up using this link https://bobswift.atlassian.net/servicedesk/customer/portal/1/user/signup  and share the user name/id. We'll then add you as the reporter and confirm. 

Thanks,

Reshma

Philipp Wieseckel April 15, 2021

Hi Reshma, thanks for your support. My mail in you ServiceDesk is philipp.wieseckel@ancud.de

please add me on the Ticket.

Philipp Wieseckel April 15, 2021

Another question would be if there is a way to verify that all Pages and attachments were migrateded?

Bipin Nepal September 6, 2022

HI @Reshma Begum _Appfire_  @Philipp Wieseckel  can you please add bipin.nepal@cedargate.com to your support request?

thanks

0 votes
Brant Schroeder
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
April 7, 2021

@Philipp Wieseckel 

I would suggest setting up a new instance and migrating everything to that.  This way you could have a blank slate to start from and test against until you get what you want.  

All instances will need to be on the same version.

Do you have users in multiple directories?  (Same email, username, etc.)  This will causes issues and you will need to merge them.  

After the new instance is setup and all the directories have been attached you should be able to follow these steps.

  1. Export spaces by either:
    1. Individually Export the desired space as a full XML backup
    2. Or per this community post, utilize Bob Swift's Confluence Command Line Interface (CLI)'s and its exportSpace action to bulk export spaces to XML
  2. Restore each of the spaces to target Confluence instance

REMINDER: You can't import into an earlier version of Confluence. So if the Confluence instances are on different versions, you may be limited by this and need to upgrade   For example, if you export a space from Confluence 5.9, you can't import it into Confluence 5.5.

Also, if the space to be imported is very large, you may need to temporarily increase the memory available to Confluence. See How to fix out of memory errors by increasing available memory

Philipp Wieseckel April 8, 2021

Thanks Brant!

Sounds like the best approach to me.

We do have users in different directories, all the instances are using their own internal directory right now.

Like Brant Schroeder likes this

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
SERVER
TAGS
AUG Leaders

Atlassian Community Events