Automatically PDF Export

Hi All,

is there any possibility to export a page or a complete space in .pdf format automatically, for example every day/week???

Its important for the administators, because the documentations about our database system is in confluence. so if we got database failure, we can't use confluence and read our documentations.

To export the pages (spaces) manually is not comfortable enough for us.

Best regards,


3 answers

1 accepted

2 votes
Answer accepted

You can do it (for a page export) via an external script and accessing confluence via HTTP requests.

wget http://servername/spaces/flyingpdf/pdfpageexport.action?pageId=xxxx -O mypage.pdf

Where xxx is your known page ID. You could probably do the same via a space export to PDF. I've got it on my "to-do" list to create something like this but via a plugin.

One day... ;-)

@bhushan - The backups are certainly something you should do but are not a great stratgey here. WHat if COnfluence is down because the databases are down? You can't restore a backup to a system if there is no working system. You'd have to install a new DB, restore DB, repoint confluence & read data. Not easy to do if they data centre had been disabled.

Exporting to a PDF is safer because it can be stored locally or on redudancy file storage

The space export isn't quite so simple as it requires an atl token. You'd have to login & get a token back to do this the same way


Hi Ramin,

Do you have a backup strategy in place? If your database fails, you really should be able to recover your whole instance of confluence from a previous xml backup.



Confluence Command Line Interface has the exportSpace action that support PDF or other forms. Automate using a job scheduler or, even better, using Bamboo and CLI Plugin for Bamboo.

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...

868 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