backup and then restore a single confluence page

Deleted user July 29, 2012

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

0 votes
Alejandro Conde Carrillo
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
July 29, 2012

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.

0 votes
Bob Swift OSS (Bob Swift Atlassian Apps)
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
July 29, 2012
  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)

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events