Export Confluence spaces as PDF using this command-line tool. This tool uses the SOAP API in Confluence as the REST API does not support export to PDF.
- In order to enable the SOAP API in Confluence, enable the system plug-in/app
Confluence Axis SOAP plugin. - Give the user
Space Exportpermissions on the spaces you want to export with this tool.
When invoking the CLI you have to provide som information, the following arguments are required:
-serverThe FQDN for your Confluence Server, e.g. https://confluence.domain.com-usernameUsername for the user performing the export.-passwordPassword for the user performing the export.-spaceKeyConfluence space key for the space to export.-exportDirectoryFile path to directory which PDF export is stored.