backup and then restore a single confluence page

I want to back up a single page from confluence and then re-import it into another space at some later time.

Of course this can be done by copying the db entry, but isn't there a gui based option?

I did an xml export, but xml import requires restoring the entire space (maybe there's a way to restore it under a different name..?)

I noticed there's an option to do a text import. But i couldn't find a way to do a text export.

In the 3.2 wiki i could just copy the entire wiki markup of the page and save it in a file somewhere. But now this is no longer an option :(

2 answers

  1. GUI: Tools -> copy the page to your personal space and then later, copy it again to the target space
  2. Command line: getPageSource to a file and then later storePage (with --noConvert if using Confluence 4.x)

Unfortunately, Confluence does not have the functionality to export a single page (without the space). This functionality was actually present in previous versions but it was dropped long time ago.

There are many ways to get the same functionality in other ways:

  • Confluence give you the option to copy and paste pages between spaces. If you don't want the pages to be accessible anymore, you could create a backup space only accessible by Confluence admins and move there all pages you want to delete, but still have an option to restore them in another space in the future.
  • You could also create a small program using the API to create pages from a file. You can obtain the content of a page by clicking on Tools > View Storage Format while viewing the page. Save the content on files and restore them using your program.
  • If what you want is copy pages between instances, while viewing a page click on Tools > View Source. You can copy the source and paste it directly into another Confluence page editor.


I found this feature request, CONF-10479 which will provide the functionality you described. Please feel free to add your comments and vote it to make it more noticeable to our developers. Please read Atlassian Bug Fixing Policy for more information.

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

755 views 23 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