automated space export and import

Hello, We would like to have 2 Confluence installations and we are searching for an option how to export a space from one instance and import it to the other automatically. The export seems to be quite easy by using the Confluence command line interface but unfortunatelly, there is no option for importing a space. Is there a way how to do this? Thanks and regards, Tomas

2 answers

1 accepted

The Confluence Command Line Interface doesn't have a space import because there wasn't a remote API for it. Open an improvement request and will review some of the new APIs that are becoming available.

Also be aware of copySpace and other copy actions. They have a targetServer parameter.


the copySpace action with the targetServer parameter works perfectly for us.

Thanks a lot for your help


Good. Make sure you use all the appropriate copy parameters to cover things you need in your use case (like attachments and permisssions). Be aware that it is not equivalent to save and restore, but does cover many use cases.

0 votes

Hi Tomas,

I couldn't find a way to import the space automatically as well. That might not be possible at the moment. You may want to reach the plugin vendor and check if this is possible or they have some improvement request open already.



Suggest an answer

Log in or Sign up to answer
Community showcase
Published Mar 12, 2019 in Confluence

Confluence Admin Certification now $150 for Community Members

More and more people are building their careers with Atlassian, and we want you to be at the front of this wave! Important Dates Start the Certification Prep Course by 2 April 2019 Take your e...

711 views 2 13
Read article

Atlassian User Groups

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

Find a group

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

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you