Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,298,502
Community Members
 
Community Events
165
Community Groups

Automate Confluence Space Export

Just want to share a tool that I wrote for exporting the Confluence space to XML, HTML or PDF file, if you are interested please check this out:

https://www.npmjs.com/package/confluence-space-exporter

Usage: confluence-space-exporter -k [key] -t [type]

Options:
  --help      Show help                                                [boolean]
  --version   Show version number                                      [boolean]
  -k, --key   Confluence space key                                    [required]
  -t, --type  Export file type: xml, html or pdf                      [required]

Examples:
  confluence-space-exporter -k CAP -t xml  Export Confluence space CAP to XML file
# Sample
$ confluence-space-exporter -k CAP -t xml Generating export file for space CAP ... CAP space archiving file download link: https://confluence.jackiechen.org/download/temp/Confluence-space-export-221847-204.xml.zip CAP space download starting time: 2019-10-17 10:18:47 Downloading... status code is: 200 CAP space export file size: 0.01 MB 100.00 % has been downloaded for CAP CAP space download finished! confluence.jackiechen.org-CAP-Confluence_Automation_Poc.xml.zip CAP space download ending time: 2019-10-17 10:18:48

 

1 comment

Hi,
is it possible to install your script as an executable?
Our Servers have no direct connection to the internet and we are not allowed to install npm.

Comment

Log in or Sign up to comment
TAGS
Community showcase
Published in Confluence

An update on Confluence Cloud customer feedback – June 2022

Hi everyone, We’re always looking at how to improve Confluence and customer feedback plays an important role in making sure we're investing in the areas that will bring the most value to the most c...

196 views 1 3
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