My team recently moved to Guru and is already starting to build quite a valuable store of knowledge in there.
It got me thinking about what a major issue it would be if one day we were to suddenly lose access to all our content in Guru.
To be fair, I think it’s highly unlikely that Guru would decide to close up shop without any warning or giving us a chance to export our content, but it’s still nice to know that there are regular backups in there.
Currently, the only way I can think of is to regularly backup the data via the Content Export feature, probably something that we’ll do every 3 months or so.
However, I’m wondering if anyone’s figured out a way to automate this so that a), we don’t have to manually do it, and b) not risk the person responsible forgetting to do it.
I’ve checked the API, and the closest I can find is to use the search API without any query. This is decent I suppose, in that it’s give the text which is the most important part (for us at least), but it’ll be nice if the images can somehow be exported too.
@Jonathan Chua! 👋
Thanks for your question. We suggest backing up your Guru data using these options:
Our team is working to ensure our services are stable and reliable. We hope that one of these exporting options allows you to use Guru continuously, even in the unlikely event of Guru service downtime.
Please let me know if you have any further questions about this, I'm happy to assist further.
Thanks for the response. Yup, what you suggested in 1.2 is what we’re already doing at the moment, albeit not very reliably as it’s a manual process and we keep forgetting.
We do have developer resources, and am looking to use the search API to do a regular, text-only backup, unless there’s something better that we should be looking at?
Thanks for your help. That worked for me!
There are a few options you could go with here:
Let me know if any of these help!
In the script you linked to, as long as you are supplying your email address and API token in the “email” and “token” variables, this script should run just fine - I just tested it on my local machine and it worked great!
When you say that it takes you to the Guru login when you run the script - would you mind providing a screen recording of the steps you’re taking to reproduce that?