Page 1 of 2
Automatic backups are not working well
Posted: Sun Jun 11, 2017 4:43 am
by reincarne
Hi,
I set daily automatic backups in NAgios XI with retention of 14 days.
The problem is that the backup simply doesn't work on a daily basis. It can run after 3 days, then nothing, again after 2 days etc.
Why does it happen?
Re: Automatic backups are not working well
Posted: Mon Jun 12, 2017 10:09 am
by lmiltchev
I set daily automatic backups in NAgios XI with retention of 14 days.
Can you give us some more details on how are you scheduling your backups? Are you using the "Scheduled Backups" component in XI (Admin > Scheduled Backups)? There is a "Backup Limit" option, that deals with the number of backups you would like to keep, before replacing the oldest backup. It doesn't seem that you are talking about this one...
example01.PNG
Re: Automatic backups are not working well
Posted: Tue Jun 13, 2017 7:16 am
by reincarne
Hi,
Attaching the screenshot, please note it says it ran on the 13th, however now backup was created.
Re: Automatic backups are not working well
Posted: Tue Jun 13, 2017 10:00 am
by lmiltchev
Run the following commands, and show the output:
Code: Select all
ls -lad /store/backups/nagiosxi
ls -la /store/backups/nagiosxi
grep backup_timeout /usr/local/nagiosxi/html/config.inc.php
Also, post the entire /usr/local/nagiosxi/var/components/scheduledbackups.log.
Re: Automatic backups are not working well
Posted: Tue Jun 13, 2017 10:02 am
by dwhitfield
For the commands in the previous post, please put the output in a code block. The "Code" button is the fifth from the left on the post input screen (between Quote and List).
Also, can you PM me your Profile? You can download it by going to Admin > System Config > System Profile and click the ***Download Profile*** button towards the top. If for whatever reason you *cannot* download the profile, please put the output of View System Info (5.3.4+, Show Profile if older) in the thread (that will at least get us some info). This will give us access to many of the logs we would otherwise ask for individually. If security is a concern, you can unzip the profile take out what you like, and then zip it up again. We may end up needing something you remove, but we can ask for that specifically.
After you PM the profile, please update this thread. Updating this thread is the only way for it to show back up on our dashboard.
Re: Automatic backups are not working well
Posted: Wed Jun 14, 2017 2:34 am
by reincarne
lmiltchev wrote:Run the following commands, and show the output:
Code: Select all
ls -lad /store/backups/nagiosxi
ls -la /store/backups/nagiosxi
grep backup_timeout /usr/local/nagiosxi/html/config.inc.php
Also, post the entire /usr/local/nagiosxi/var/components/scheduledbackups.log.
Code: Select all
ls -lad /store/backups/nagiosxi
drwxr-xr-x 2 nagios nagios 4096 Jun 10 05:02 /store/backups/nagiosxi
ls -la /store/backups/nagiosxi
total 4463012
drwxr-xr-x 2 nagios nagios 4096 Jun 10 05:02 .
drwxr-xr-x 4 nagios nagios 4096 May 4 11:36 ..
-rwxr-xr-x 1 nagios nagios 218887725 Apr 19 06:09 1492582087.tar.gz
-rwxr-xr-x 1 nagios nagios 224442587 Apr 20 11:16 1492686924.tar.gz
-rwxr-xr-x 1 nagios nagios 262635311 Apr 25 06:41 1493102253.tar.gz
-rw-r--r-- 1 nagios nagios 146658933 May 16 08:07 1494921680.tar.gz
-rw-r--r-- 1 nagios nagios 172819306 May 18 10:58 1495105023.tar.gz
-rw-r--r-- 1 nagios nagios 173076727 May 18 10:59 1495105082.tar.gz
-rw-r--r-- 1 nagios nagios 170621371 May 18 11:01 1495105214.tar.gz
-rw-r--r-- 1 nagios nagios 171057190 May 18 11:12 1495105822.tar.gz
-rw-r--r-- 1 nagios nagios 183795797 May 22 08:54 1495443131.tar.gz
-rw-r--r-- 1 nagios nagios 185395425 May 23 07:08 1495523238.tar.gz
-rw-r--r-- 1 nagios nagios 185364953 May 23 08:58 1495529842.tar.gz
-rw-r--r-- 1 nagios nagios 208183072 May 24 09:17 1495617311.tar.gz
-rw-r--r-- 1 nagios nagios 209621252 May 24 11:33 1495625467.tar.gz
-rw-r--r-- 1 nagios nagios 273990603 Jun 5 06:02 1496642415.tar.gz
-rw-r--r-- 1 nagios nagios 166485855 May 17 01:01 nagiosxi.1494982802.tar.gz
-rw-r--r-- 1 nagios nagios 175418861 May 20 01:01 nagiosxi.1495242002.tar.gz
-rw-r--r-- 1 nagios nagios 181063723 May 22 01:01 nagiosxi.1495414802.tar.gz
-rw-r--r-- 1 nagios nagios 189482296 May 24 01:01 nagiosxi.1495587602.tar.gz
-rw-r--r-- 1 nagios nagios 239639402 May 27 01:02 nagiosxi.1495846802.tar.gz
-rw-r--r-- 1 nagios nagios 254241368 May 31 01:02 nagiosxi.1496192404.tar.gz
-rw-r--r-- 1 nagios nagios 279512166 Jun 6 05:02 nagiosxi.1496725202.tar.gz
-rw-r--r-- 1 nagios nagios 297666751 Jun 10 05:02 nagiosxi.1497070803.tar.gz
grep backup_timeout /usr/local/nagiosxi/html/config.inc.php
Nothing.
05-25-2017 01:00:02 INFO: Creating a local backup: nagiosxi.1495674002
05-25-2017 01:00:02 DEBUG: Sending create local backup command to CmdSubsystem
05-26-2017 01:00:02 DEBUG: Running scheduled local backup ...
05-26-2017 01:00:02 INFO: Creating a local backup: nagiosxi.1495760402
05-26-2017 01:00:02 DEBUG: Sending create local backup command to CmdSubsystem
05-27-2017 01:00:02 DEBUG: Running scheduled local backup ...
05-27-2017 01:00:02 INFO: Creating a local backup: nagiosxi.1495846802
05-27-2017 01:00:02 DEBUG: Sending create local backup command to CmdSubsystem
05-28-2017 01:00:02 DEBUG: Running scheduled local backup ...
05-28-2017 01:00:02 INFO: Creating a local backup: nagiosxi.1495933202
05-28-2017 01:00:02 DEBUG: Sending create local backup command to CmdSubsystem
05-29-2017 01:00:02 DEBUG: Running scheduled local backup ...
05-29-2017 01:00:02 INFO: Creating a local backup: nagiosxi.1496019602
05-29-2017 01:00:02 DEBUG: Sending create local backup command to CmdSubsystem
05-30-2017 01:00:02 DEBUG: Running scheduled local backup ...
05-30-2017 01:00:02 INFO: Creating a local backup: nagiosxi.1496106002
05-30-2017 01:00:02 DEBUG: Sending create local backup command to CmdSubsystem
05-31-2017 01:00:04 DEBUG: Running scheduled local backup ...
05-31-2017 01:00:04 INFO: Creating a local backup: nagiosxi.1496192404
05-31-2017 01:00:04 DEBUG: Sending create local backup command to CmdSubsystem
06-01-2017 01:00:02 DEBUG: Running scheduled local backup ...
06-01-2017 01:00:02 INFO: Creating a local backup: nagiosxi.1496278802
06-01-2017 01:00:02 DEBUG: Sending create local backup command to CmdSubsystem
06-02-2017 05:00:03 DEBUG: Running scheduled local backup ...
06-02-2017 05:00:03 INFO: Creating a local backup: nagiosxi.1496379603
06-02-2017 05:00:03 DEBUG: Sending create local backup command to CmdSubsystem
06-03-2017 05:00:02 DEBUG: Running scheduled local backup ...
06-03-2017 05:00:02 INFO: Creating a local backup: nagiosxi.1496466002
06-03-2017 05:00:02 DEBUG: Sending create local backup command to CmdSubsystem
06-04-2017 05:00:03 DEBUG: Running scheduled local backup ...
06-04-2017 05:00:03 INFO: Creating a local backup: nagiosxi.1496552403
06-04-2017 05:00:03 DEBUG: Sending create local backup command to CmdSubsystem
06-05-2017 05:00:03 DEBUG: Running scheduled local backup ...
06-05-2017 05:00:03 INFO: Creating a local backup: nagiosxi.1496638803
06-05-2017 05:00:03 DEBUG: Sending create local backup command to CmdSubsystem
06-06-2017 05:00:02 DEBUG: Running scheduled local backup ...
06-06-2017 05:00:02 INFO: Creating a local backup: nagiosxi.1496725202
06-06-2017 05:00:02 DEBUG: Sending create local backup command to CmdSubsystem
06-07-2017 05:00:02 DEBUG: Running scheduled local backup ...
06-07-2017 05:00:02 INFO: Creating a local backup: nagiosxi.1496811602
06-07-2017 05:00:02 DEBUG: Sending create local backup command to CmdSubsystem
06-08-2017 05:00:02 DEBUG: Running scheduled local backup ...
06-08-2017 05:00:02 INFO: Creating a local backup: nagiosxi.1496898002
06-08-2017 05:00:02 DEBUG: Sending create local backup command to CmdSubsystem
06-09-2017 05:00:02 DEBUG: Running scheduled local backup ...
06-09-2017 05:00:02 INFO: Creating a local backup: nagiosxi.1496984402
06-09-2017 05:00:02 DEBUG: Sending create local backup command to CmdSubsystem
06-10-2017 05:00:03 DEBUG: Running scheduled local backup ...
06-10-2017 05:00:03 INFO: Creating a local backup: nagiosxi.1497070803
06-10-2017 05:00:03 DEBUG: Sending create local backup command to CmdSubsystem
06-11-2017 05:00:02 DEBUG: Running scheduled local backup ...
06-11-2017 05:00:02 INFO: Creating a local backup: nagiosxi.1497157202
06-11-2017 05:00:02 DEBUG: Sending create local backup command to CmdSubsystem
06-12-2017 05:00:02 DEBUG: Running scheduled local backup ...
06-12-2017 05:00:02 INFO: Creating a local backup: nagiosxi.1497243602
06-12-2017 05:00:02 DEBUG: Sending create local backup command to CmdSubsystem
06-13-2017 05:00:02 DEBUG: Running scheduled local backup ...
06-13-2017 05:00:02 INFO: Creating a local backup: nagiosxi.1497330002
06-13-2017 05:00:02 DEBUG: Sending create local backup command to CmdSubsystem
06-14-2017 05:00:02 DEBUG: Running scheduled local backup ...
06-14-2017 05:00:02 INFO: Creating a local backup: nagiosxi.1497416402
06-14-2017 05:00:02 DEBUG: Sending create local backup command to CmdSubsystem
Re: Automatic backups are not working well
Posted: Wed Jun 14, 2017 2:35 am
by reincarne
dwhitfield wrote:For the commands in the previous post, please put the output in a code block. The "Code" button is the fifth from the left on the post input screen (between Quote and List).
Also, can you PM me your Profile? You can download it by going to Admin > System Config > System Profile and click the ***Download Profile*** button towards the top. If for whatever reason you *cannot* download the profile, please put the output of View System Info (5.3.4+, Show Profile if older) in the thread (that will at least get us some info). This will give us access to many of the logs we would otherwise ask for individually. If security is a concern, you can unzip the profile take out what you like, and then zip it up again. We may end up needing something you remove, but we can ask for that specifically.
After you PM the profile, please update this thread. Updating this thread is the only way for it to show back up on our dashboard.
I checked the profile file, and its a problem for me to send it as it contains data that I'm not allowed to expose unfortunately.
Re: Automatic backups are not working well
Posted: Wed Jun 14, 2017 9:12 am
by dwhitfield
Feel free to take out the hosts/services or anything else, zip up the rest and then send. We are likely going to end up needing a lot of those logs. We can certainly ask for them individually, but it is likely to delay resolution.
Re: Automatic backups are not working well
Posted: Tue Jun 27, 2017 6:26 am
by reincarne
dwhitfield wrote:Feel free to take out the hosts/services or anything else, zip up the rest and then send. We are likely going to end up needing a lot of those logs. We can certainly ask for them individually, but it is likely to delay resolution.
Sent you.
Re: Automatic backups are not working well
Posted: Tue Jun 27, 2017 11:21 am
by dwhitfield
I sent you this in a PM, but unfortunately, it did not attach.