Pocketquery has a import/export manual function however, is there a way to automate the export (as a backup) so it is performed on a regular basis e.g. once a week?
I haven't thought about this before but it should be possible quite easily. The export is triggered by a GET request to this URL: <base-url>/admin/pocketquery/export.action. The only requirement is that the triggering user is a Confluence administrator.
So you can write a simple script that triggers a GET request with authentication as an admin user to that URL and save the response. The response should be the XML file that you can download manually.
Let me know if this is enough information of if you need further advise.
Regards, Felix (Scandio)
Thank you, that works. If you happen to know how to easily script the admin elevation in Confluence that would be appreciated - otherwise it's the Selenium route for me to get past the 2nd authentication requirement once logged in to elevate for admin access.
Hi Community! 2018 was filled with changes for our team, both big and small, and we've taken a lot of time to both celebrate our wins and recognize areas of improvement. One thing that we're a...
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!
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