SSH Scheduled Backups
Re: SSH Scheduled Backups
Would an upgrade be possible? I can't seem to find the case notes, but I know around the time of your version there were some hard-coded paths in the backup scripts that were throwing things off.
Former Nagios employee
Re: SSH Scheduled Backups
it's possible. I know JR told me that he would help me with the upgrade.
at this point of time, I would like not to do it because I lost my Linux admin.
I upgraded my development environment and it was not straight forward, I run into a lot issues, and my dev environment is just standard installation of Nagios XI with minimal customizations
at this point of time, I would like not to do it because I lost my Linux admin.
I upgraded my development environment and it was not straight forward, I run into a lot issues, and my dev environment is just standard installation of Nagios XI with minimal customizations
- Box293
- Too Basu
- Posts: 5126
- Joined: Sun Feb 07, 2010 10:55 pm
- Location: Deniliquin, Australia
- Contact:
Re: SSH Scheduled Backups
A current workaround could be to mount the remote location and then point to it via a scheduled local backup instead.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
-
jdalrymple
- Skynet Drone
- Posts: 2620
- Joined: Wed Feb 11, 2015 1:56 pm
Re: SSH Scheduled Backups
upgrading your prod env is definitely going to be a monster... that's not going to be the solution to this problem.
Can you run the following for me bosecorp:
`cd /usr/local/nagiosxi/scripts; time backup_xi.sh`
Just want to see how long the backup takes. I have a hunch of why this is happening, once I know how long it takes I can be certain and I'll dig into how to fix it.
Can you run the following for me bosecorp:
`cd /usr/local/nagiosxi/scripts; time backup_xi.sh`
Just want to see how long the backup takes. I have a hunch of why this is happening, once I know how long it takes I can be certain and I'll dig into how to fix it.
Re: SSH Scheduled Backups
if you want to know how long it takes, the backup starts at 9:20 pm every night and it finishes around 10:10. so, it takes 1 hour
-
jdalrymple
- Skynet Drone
- Posts: 2620
- Joined: Wed Feb 11, 2015 1:56 pm
Re: SSH Scheduled Backups
Set this variable somewhere near the top of your /usr/local/nagiosxi/html/config.inc.php:
Code: Select all
// Increase backup timeout
$cfg['backup_timeout'] = 3600Re: SSH Scheduled Backups
that change made my GUI unresponsive. I start getting HTTP 500 error, so I removed the line
- Box293
- Too Basu
- Posts: 5126
- Joined: Sun Feb 07, 2010 10:55 pm
- Location: Deniliquin, Australia
- Contact:
Re: SSH Scheduled Backups
I think that code is missing a ; at the end:
Code: Select all
$cfg['backup_timeout'] = 3600;As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Re: SSH Scheduled Backups
Ok, just made the change. I'll test and let you know how that goes