Back up Zendesk forums to your local hard drive
There are many reason to want a back up of your forums, such as revision control. This little ruby script will start at the root of zendesk forums and walk down each branch, downloading the body and attachments of topic. All files are saved as HTML file, all in line images and attachments are downloaded to the /images directory. Sample backup.
[singlepic id=62 w=320 h=240 float=]
Any Forum not under a Category will be under the “No-Category” directory.
To run the code make sure you have ruby 1.9.1 as a minimum installed with these gems installed 'rubygems', 'httparty', 'FileUtils', 'json', 'nokogiri', 'crack', 'uri'. Then from the command line “ruby pull-zendesk-forum.rb firstname.lastname@example.org password ./directory-to-store-backup your_zendesk_domain”
download code https://github.com/skipjac/pull-zendesk-forums