|
4 | 4 | # zabbix-mysql-dump - Configuration Backup for Zabbix with MySQL
|
5 | 5 | #
|
6 | 6 | # SYNOPSIS
|
7 |
| -# This is a MySQL configuration backup script for Zabbix 1.x and 2.x. |
| 7 | +# This is a MySQL configuration backup script for Zabbix 1.x, 2.x and 3.0.x. |
8 | 8 | # It does a full backup of all configuration tables, but only a schema
|
9 | 9 | # backup of large data tables.
|
10 | 10 | #
|
|
20 | 20 | # - Andreas Niedermann (dre-)
|
21 | 21 | # - Mișu Moldovan (dumol)
|
22 | 22 | # - Daniel Schneller (dschneller)
|
| 23 | +# - Ruslan Ohitin (ruslan-ohitin) |
23 | 24 | #
|
24 | 25 | # HISTORY
|
| 26 | +# 0.8.1 (2016-07-11) |
| 27 | +# ENH: Added Zabbix 3.0.x tables to list (added & tested by Ruslan Ohitin) |
| 28 | +# |
25 | 29 | # 0.8.0 (2016-01-22)
|
26 | 30 | # FIX: Only invoke `dig` if available
|
27 | 31 | # ENH: Option -c to use a MySQL config ("options") file (suggested by Daniel Schneller)
|
@@ -343,119 +347,129 @@ exit 0
|
343 | 347 | #
|
344 | 348 |
|
345 | 349 | __DATA__
|
346 |
| -acknowledges 1.3.1 - 2.4.0 DATA |
347 |
| -actions 1.3.1 - 2.4.0 |
348 |
| -alerts 1.3.1 - 2.4.0 DATA |
349 |
| -application_template 2.1.0 - 2.4.0 |
350 |
| -applications 1.3.1 - 2.4.0 |
351 |
| -auditlog 1.3.1 - 2.4.0 DATA |
352 |
| -auditlog_details 1.7 - 2.4.0 DATA |
353 |
| -autoreg 1.3.1 - 1.3.4 |
354 |
| -autoreg_host 1.7 - 2.4.0 |
355 |
| -conditions 1.3.1 - 2.4.0 |
356 |
| -config 1.3.1 - 2.4.0 |
357 |
| -dbversion 2.1.0 - 2.4.0 |
358 |
| -dchecks 1.3.4 - 2.4.0 |
359 |
| -dhosts 1.3.4 - 2.4.0 |
360 |
| -drules 1.3.4 - 2.4.0 |
361 |
| -dservices 1.3.4 - 2.4.0 |
362 |
| -escalations 1.5.3 - 2.4.0 |
363 |
| -events 1.3.1 - 2.4.0 DATA |
364 |
| -expressions 1.7 - 2.4.0 |
365 |
| -functions 1.3.1 - 2.4.0 |
366 |
| -globalmacro 1.7 - 2.4.0 |
367 |
| -globalvars 1.9.6 - 2.4.0 |
368 |
| -graph_discovery 1.9.0 - 2.4.0 |
369 |
| -graph_theme 1.7 - 2.4.0 |
370 |
| -graphs 1.3.1 - 2.4.0 |
371 |
| -graphs_items 1.3.1 - 2.4.0 |
372 |
| -group_discovery 2.1.4 - 2.4.0 |
373 |
| -group_prototype 2.1.4 - 2.4.0 |
374 |
| -groups 1.3.1 - 2.4.0 |
375 |
| -help_items 1.3.1 - 2.1.8 |
376 |
| -history 1.3.1 - 2.4.0 DATA |
377 |
| -history_log 1.3.1 - 2.4.0 DATA |
378 |
| -history_str 1.3.1 - 2.4.0 DATA |
379 |
| -history_str_sync 1.3.1 - 2.2.6 DATA |
380 |
| -history_sync 1.3.1 - 2.2.6 DATA |
381 |
| -history_text 1.3.1 - 2.4.0 DATA |
382 |
| -history_uint 1.3.1 - 2.4.0 DATA |
383 |
| -history_uint_sync 1.3.1 - 2.2.6 DATA |
384 |
| -host_discovery 2.1.4 - 2.4.0 |
385 |
| -host_inventory 1.9.6 - 2.4.0 |
386 |
| -host_profile 1.9.3 - 1.9.5 |
387 |
| -hostmacro 1.7 - 2.4.0 |
388 |
| -hosts 1.3.1 - 2.4.0 |
389 |
| -hosts_groups 1.3.1 - 2.4.0 |
390 |
| -hosts_profiles 1.3.1 - 1.9.2 |
391 |
| -hosts_profiles_ext 1.6 - 1.9.2 |
392 |
| -hosts_templates 1.3.1 - 2.4.0 |
393 |
| -housekeeper 1.3.1 - 2.4.0 |
394 |
| -httpstep 1.3.3 - 2.4.0 |
395 |
| -httpstepitem 1.3.3 - 2.4.0 |
396 |
| -httptest 1.3.3 - 2.4.0 |
397 |
| -httptestitem 1.3.3 - 2.4.0 |
398 |
| -icon_map 1.9.6 - 2.4.0 |
399 |
| -icon_mapping 1.9.6 - 2.4.0 |
400 |
| -ids 1.3.3 - 2.4.0 |
401 |
| -images 1.3.1 - 2.4.0 |
402 |
| -interface 1.9.1 - 2.4.0 |
403 |
| -interface_discovery 2.1.4 - 2.4.0 |
404 |
| -item_condition 2.3.0 - 2.4.0 |
405 |
| -item_discovery 1.9.0 - 2.4.0 |
406 |
| -items 1.3.1 - 2.4.0 |
407 |
| -items_applications 1.3.1 - 2.4.0 |
408 |
| -maintenances 1.7 - 2.4.0 |
409 |
| -maintenances_groups 1.7 - 2.4.0 |
410 |
| -maintenances_hosts 1.7 - 2.4.0 |
411 |
| -maintenances_windows 1.7 - 2.4.0 |
412 |
| -mappings 1.3.1 - 2.4.0 |
413 |
| -media 1.3.1 - 2.4.0 |
414 |
| -media_type 1.3.1 - 2.4.0 |
415 |
| -node_cksum 1.3.1 - 2.2.6 |
416 |
| -node_configlog 1.3.1 - 1.4.7 |
417 |
| -nodes 1.3.1 - 2.2.6 |
418 |
| -opcommand 1.9.4 - 2.4.0 |
419 |
| -opcommand_grp 1.9.2 - 2.4.0 |
420 |
| -opcommand_hst 1.9.2 - 2.4.0 |
421 |
| -opconditions 1.5.3 - 2.4.0 |
422 |
| -operations 1.3.4 - 2.4.0 |
423 |
| -opgroup 1.9.2 - 2.4.0 |
424 |
| -opmediatypes 1.7 - 1.8.21 |
425 |
| -opmessage 1.9.2 - 2.4.0 |
426 |
| -opmessage_grp 1.9.2 - 2.4.0 |
427 |
| -opmessage_usr 1.9.2 - 2.4.0 |
428 |
| -optemplate 1.9.2 - 2.4.0 |
429 |
| -profiles 1.3.1 - 2.4.0 |
430 |
| -proxy_autoreg_host 1.7 - 2.4.0 |
431 |
| -proxy_dhistory 1.5 - 2.4.0 |
432 |
| -proxy_history 1.5.1 - 2.4.0 |
433 |
| -regexps 1.7 - 2.4.0 |
434 |
| -rights 1.3.1 - 2.4.0 |
435 |
| -screens 1.3.1 - 2.4.0 |
436 |
| -screens_items 1.3.1 - 2.4.0 |
437 |
| -scripts 1.5 - 2.4.0 |
438 |
| -service_alarms 1.3.1 - 2.4.0 |
439 |
| -services 1.3.1 - 2.4.0 |
440 |
| -services_links 1.3.1 - 2.4.0 |
441 |
| -services_times 1.3.1 - 2.4.0 |
442 |
| -sessions 1.3.1 - 2.4.0 |
443 |
| -slides 1.3.4 - 2.4.0 |
444 |
| -slideshows 1.3.4 - 2.4.0 |
445 |
| -sysmap_element_url 1.9.0 - 2.4.0 |
446 |
| -sysmap_url 1.9.0 - 2.4.0 |
447 |
| -sysmaps 1.3.1 - 2.4.0 |
448 |
| -sysmaps_elements 1.3.1 - 2.4.0 |
449 |
| -sysmaps_link_triggers 1.5 - 2.4.0 |
450 |
| -sysmaps_links 1.3.1 - 2.4.0 |
451 |
| -timeperiods 1.7 - 2.4.0 |
452 |
| -trends 1.3.1 - 2.4.0 DATA |
453 |
| -trends_uint 1.5 - 2.4.0 DATA |
454 |
| -trigger_depends 1.3.1 - 2.4.0 |
455 |
| -trigger_discovery 1.9.0 - 2.4.0 |
456 |
| -triggers 1.3.1 - 2.4.0 |
457 |
| -user_history 1.7 - 2.4.0 |
458 |
| -users 1.3.1 - 2.4.0 |
459 |
| -users_groups 1.3.1 - 2.4.0 |
460 |
| -usrgrp 1.3.1 - 2.4.0 |
461 |
| -valuemaps 1.3.1 - 2.4.0 |
| 350 | +acknowledges 1.3.1 - 3.0.3 DATA |
| 351 | +actions 1.3.1 - 3.0.3 |
| 352 | +alerts 1.3.1 - 3.0.3 DATA |
| 353 | +application_discovery 2.5.0 - 3.0.3 |
| 354 | +application_prototype 2.5.0 - 3.0.3 |
| 355 | +application_template 2.1.0 - 3.0.3 |
| 356 | +applications 1.3.1 - 3.0.3 |
| 357 | +auditlog 1.3.1 - 3.0.3 DATA |
| 358 | +auditlog_details 1.7 - 3.0.3 DATA |
| 359 | +autoreg 1.3.1 - 1.3.4 |
| 360 | +autoreg_host 1.7 - 3.0.3 |
| 361 | +conditions 1.3.1 - 3.0.3 |
| 362 | +config 1.3.1 - 3.0.3 |
| 363 | +dbversion 2.1.0 - 3.0.3 |
| 364 | +dchecks 1.3.4 - 3.0.3 |
| 365 | +dhosts 1.3.4 - 3.0.3 |
| 366 | +drules 1.3.4 - 3.0.3 |
| 367 | +dservices 1.3.4 - 3.0.3 |
| 368 | +escalations 1.5.3 - 3.0.3 |
| 369 | +events 1.3.1 - 3.0.3 DATA |
| 370 | +expressions 1.7 - 3.0.3 |
| 371 | +functions 1.3.1 - 3.0.3 |
| 372 | +globalmacro 1.7 - 3.0.3 |
| 373 | +globalvars 1.9.6 - 3.0.3 |
| 374 | +graph_discovery 1.9.0 - 3.0.3 |
| 375 | +graph_theme 1.7 - 3.0.3 |
| 376 | +graphs 1.3.1 - 3.0.3 |
| 377 | +graphs_items 1.3.1 - 3.0.3 |
| 378 | +group_discovery 2.1.4 - 3.0.3 |
| 379 | +group_prototype 2.1.4 - 3.0.3 |
| 380 | +groups 1.3.1 - 3.0.3 |
| 381 | +help_items 1.3.1 - 2.1.8 |
| 382 | +history 1.3.1 - 3.0.3 DATA |
| 383 | +history_log 1.3.1 - 3.0.3 DATA |
| 384 | +history_str 1.3.1 - 3.0.3 DATA |
| 385 | +history_str_sync 1.3.1 - 2.2.13 DATA |
| 386 | +history_sync 1.3.1 - 2.2.13 DATA |
| 387 | +history_text 1.3.1 - 3.0.3 DATA |
| 388 | +history_uint 1.3.1 - 3.0.3 DATA |
| 389 | +history_uint_sync 1.3.1 - 2.2.13 DATA |
| 390 | +host_discovery 2.1.4 - 3.0.3 |
| 391 | +host_inventory 1.9.6 - 3.0.3 |
| 392 | +host_profile 1.9.3 - 1.9.5 |
| 393 | +hostmacro 1.7 - 3.0.3 |
| 394 | +hosts 1.3.1 - 3.0.3 |
| 395 | +hosts_groups 1.3.1 - 3.0.3 |
| 396 | +hosts_profiles 1.3.1 - 1.9.2 |
| 397 | +hosts_profiles_ext 1.6 - 1.9.2 |
| 398 | +hosts_templates 1.3.1 - 3.0.3 |
| 399 | +housekeeper 1.3.1 - 3.0.3 |
| 400 | +httpstep 1.3.3 - 3.0.3 |
| 401 | +httpstepitem 1.3.3 - 3.0.3 |
| 402 | +httptest 1.3.3 - 3.0.3 |
| 403 | +httptestitem 1.3.3 - 3.0.3 |
| 404 | +icon_map 1.9.6 - 3.0.3 |
| 405 | +icon_mapping 1.9.6 - 3.0.3 |
| 406 | +ids 1.3.3 - 3.0.3 |
| 407 | +images 1.3.1 - 3.0.3 |
| 408 | +interface 1.9.1 - 3.0.3 |
| 409 | +interface_discovery 2.1.4 - 3.0.3 |
| 410 | +item_application_prototype 2.5.0 - 3.0.3 |
| 411 | +item_condition 2.3.0 - 3.0.3 |
| 412 | +item_discovery 1.9.0 - 3.0.3 |
| 413 | +items 1.3.1 - 3.0.3 |
| 414 | +items_applications 1.3.1 - 3.0.3 |
| 415 | +maintenances 1.7 - 3.0.3 |
| 416 | +maintenances_groups 1.7 - 3.0.3 |
| 417 | +maintenances_hosts 1.7 - 3.0.3 |
| 418 | +maintenances_windows 1.7 - 3.0.3 |
| 419 | +mappings 1.3.1 - 3.0.3 |
| 420 | +media 1.3.1 - 3.0.3 |
| 421 | +media_type 1.3.1 - 3.0.3 |
| 422 | +node_cksum 1.3.1 - 2.2.13 |
| 423 | +node_configlog 1.3.1 - 1.4.7 |
| 424 | +nodes 1.3.1 - 2.2.13 |
| 425 | +opcommand 1.9.4 - 3.0.3 |
| 426 | +opcommand_grp 1.9.2 - 3.0.3 |
| 427 | +opcommand_hst 1.9.2 - 3.0.3 |
| 428 | +opconditions 1.5.3 - 3.0.3 |
| 429 | +operations 1.3.4 - 3.0.3 |
| 430 | +opgroup 1.9.2 - 3.0.3 |
| 431 | +opinventory 3.0.0 - 3.0.3 |
| 432 | +opmediatypes 1.7 - 1.8.22 |
| 433 | +opmessage 1.9.2 - 3.0.3 |
| 434 | +opmessage_grp 1.9.2 - 3.0.3 |
| 435 | +opmessage_usr 1.9.2 - 3.0.3 |
| 436 | +optemplate 1.9.2 - 3.0.3 |
| 437 | +profiles 1.3.1 - 3.0.3 |
| 438 | +proxy_autoreg_host 1.7 - 3.0.3 |
| 439 | +proxy_dhistory 1.5 - 3.0.3 |
| 440 | +proxy_history 1.5.1 - 3.0.3 |
| 441 | +regexps 1.7 - 3.0.3 |
| 442 | +rights 1.3.1 - 3.0.3 |
| 443 | +screen_user 3.0.0 - 3.0.3 |
| 444 | +screen_usrgrp 3.0.0 - 3.0.3 |
| 445 | +screens 1.3.1 - 3.0.3 |
| 446 | +screens_items 1.3.1 - 3.0.3 |
| 447 | +scripts 1.5 - 3.0.3 |
| 448 | +service_alarms 1.3.1 - 3.0.3 |
| 449 | +services 1.3.1 - 3.0.3 |
| 450 | +services_links 1.3.1 - 3.0.3 |
| 451 | +services_times 1.3.1 - 3.0.3 |
| 452 | +sessions 1.3.1 - 3.0.3 |
| 453 | +slides 1.3.4 - 3.0.3 |
| 454 | +slideshow_user 3.0.0 - 3.0.3 |
| 455 | +slideshow_usrgrp 3.0.0 - 3.0.3 |
| 456 | +slideshows 1.3.4 - 3.0.3 |
| 457 | +sysmap_element_url 1.9.0 - 3.0.3 |
| 458 | +sysmap_url 1.9.0 - 3.0.3 |
| 459 | +sysmap_user 3.0.0 - 3.0.3 |
| 460 | +sysmap_usrgrp 3.0.0 - 3.0.3 |
| 461 | +sysmaps 1.3.1 - 3.0.3 |
| 462 | +sysmaps_elements 1.3.1 - 3.0.3 |
| 463 | +sysmaps_link_triggers 1.5 - 3.0.3 |
| 464 | +sysmaps_links 1.3.1 - 3.0.3 |
| 465 | +timeperiods 1.7 - 3.0.3 |
| 466 | +trends 1.3.1 - 3.0.3 DATA |
| 467 | +trends_uint 1.5 - 3.0.3 DATA |
| 468 | +trigger_depends 1.3.1 - 3.0.3 |
| 469 | +trigger_discovery 1.9.0 - 3.0.3 |
| 470 | +triggers 1.3.1 - 3.0.3 |
| 471 | +user_history 1.7 - 2.4.8 |
| 472 | +users 1.3.1 - 3.0.3 |
| 473 | +users_groups 1.3.1 - 3.0.3 |
| 474 | +usrgrp 1.3.1 - 3.0.3 |
| 475 | +valuemaps 1.3.1 - 3.0.3 |
0 commit comments