Hi,
I saw there were lots of backups in /store/backups/mysql/ directory. Since we have very limited space in the /store/, we would like to clean up that directory. Is there a way we can change the path for those backups?
Thanks.
mysql backups in /store/backups/mysql/*
Re: mysql backups in /store/backups/mysql/*
I looked into that directory. the backups usually as small as 100+MB. But yesterday, it created a backup more than 2 GB. Does anyone know what could cause this problem?
Thanks.
Thanks.
Re: mysql backups in /store/backups/mysql/*
These backups are created by the "/root/scripts/automysqlbackup" script, which is run on a cron.I saw there were lots of backups in /store/backups/mysql/ directory. Since we have very limited space in the /store/, we would like to clean up that directory. Is there a way we can change the path for those backups?
Code: Select all
grep auto /etc/cron.d/nagiosxiCode: Select all
# Backup directory location e.g /backups
BACKUPDIR="/path/to/your/new/backup/directory"Do you see any errors in the mysqld.log? How much hard disk space do you have?the backups usually as small as 100+MB. But yesterday, it created a backup more than 2 GB. Does anyone know what could cause this problem?
Code: Select all
df -hBe sure to check out our Knowledgebase for helpful articles and solutions!
Re: mysql backups in /store/backups/mysql/*
Thank you for the help. The issue was resolved. I guess the reason was that we removed a script. Keep calling that script generated a lot of errors which filled out the database.
Re: mysql backups in /store/backups/mysql/*
Ah, great to see it resolved!
Going to close this out now.
Going to close this out now.
Former Nagios Employee