Copy page and attachments to another site

I have two Confluence servers. I would like to copy a page and all of its attachments from one site to another. What is the best way to go about doing this? (I'm not adverse to using the command line on each site if necessary)

2 answers

1 accepted

Confluence Command Line Interface use something like confluence --action copyPage --targetServer ...

Thanks Bob! This worked great! I just add to add the --copyAttachments directive and I was in business.

One more thing to note while I was testing targetServer had HTTP Basic Auth built into Tomcat. I was able to use Confluence CLI by adding the username and password to the address. See for more info.

you could do it through the front end if you don't want to do anything too complex. Assuming that both Confluences are the same version.

1. Create a dummy export space, keep it empty

2. Move your page across to the dummy export space.

3. Export the space

4. Re-import to the other confluence

5. Move the page to it's final space

6. Delete the dummy export space in both the new & old confuences.

It's not ideal if you are going to be doing a lot of this as it's creating & destroying spaces but you could always omit the last step & have just the one space used to ferry content between servers.

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 ...

678 views 21 12
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