Upgrading
The upgrade procedure is quite simple. New binaries and frontend should be installed according to latest installation
instructions. In order to update database structure, the following steps should be performed.
The upgrade process can take from 0 seconds (if no patches required) to several hours. Note that
before applying database patches, all ZABBIX processes must be stopped.
For production installations a database
backup is required!
Database upgrade
Go to the upgrades/dbpatches directory. In this directory are subdirectories named according to
a version upgrade (e.g. 1.0beta3_to_1.0beta4). Enter the directory corresponding to your
upgrade (if you are upgrading through multiple versions, you will need to apply the upgrades one at a time).
Depending on which database you use:
shell> cd mysql; cat patch.sql |mysql zabbix -u<username> -p<password>
or
shell> cd postgresql; cat patch.sql|psql -U <username> zabbix
Do not forget to upgrade PHP front-end files.
Finally, read version specific notes below for any extra procedures and useful information.
|