Automated Backups Prolem
Posted: Tue Oct 29, 2013 3:39 pm
Recently I noticed some warnings about the size of some of my backups.
I have had my thresholds set to warn at 21500 kbytes and to go critical at 21000 kbytes for the /store/backups/mysql/daily/nagios/ and /store/backups/mysql/weekly/nagios/ backups.
I started to get some notices that the backups were less than 0kb recently. When I manually check the size of the backups, I see that they are around 420kb.
When I check previous weeks, I see that the backups are anywhere from 50M to 200M+ depending on the week (been adding and removing checks to try and help the load on the server).
Last week, I came into a machine that had been updated with patching and had crashed. I ended up having to follow the 'Repairing the Database' document found here.
In the process, I found that I needed to truncate the logentries and the notifications tables. I've had to do this in the past as these tables grow absolutely HUGE considering the number of checks we are running.
My question is in regards to why our MySQL backups are no longer even remotely close in size to previous backups? Can this be attributed directly to the clearing of those two tables?
Everything seems to be running fine otherwise.
I have had my thresholds set to warn at 21500 kbytes and to go critical at 21000 kbytes for the /store/backups/mysql/daily/nagios/ and /store/backups/mysql/weekly/nagios/ backups.
I started to get some notices that the backups were less than 0kb recently. When I manually check the size of the backups, I see that they are around 420kb.
When I check previous weeks, I see that the backups are anywhere from 50M to 200M+ depending on the week (been adding and removing checks to try and help the load on the server).
Last week, I came into a machine that had been updated with patching and had crashed. I ended up having to follow the 'Repairing the Database' document found here.
In the process, I found that I needed to truncate the logentries and the notifications tables. I've had to do this in the past as these tables grow absolutely HUGE considering the number of checks we are running.
My question is in regards to why our MySQL backups are no longer even remotely close in size to previous backups? Can this be attributed directly to the clearing of those two tables?
Everything seems to be running fine otherwise.