Please attach your
/etc/php.ini so we can see what resource limits you have set.
If you go to Admin > Scheduled Backups, do you have both Local and FTP enabled? If so, how far apart are they in time? I would recommend at least an hour apart, they are considered separate backup processes.
Click on the Local tab, if the Location field is anything but this:
Try changing it to
/store/backups/nagiosxi, clicking Update Settings, and testing again. I believe the FTP/SSH settings still use that location for the backups.
Please edit this file:
Code: Select all
/usr/local/nagiosxi/html/includes/constants.inc.php
At the bottom, change this:
To this:
Then run this command as root (and leave it running):
Code: Select all
tail -F /var/log/httpd/error_log /var/log/httpd/ssl_error_log /usr/local/nagiosxi/var/cmdsubsys.log /usr/local/nagiosxi/var/components/scheduledbackups.log
Then force a FTP scheduled backup to run and after it's completed or failed, send me the entire output from the tail command above and send me this file:
Code: Select all
/usr/local/nagiosxi/var/components/scheduledbackups.log
Please send the output of these commands (as root):
- NOTE: You may need to adjust the -h 127.0.0.1, the -uroot, and -pnagiosxi in the first command if your DB is offloaded to another server and/or you've changed the root mysql password
Code: Select all
echo "SELECT table_name AS 'Table', round(((data_length + index_length) / 1024 / 1024), 2) 'Size in MB' FROM information_schema.TABLES WHERE table_schema IN ('nagios', 'nagiosql', 'nagiosxi');" | mysql -h 127.0.0.1 -uroot -pnagiosxi --table
Then PM me a copy of your profile if you're able to generate it, you can download it from Admin > System Profile > Download Profile.
That should give us a bit more insight.
Thank you!