Hello every one,
I use Conluence 8.5.5 data center on premise
I would like to export data from a space in HTML automatically
For date, i go to the space, click on "tool space" than "manage content" than "export" and i choose HTML
It's ok and it's what i want but i would like the same result automatically (not to go manually choose option)
The idea is to have access to my data in "degraded mode" if my server is down
Thank you for your help
Sorry for my english, i'm belgian :)
Hello @Macors Romain ,
Thanks for reaching out!
With Confluence Command Line Interface, you can export the spaces in bulk\individual space using the exportSpace action. Below is an example for your reference:
--action exportSpace --space "zexport" --file "build/output/export/exportSpaceHtml.zip" --exportType "HTML"
To automate this script, you must write a script along with our CLI action, which helps you schedule the job automatically.
Hope this helps!
BTW, I am from Appfire, a vendor of CLI apps.
Thanks,
Reshma
I was facing the same challenge and able to solve it using the bash script mentioned here: https://jira.atlassian.com/browse/CONFSERVER-40457
Exporting a space (HTML) worked for me out of the box without 3rd party apps. You can use a simple cronjob to automate the space export and add a copy job afterwards to move the exported space to your desired place.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello
I don't believe there is a way to do this natively in Confluence aside from the manual method you described above. Atlassian recently added REST API options to export a space (or entire site) as an XML export - so it theoretically could be automated; but this is not the same as HTML as the XML exports are intended to be restored into another Confluence instance.
There is a Confluence 3rd party app known as Confluence CLi that has the ability to export spaces and automate it - but this is not something I have used personally so it might be worth checking it out.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.