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
Community showcase
Published in Confluence

6 Awesome Ways to Apply Trello, JIRA and Confluence to your Project

I attended  Atlassian Summit 2019  and learned a lot from the presenters, attendees and knowledgeable Atlassian product managers. The presentations I attended focused on applying Agile, pla...

3,857 views 15 38
Read article

Community Events

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

Find an event

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

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you