ftp backups stopped working

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
User avatar
WillemDH
Posts: 2320
Joined: Wed Mar 20, 2013 5:49 am
Location: Ghent
Contact:

Re: ftp backups stopped working

Post by WillemDH »

Output of the backup (minus the 'file changed as we read it messages):

Code: Select all

/usr/local/nagiosxi/scripts/backup_xi.sh
Running configuration check...
Stopping nagios:. done.
Starting nagios: done.
Backing up Core Config Manager (NagiosQL)...
tar: Removing leading `/' from member names
tar: Removing leading `/' from member names
Backing up Nagios Core...
tar: Removing leading `/' from member names
tar: /usr/local/nagios/var/ndo.sock: socket ignored
tar: /usr/local/nagios/var/rw/nagios.qh: socket ignored
tar: /usr/local/nagios/var: file changed as we read it
Backing up Nagios XI...
tar: Removing leading `/' from member names
Backing up MRTG...
tar: Removing leading `/' from member names
Backing up NRDP...
tar: Removing leading `/' from member names
Backing up Nagvis...
tar: Removing leading `/' from member names
Backing up MySQL databases...
Backing up PostgresQL databases...
Backing up logrotate config files...
Backing up Apache config files...
Compressing backup...

===============
BACKUP COMPLETE
===============
Backup stored in /store/backups/nagiosxi/1464887318.tar.gz

Code: Select all

ls -la /store/backups/nagiosxi
total 4384952
drwxr-xr-x  6 nagios nagios       4096 Jun  2 19:25 .
drwxr-xr-x. 5 root   root         4096 May 29  2013 ..
-rw-r--r--  1 nagios nagios 4490146704 Jun  2 19:25 1464887318.tar.gz
drwxr-xr-x  4 nagios users        4096 May 27 00:17 nagiosxi.1464300301
drwxr-xr-x  4 nagios users        4096 May 28 00:20 nagiosxi.1464386702
drwxr-xr-x  4 nagios users        4096 May 29 00:17 nagiosxi.1464473101
drwxr-xr-x  4 nagios users        4096 Jun  1 10:12 nagiosxi.1464768001
Nagios XI 5.8.1
https://outsideit.net
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: ftp backups stopped working

Post by lmiltchev »

It seems like the local backup worked this time. Can you try scheduling a FTP backup a few minutes in the future to see if it is going to complete successfully?
Be sure to check out our Knowledgebase for helpful articles and solutions!
User avatar
WillemDH
Posts: 2320
Joined: Wed Mar 20, 2013 5:49 am
Location: Ghent
Contact:

Re: ftp backups stopped working

Post by WillemDH »

Ludmill,

I already knew the local basckups were working (+-) as my disk was filling up fast. Anyway I scheduled it at 23:45. I'll let you know tomorrow hopw it goes. Tested the ftp conection, username password ok, File Upload test ok.

Grtz
Nagios XI 5.8.1
https://outsideit.net
User avatar
tgriep
Madmin
Posts: 9190
Joined: Thu Oct 30, 2014 9:02 am

Re: ftp backups stopped working

Post by tgriep »

Let us know how it works out for you.
You may want to go back in to the /store/backups/nagiosxi folder and delete the failed backup folders to free up some space on the server.
Be sure to check out our Knowledgebase for helpful articles and solutions!
User avatar
WillemDH
Posts: 2320
Joined: Wed Mar 20, 2013 5:49 am
Location: Ghent
Contact:

Re: ftp backups stopped working

Post by WillemDH »

It seems like repairing the database fixed the issue. The backup script should catch this problems and should give a messgae in the scheduled backups component don't you think?
Nagios XI 5.8.1
https://outsideit.net
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: ftp backups stopped working

Post by lmiltchev »

The backup script should catch this problems and should give a messgae in the scheduled backups component don't you think?
This would be nice - I can file an internal feature request for adding this functionality if you want me to.
Be sure to check out our Knowledgebase for helpful articles and solutions!
User avatar
WillemDH
Posts: 2320
Joined: Wed Mar 20, 2013 5:49 am
Location: Ghent
Contact:

Re: ftp backups stopped working

Post by WillemDH »

Please do and close this thread please. Tx!!
Nagios XI 5.8.1
https://outsideit.net
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: ftp backups stopped working

Post by lmiltchev »

Done. TASK ID 8722.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Locked