FTP backup of the IT monitoring system
Below you will find a description of the script for the daily backup of the device configuration of one or more Didactum IT monitoring systems to an FTP server. The script is executed on the local operating system of the user (administrator). Python 3 is required to run the script.
The latest version can be downloaded here.
A task scheduler of your operating system is required to run this script every day (cron, anacron, cnacron – for Unix/Linux; Task Scheduler, nnCron – for Windows, etc.). In the "User Settings" section, the following parameters must be specified:
| Parameter | Function | |
| username | User account name including administrative rights on the device. | |
| password | User password with administrative rights on the device. | |
| ftpurl | FTP server address. | |
| ftpuser | FTP server user. | |
| ftppassword | FTP server password. | |
| ftpdir | FTP directory for the copies of configuration settings. |
The list of IP addresses of the IT monitoring systems is defined in the file hosts.txt.
Example: 192.168.0.193
The configuration file of each IT monitoring system is saved on the FTP server in the specified directory using the following naming scheme: settings_mm.dd.yy-hh:mm:ss.zor.
The Python script for the daily backup of the configuration file of your Didactum monitoring system can be downloaded here (as a .zip file) free of charge. To run the script, execute one of the following commands:
Start script > python zorbackup.py or $ python3 zorba |