Is it possible to do daily automatic Confluence space exports

The company I'm working for creates and sells software. The software suite is composed of many programs that all work together. The business this software is created for requires offline available help. The help is distributed with the installer of the software and displayed in a browser.

To maintain these help pages we use Confluence. All the help is put in one Confluence space called Help. In this space, all programs are listed with help pages per program. The structure looks like this:

  • Help
    • Program1
      • Program1 - File menu
      • Program1 - View menu
      • ..
    • Program2
      • Program2 - File menu
      • Program2 - View menu
      • ..

The current way of affairs is to do a manual export to HTML for each program listed in the help space.

This goes like this:

  • In the Space Tools, click Content Tools
  • Open the Export tab
  • Select HTML export and click Next
  • Select Custom Export
  • Uncheck "Include comments"
  • Uncheck the whole Help space
  • Check the program help that should be exported, so Program1 in this case 
  • Click Export
  • Wait for the Export to complete
  • Click "Download Here"
  • Unpack the downloaded zip and place it in a folder on the server, ready for the installer

So the process is time consuming, and brain dead work since there are more than 50 programs that have to be done like this.


Question: Is there a way to do this automatically? Either per subspace (Program1, Program2, etc) or the whole Help space at once?

If an automatic space export can be done we could just split up the current space to suit our needs. We would like to make this part of our nightly build process, to always have up-to-date help available for our installer.

2 answers

It is possible using the CLi interface for confluence. See this link for more details


Thanks for the extremely fast (and on first glance, helpful!) answer. I like the sound of a bamboo plugin for this. Thanks for that link Pilar.

You can try the AutoExport for Confluence Plugin.

The Marketplace Download is a bit outdated. The sources in the Bitbucket Repo are newer.

Thanks for the extremely fast (and on first glance, helpful!) answers. Thank you Tim, I'm going to give the plugin a try!

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Mar 12, 2019 in Confluence

Confluence Admin Certification now $150 for Community Members

More and more people are building their careers with Atlassian, and we want you to be at the front of this wave! Important Dates Start the Certification Prep Course by 2 April 2019 Take your e...

1,349 views 2 13
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