Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

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

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

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

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

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

please add me on the Ticket.

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

0 votes
Brant Schroeder Community Leader Apr 07, 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

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.

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
SERVER
TAGS
Community showcase
Published in Confluence Cloud

🎨 Add some visual life to your templates

Hi Atlassian Community, My name is Avni Barman, and I am a Product Manager on the Confluence Cloud team. Based on feedback from you, we are giving admins more power to create templates that a...

261 views 5 9
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