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 vote

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
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Posted Jul 10, 2018 in Confluence

We want to see the templates you've created in Confluence!

Hi Community, Jessica here from the Confluence Product Marketing team!  July’s community challenge is all about sharing pictures  — and as an extension of our first post on what ...

1,032 views 23 13
Join discussion

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