Skip to main content

beedumper: backup your SupportBee data

A tool to backup all your data from SupportBee ticketing tool

Install

The package is published at PyPi as beedumper so you can run pip install beedumper on your Python 3.6 environment to install the main command line interface. Alternatively you can also import beedumper.export.Exporter class and work directly with the different methods outside the implemented cli logic.

Note: This tool requires python 3.6 or later to run.

beedumper CLI command

$ beedumper -h
Usage: beedumper [OPTIONS] COMMAND [ARGS]...

  This command line tool helps you export your SupportBee account data.

Options:
  -l, --loglevel [error|warn|info|debug]
  -c, --config PATH               Defaults to current folder "config.yaml"
  -v, --version                   Show the version and exit.
  -h, --help                      Show this message and exit.

Commands:
  all                 Export all account info, both metadata and tickets
  all-metadata        Export all metadata
  all-tickets         Export all ticket info: tickets, replies, comments
                      and...
  emails              Exports the forwarding addresses
  export-attachments  Exports all attachments from the tickets stored
  export-comments     Exports all comments from the tickets stored
  export-replies      Exports all replies from the tickets stored
  export-tickets      Exports all tickets in a folder structure
  labels              Exports the labels
  snippets            Exports the snippets
  teams               Exports the teams
  users               Exports the users

Check the example configuration to set up your config.yaml file with SupportBee credentials and other settings.

Some subcommands may have further options, use -h to find out more about them.

Tickets storage

The tickets are stored under a folder tickets below your defined output directory. For each ticket a folder is created with its id under an intermediate folder that is the modulus of the id by 99. That is, under tickets you'll eventually have folders running from 00 to 98 spreading the tickets approximately evenly over them.

Under each ticket folder you'll eventually end with this structure:

  • ticket.json: main information
  • replies.json: array of replies made to the requester
  • comments.json: comments made by agents
  • attachments: folder with attachment files by the original requester
  • attachments_replies: folder with attachments coming from the replies

It's recommended to first run the simple subcommands like users or labels to test things work as expected. Then you can start with export-tickets --since-date passing a recent date to download only a few tickets. Then you can do the same with export-replies, export-comments, and export-attachments sequentially, as replies and comments are based on existing tickets, and attachments use both tickets and replies JSON files.

If there are no issues on downloading those recent assets, you can then run all to download the full dump of tickets information and in subsequent executions use the --since-date parameter to only download tickets with last_activity_at metadata older than the passed timestamp to keep your dump updated with recent changes.

Metadata

Release files for beedumper 0.1.6

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for beedumper 0.1.6
File Size Uploaded
beedumper-0.1.6.tar.gz 10.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for beedumper 0.1.6
File Interpreter ABI Platform
beedumper-0.1.6-py3-none-any.whl Python 3 none any Details

Total release size: 39.0 kB

Release files / beedumper-0.1.6.tar.gz

Download URL beedumper-0.1.6.tar.gz
Size 10.0 kB
Tags Source
SHA-256 checksum
How to use checksums
429399659ac5c8f846520fcf27671ef9ebaece775038b2087bef1b8c94f6a9a3
BLAKE2b-256 checksum
How to use checksums
d357a967257cb22fc71124b3b6901ac45a83156afe42a4ff381bc4eb80d19c95
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/0.12.11 CPython/3.6.8 Linux/4.15.0-54-generic

Release files / beedumper-0.1.6-py3-none-any.whl

Download URL beedumper-0.1.6-py3-none-any.whl
Size 29.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
2425b95fc90abc51a77e138c6c3f2b3db0ef4b1e6cd04ada03b8073c573ba7f5
BLAKE2b-256 checksum
How to use checksums
128cf80bb4b6bd460087ee8a8d1a77ca1345072d2f97e523de1049655991b2e4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/0.12.11 CPython/3.6.8 Linux/4.15.0-54-generic

Release history Release notifications | RSS feed

This release

0.1.6 This release

2 release files

0.1.5

2 release files

0.1.4

2 release files

0.1.3

2 release files

0.1.2

2 release files

0.1.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page