Nagios XI System Backup

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
scharft
Posts: 112
Joined: Wed Jul 29, 2015 6:55 am

Re: Nagios XI System Backup

Post by scharft »

the nagios xi function "Scheduled Backups" didn't work as expected, starting it manullay is not the solution we are looking for.
So what are the next steps to fix that issue?
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Nagios XI System Backup

Post by scottwilkerson »

But does it run correctly after you repaired the database?
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
scharft
Posts: 112
Joined: Wed Jul 29, 2015 6:55 am

Re: Nagios XI System Backup

Post by scharft »

Hi,

not since yesterday.
The database repair script completes successful but every backup fail. :

Stopping nagios: .done.
Starting nagios: done.
Backing up NagiosQL...
tar: Removing leading `/' from member names
tar: Removing leading `/' from member names
Backing up Nagios Core...
tar: Removing leading `/' from member names
tar: /usr/local/nagios/var/nagios.tmpQZOnf1: File removed before we read it
tar: /usr/local/nagios/var/rw/nagios.qh: socket ignored
tar: /usr/local/nagios/var/ndo.sock: socket ignored
tar: /usr/local/nagios/var: file changed as we read it
tar: /usr/local/nagios/share/perfdata/itrirds001.eumfgri: file changed as we read it
tar: /usr/local/nagios/share/perfdata/ateula-pdua-3-06: file changed as we read it
tar: /usr/local/nagios/share/perfdata/chnedbske001: file changed as we read it
tar: /usr/local/nagios/share/perfdata/itriapp004.eumfgri/MEMORY.rrd: file changed as we read it
tar: /usr/local/nagios/share/perfdata/itriapp004.eumfgri: file changed as we read it
Copying ramdisk configuration...
Backing up Nagios XI...
tar: Removing leading `/' from member names
Backing up MRTG...
tar: Removing leading `/' from member names
Backing up the SNMP trap interface configuration files...
Backing up NRDP...
tar: Removing leading `/' from member names
Backing up Nagvis...
tar: Removing leading `/' from member names
Backing up MySQL databases...
mysqldump: Error: 'Got error 28 from storage engine' when trying to dump tablespaces
mysqldump: Got error: 144: Table './nagios/nagios_logentries' is marked as crashed and last (automatic?) repair failed when using LOCK TABLES
Error backing up MySQL database 'nagios' - check the password in this scrip

I used the repair script 2 times but every time the same

What do you think?
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Nagios XI System Backup

Post by scottwilkerson »

This

Code: Select all

Got error 28 from storage engine
Means you are out of disk space.

you will need to free up some disk space
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
scharft
Posts: 112
Joined: Wed Jul 29, 2015 6:55 am

Re: Nagios XI System Backup

Post by scharft »

after the 3rd database repair "action" the backup is now working but the old backups (keep max. 7) are not deleted.
I have changed the backup limits and deleted old ones, but it doensn't work
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Nagios XI System Backup

Post by scottwilkerson »

Can you show the output of this

Code: Select all

ls -al /store/backups/nagiosxi/
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
Locked