Page 1 of 2

Schedule Backup is not working

Posted: Fri Dec 30, 2016 10:46 am
by sgoffar
Schedule backup is not working for my system from Oct 28 th 2016.

Can you please help on this.

Re: Schedule Backup is not working

Posted: Fri Dec 30, 2016 11:06 am
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

Re: Schedule Backup is not working

Posted: Tue Jan 03, 2017 6:21 am
by sgoffar
Please find attached the requested details:

FYI: Backup location is on a share drive mounted to the system.

Re: Schedule Backup is not working

Posted: Tue Jan 03, 2017 11:51 am
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.

Re: Schedule Backup is not working

Posted: Wed Jan 04, 2017 5:42 am
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

Re: Schedule Backup is not working

Posted: Wed Jan 04, 2017 12:08 pm
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.

Re: Schedule Backup is not working

Posted: Thu Jan 05, 2017 3:48 am
by sgoffar
Yes the path is correct:

/opt/depot/vendors/nagios/backups/dfwlxngxi01/

Re: Schedule Backup is not working

Posted: Thu Jan 05, 2017 10:56 am
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.

Re: Schedule Backup is not working

Posted: Mon Jan 09, 2017 5:13 am
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

Re: Schedule Backup is not working

Posted: Mon Jan 09, 2017 9:55 am
by tgriep
Yes, delete those 2 directories.