?
Solved

zabbix server backup issue

Posted on 2013-12-27
6
Medium Priority
?
1,169 Views
Last Modified: 2014-01-05
Hi Expert,

I've configured zabbix in ubuntu 12.04.Now it's working fine.
now i'm trying to take backup and restore backup in new zabbix machine.i've restored backup in new zabbix system.and when i was logging in browser than i've got below error.

    * Error in query [SELECT DISTINCT t.triggerid,t.value,t.lastchange,t.priority,t.value_flags,t.description,t.error, t.expression,hg.groupid FROM triggers t,functions f,items i,hosts_groups hg WHERE hg.hostid=i.hostid AND f.triggerid=t.triggerid AND f.itemid=i.itemid AND hg.groupid IN ('2','4') AND NOT EXISTS (SELECT NULL FROM functions f,items i,hosts h WHERE t.triggerid=f.triggerid AND f.itemid=i.itemid AND i.hostid=h.hostid AND (i.status<>0 OR h.status<>0)) AND t.status=0 AND t.value='1' AND t.flags IN ('0','4') ORDER BY lastchange DESC,t.lastchange DESC] [Unknown column 't.value_flags' in 'field list']
   
 * Error in query [SELECT e.* FROM events e JOIN (SELECT max(eventid) as lasteventid FROM events e WHERE 1=0 AND e.objectid BETWEEN 000000000000000 AND 099999999999999 AND e.object=0 AND e.value_changed=1 GROUP BY e.objectid) ee ON e.eventid=ee.lasteventid] [Unknown column 'e.value_changed' in 'where clause']

Please suggest,what can we do in this situation.

Thanks & Regards,
xeroxzerox
0
Comment
Question by:xeroxzerox
  • 3
  • 3
6 Comments
 
LVL 21

Accepted Solution

by:
Mazdajai earned 2000 total points
ID: 39744743
Are they running the same version of zabbix? How do you take a backup and restore?

http://zabbixzone.com/zabbix/backuping-full-database/

This is an indication of database column mismatch. Without knowing the db structure, it is difficult to pin point issue. I would suggest opening a case with Zabbix and submit a dump of the db to them.
0
 
LVL 6

Author Comment

by:xeroxzerox
ID: 39745540
Thanks for response but Same issue facing .. same error i found in it.
i've successfully taken fullbackup and only configured setting backup from zabbix.
but issue in restore.may be some gap missing.
0
 
LVL 21

Expert Comment

by:Mazdajai
ID: 39746265
How do you perform the restore?
0
Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

 
LVL 6

Author Comment

by:xeroxzerox
ID: 39750685
http://zabbixzone.com/zabbix/backuping-full-database/

in this link in below script scribe to restore backup....
0
 
LVL 21

Expert Comment

by:Mazdajai
ID: 39753073
What version of zabbix? Can you post the mysql log?
0
 
LVL 6

Author Closing Comment

by:xeroxzerox
ID: 39758573
Thanks...
0

Featured Post

Restore individual SQL databases with ease

Veeam Explorer for Microsoft SQL Server delivers an easy-to-use, wizard-driven interface for restoring your databases from a backup. No expert SQL background required. Web interface provides a complete view of all available SQL databases to simplify the recovery of lost database

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Setting up Secure Ubuntu server on VMware 1.      Insert the Ubuntu Server distribution CD or attach the ISO of the CD which is in the “Datastore”. Note that it is important to install the x64 edition on servers, not the X86 editions. 2.      Power on th…
The purpose of this article is to demonstrate how we can use conditional statements using Python.
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
Suggested Courses
Course of the Month17 days, 7 hours left to enroll

864 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question