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

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
This widget could not be displayed.
This widget could not be displayed.
Community showcase
Published Thursday in Confluence

Confluence CVEs and common questions

Two vulnerabilities have been published for Confluence Server and Data Center recently: March 20, 2019 CVE-2019-3395 / CVE-2019-3396 April 17, 2019 CVE-2019-3398 The goal of this article is...

351 views 0 12
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