Ad Widget

Collapse

Restoring a dashboard

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • HYPERMAN
    Junior Member
    • Sep 2018
    • 4

    #1

    Restoring a dashboard

    As it happens, somebody accidentally deleted our default dashboard. I re-created it from memory.


    I tried restoring the relevant records from the tables widget, widget_field, dashboard, dashboard_user, dashboard_usrgrp, but that didn't work. Is there a way to restore this from backup, or the export/import a dashboard ? We're still on zabbix 4.4
  • gcalenko
    Zabbix developer
    • Mar 2017
    • 27

    #2
    You can start another frontend with database from backup and use API to get full data for desired dashboard, then use API of your current frontend to create same dashboard. You can check Zabbix dashboard API documentation for dashboard.get and dashboard.create for examples.

    Comment

    • HYPERMAN
      Junior Member
      • Sep 2018
      • 4

      #3
      Good idea. Thanks

      Comment

      Working...