Page 1 of 1
why is scheduled local backups no longer working?
Posted: Wed Nov 15, 2017 2:00 pm
by caterpillartce
Hello,
I have scheduled local backups daily, but just noticed it has stopped working for some reason.
We did run out of space in root partition recently (for a few hours, and has since been OK), but the backup is located on a different partition and has plenty of space.
Please help.
Attached please find the backup configuration in Nagios XI Web interface, and also the location where it shows there had only been 2 backups done in November.
Thanks!
Re: why is scheduled local backups no longer working?
Posted: Wed Nov 15, 2017 2:02 pm
by caterpillartce
Also, I would like to confirm, is this local backup adequate to restore our Ngaios env in case of catastrophic failure (server or DB needs to be rebuilt)? If not, what other backups I need to do?
Thanks!
Re: why is scheduled local backups no longer working?
Posted: Wed Nov 15, 2017 2:48 pm
by dwasswa
Hi
@caterpillartce,
Please follow the steps in this kb article to resolve your issue...
nagios-xi-schedulded-backups-no-longer-working
Please let me know if that solves your issue or if you have any other questions.
Re: why is scheduled local backups no longer working?
Posted: Wed Nov 15, 2017 3:30 pm
by caterpillartce
Thanks for the information.
I followed the doc to manually run the backup command, which enabled me to see the error; then I followed doc to repair the database, which showed "successful", however, when I attempted the manual backup again, I still got the same error (attached). Please advise what is next. Thanks!
Re: why is scheduled local backups no longer working?
Posted: Wed Nov 15, 2017 5:32 pm
by dwasswa
Hi
@caterpillartce,
After looking at the
Nagios_Backup_issue2.docx you posted, I noticed the error
mysqldump:Couldn't execute 'SHOW TRIGGERS LIKE 'nagios\_notifications' ': Got error 28 from storage engine (1030), this means that your database server is out out disk space.
Please run the following command to check disk space...
df -h
Please follow this kb article to make adjustments for disk space on your Nagios XI VM...
Running Out Of Disk Space On The Nagios XI VM
Please follow the instructions and let me know if that solves your issue.
Re: why is scheduled local backups no longer working?
Posted: Thu Nov 16, 2017 9:18 am
by caterpillartce
We did run out of space a few days ago, but has been OK since then. Attached please find the screenshot from running df -h. Also the backup is being put on /backup, which has plenty of space.
Thanks
Re: why is scheduled local backups no longer working?
Posted: Thu Nov 16, 2017 11:33 am
by npolovenko
@caterpillartce, Thing is, even if Nagios saves backups to the remote storage it uses its own storage to prepare the backup and the temp files. Consider having at least 1.5gb of available space in the root directory.