Install

Install via PyPi:

pip install zabbixbackup

To install in a Python virtual environment

# Create a venv (e.g. in a custom 'backup' directory)
$ mkdir -p backup
$ cd backup
$ python3 -m venv venv
$ . bin/activate # (in windows '. Scripts\activate')
$ pip install zabbixbackup

Windows

The script might be used on windows provided that all the required binaries are available.

You must install Python.

For MySQL or MariaSql use the MySQL installer to install the Workbench.
This is required to have mysql and mysqldump binaries.

For PostgreSQL use the PostgreSQL installer to install what is necessary.
This is required to have the psql and pg_dump binaries.

Once everything is set in place the envoronment variable PATH must be updated. Depending on which database engine is installed, find the bin directory and add that to PATH (Environment variables panel).

Start a new shell and make sure everything works as expected.