Schedule Backup is not working

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
sgoffar
Posts: 122
Joined: Wed Sep 21, 2016 9:30 am

Schedule Backup is not working

Post by sgoffar »

Schedule backup is not working for my system from Oct 28 th 2016.

Can you please help on this.
Regards,
Sk Abdul Goffar
Nagios Version:Nagios XI 5.4.8
OS:CentOS release 6.5
User avatar
tgriep
Madmin
Posts: 9190
Joined: Thu Oct 30, 2014 9:02 am

Re: Schedule Backup is not working

Post by tgriep »

To help out, we would need to get more information from you.
Is this a scheduled remote backup or a scheduled local backup?
What version on Nagios XI is running on the server?

Can you post this log file from the server so we can view it for errors?

Code: Select all

/usr/local/nagiosxi/var/components/scheduledbackups.log
Also, run the following commands as root on the server and post the output.

Code: Select all

ls -l /store/backups/nagiosxi
df -h
ps -ef --cols=300
Be sure to check out our Knowledgebase for helpful articles and solutions!
sgoffar
Posts: 122
Joined: Wed Sep 21, 2016 9:30 am

Re: Schedule Backup is not working

Post by sgoffar »

Please find attached the requested details:

FYI: Backup location is on a share drive mounted to the system.
You do not have the required permissions to view the files attached to this post.
Regards,
Sk Abdul Goffar
Nagios Version:Nagios XI 5.4.8
OS:CentOS release 6.5
User avatar
tgriep
Madmin
Posts: 9190
Joined: Thu Oct 30, 2014 9:02 am

Re: Schedule Backup is not working

Post by tgriep »

Can you run the following commands on the server and post the output?

Code: Select all

su nagios
ls -l /opt/depot/vendors/nagios/backups/dfwlxngxi01
ls -l /opt/depot/vendors/nagios/backups/
Also, the directories in the /store/backups/nagiosxi folder can be deleted as they are old backups that failed and this will free up some space on the server.
Be sure to check out our Knowledgebase for helpful articles and solutions!
sgoffar
Posts: 122
Joined: Wed Sep 21, 2016 9:30 am

Re: Schedule Backup is not working

Post by sgoffar »

Please find below the requested Data:

ls -l /opt/depot/vendors/nagios/backups/dfwlxngxi01
total 37632828
-rw-r--r-- 1 nagios nagios 819776448 Jan 10 2016 nagiosxi.1452427206.tar.gz
-rw-r--r-- 1 nagios nagios 624943886 Jan 24 2016 nagiosxi.1453636804.tar.gz
-rw-r--r-- 1 nagios nagios 822072565 Jan 31 2016 nagiosxi.1454241605.tar.gz
-rw-r--r-- 1 nagios nagios 515032401 Feb 14 2016 nagiosxi.1455451204.tar.gz
-rw-r--r-- 1 nagios nagios 531350613 Feb 21 2016 nagiosxi.1456056004.tar.gz
-rw-r--r-- 1 nagios nagios 587326813 Feb 28 2016 nagiosxi.1456660805.tar.gz
-rw-r--r-- 1 nagios nagios 572961842 Mar 6 2016 nagiosxi.1457265605.tar.gz
-rw-r--r-- 1 nagios nagios 580312164 Mar 13 2016 nagiosxi.1457866804.tar.gz
-rw-r--r-- 1 nagios nagios 586710632 Mar 20 2016 nagiosxi.1458471604.tar.gz
-rw-r--r-- 1 nagios nagios 594623347 Mar 27 2016 nagiosxi.1459076405.tar.gz
-rw-r--r-- 1 nagios nagios 604952816 Apr 3 2016 nagiosxi.1459681202.tar.gz
-rw-r--r-- 1 nagios nagios 670570075 Apr 10 2016 nagiosxi.1460286003.tar.gz
-rw-r--r-- 1 nagios nagios 659456806 Apr 18 2016 nagiosxi.1460983830.tar.gz
-rw-r--r-- 1 nagios nagios 806598907 Apr 24 2016 nagiosxi.1461495604.tar.gz
-rw-r--r-- 1 nagios nagios 707898126 May 1 2016 nagiosxi.1462100402.tar.gz
-rw-r--r-- 1 nagios nagios 742895349 May 8 2016 nagiosxi.1462705202.tar.gz
-rw-r--r-- 1 nagios nagios 763312877 May 15 2016 nagiosxi.1463310002.tar.gz
-rw-r--r-- 1 nagios nagios 773581930 May 22 2016 nagiosxi.1463914801.tar.gz
-rw-r--r-- 1 nagios nagios 781919982 May 29 2016 nagiosxi.1464519602.tar.gz
-rw-r--r-- 1 nagios nagios 789037198 Jun 5 2016 nagiosxi.1465124402.tar.gz
-rw-r--r-- 1 nagios nagios 795394649 Jun 12 2016 nagiosxi.1465729201.tar.gz
-rw-r--r-- 1 nagios nagios 802704699 Jun 19 2016 nagiosxi.1466334002.tar.gz
-rw-r--r-- 1 nagios nagios 810891091 Jun 26 2016 nagiosxi.1466938801.tar.gz
-rw-r--r-- 1 nagios nagios 822209282 Jul 3 2016 nagiosxi.1467543601.tar.gz
-rw-r--r-- 1 nagios nagios 834700819 Jul 10 06:19 nagiosxi.1468148401.tar.gz
-rw-r--r-- 1 nagios nagios 845070244 Jul 17 06:22 nagiosxi.1468753201.tar.gz
-rw-r--r-- 1 nagios nagios 853481839 Jul 24 06:20 nagiosxi.1469358001.tar.gz
-rw-r--r-- 1 nagios nagios 865322990 Jul 31 06:50 nagiosxi.1469962801.tar.gz
-rw-r--r-- 1 nagios nagios 882269922 Aug 7 07:21 nagiosxi.1470567601.tar.gz
-rw-r--r-- 1 nagios nagios 893401213 Aug 14 06:22 nagiosxi.1471172401.tar.gz
-rw-r--r-- 1 nagios nagios 907815351 Aug 28 06:33 nagiosxi.1472382002.tar.gz
-rw-r--r-- 1 nagios nagios 914306062 Sep 4 06:22 nagiosxi.1472986801.tar.gz
-rw-r--r-- 1 nagios nagios 920373051 Sep 11 06:23 nagiosxi.1473591601.tar.gz
-rw-r--r-- 1 nagios nagios 926814972 Sep 18 06:23 nagiosxi.1474196401.tar.gz
-rw-r--r-- 1 nagios nagios 934457870 Sep 25 06:43 nagiosxi.1474801201.tar.gz
-rw-r--r-- 1 nagios nagios 941739276 Oct 2 06:30 nagiosxi.1475406002.tar.gz
-rw-r--r-- 1 nagios nagios 814075258 Oct 4 08:34 nagiosxi.1475586481.tar.gz
-rw-r--r-- 1 nagios nagios 190368030 Oct 6 09:20 nagiosxi.1475762102.tar.gz
-rw-r--r-- 1 nagios nagios 189553900 Oct 6 09:20 nagiosxi.1475762161.tar.gz
-rw-r--r-- 1 nagios nagios 180693870 Oct 6 09:20 nagiosxi.1475762221.tar.gz
-rw-r--r-- 1 nagios nagios 683874693 Oct 6 10:06 nagiosxi.1475763482.tar.gz
-rw-r--r-- 1 nagios nagios 700472293 Oct 6 10:07 nagiosxi.1475763541.tar.gz
-rw-r--r-- 1 nagios nagios 696767989 Oct 6 10:07 nagiosxi.1475763602.tar.gz
-rw-r--r-- 1 nagios nagios 692992689 Oct 6 10:09 nagiosxi.1475763662.tar.gz
-rw-r--r-- 1 nagios nagios 689536486 Oct 6 10:20 nagiosxi.1475763721.tar.gz
-rw-r--r-- 1 nagios nagios 687076965 Oct 6 10:21 nagiosxi.1475763782.tar.gz
-rw-r--r-- 1 nagios nagios 685175360 Oct 6 10:22 nagiosxi.1475763842.tar.gz
-rw-r--r-- 1 nagios nagios 683218346 Oct 6 10:23 nagiosxi.1475763902.tar.gz
-rw-r--r-- 1 nagios nagios 623217147 Oct 6 10:23 nagiosxi.1475763963.tar.gz
-rw-r--r-- 1 nagios nagios 856372566 Oct 9 06:16 nagiosxi.1476010801.tar.gz
-rw-r--r-- 1 nagios nagios 924286135 Oct 16 06:41 nagiosxi.1476615601.tar.gz
drwxr-xr-x 7 nagios users 4096 Oct 18 06:48 nagiosxi.1476789421
-rw-r--r-- 1 nagios users 800698090 Oct 18 06:58 nagiosxi.1476789421.tar.gz
drwxr-xr-x 7 nagios users 4096 Oct 18 06:48 nagiosxi.1476789481
-rw-r--r-- 1 nagios users 799884174 Oct 18 06:58 nagiosxi.1476789481.tar.gz


ls -l /opt/depot/vendors/nagios/backups/
total 24
-rw-r--r-- 1 root root 5609 May 20 2016 ccm
drwxrwxrwx 15 root root 8192 Jan 1 06:14 dallxngxi01
drwxrwxrwx 4 root sys 8192 Oct 18 06:48 dfwlxngxi01
Regards,
Sk Abdul Goffar
Nagios Version:Nagios XI 5.4.8
OS:CentOS release 6.5
User avatar
tgriep
Madmin
Posts: 9190
Joined: Thu Oct 30, 2014 9:02 am

Re: Schedule Backup is not working

Post by tgriep »

Can you login to the XI interface and go to the Admin > Scheduled Backups menu and verify that the location is set correctly?
It is hard to tell in the screen capture if it is using the correct path.
Be sure to check out our Knowledgebase for helpful articles and solutions!
sgoffar
Posts: 122
Joined: Wed Sep 21, 2016 9:30 am

Re: Schedule Backup is not working

Post by sgoffar »

Yes the path is correct:

/opt/depot/vendors/nagios/backups/dfwlxngxi01/
Regards,
Sk Abdul Goffar
Nagios Version:Nagios XI 5.4.8
OS:CentOS release 6.5
User avatar
tgriep
Madmin
Posts: 9190
Joined: Thu Oct 30, 2014 9:02 am

Re: Schedule Backup is not working

Post by tgriep »

Thanks for confirming that the path was correct.
Go to that folder

Code: Select all

/opt/depot/vendors/nagios/backups/dfwlxngxi01
Delete the failed backups from the 18th of October and then try running the backup manually and see if it works.
Be sure to check out our Knowledgebase for helpful articles and solutions!
sgoffar
Posts: 122
Joined: Wed Sep 21, 2016 9:30 am

Re: Schedule Backup is not working

Post by sgoffar »

You mean to delete below two files.

drwxr-xr-x 7 nagios users 4096 Oct 18 06:48 nagiosxi.1476789421
drwxr-xr-x 7 nagios users 4096 Oct 18 06:48 nagiosxi.1476789481
Regards,
Sk Abdul Goffar
Nagios Version:Nagios XI 5.4.8
OS:CentOS release 6.5
User avatar
tgriep
Madmin
Posts: 9190
Joined: Thu Oct 30, 2014 9:02 am

Re: Schedule Backup is not working

Post by tgriep »

Yes, delete those 2 directories.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Locked