Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

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

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

Confluence Mythbusters: Does Atlassian even use Confluence?

Hi, Confluence collaborators! As part of #Confluence-Collaboratory month, we’ve created a very special Mythsbusters segment, where we're dive into an interesting myth and uncover the truth behind i...

649 views 5 18
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