/zendesk

Zendesk backup for IT Solver including macros, business rules and public content.

Primary LanguagePython

Question

How can I export all my Zendesk data

Answer

For all plans: You can use the Zendesk Rest API endpoints along with your own custom scripts, or use these scripts:

  • Support: tickets, users, organizations, triggers, automations, macros, views, ticket fields, user fields, organisation fields, app installations using backup_zendesk.py.
  • Help Centre Content using Felix Stubner's kBackup. kBackup source code.
  • Help Centre Theme copied manually from Guide admin > Customise design.

For Professional and Enterprise customers: You can export data as a CSV or XML.

Installation

  1. Create and activate a new virtual environment

MacOS / Unix

python -m venv env
source env/bin/activate

Windows (PowerShell)

python -m venv env
.\env\Scripts\activate.bat
  1. Install requirements:
pip install -r requirements.txt

Usage

Customize variables in config.py

Run backup:

python backup_zendesk.py

To do

Fix issue

  • script stuck in loop on downloading latest ticket "Rate limited! Please wait."

Add to backup script:

  • agent profile
  • zendesk settings

Script as much as possible

Automate backup schedule

Create instructions on usage