I was having things changed on our Nagios XI servers but the Unix admin accidentally went to work on our Nagios Log Servers. He removed the /backup partition by accident. He rebuilt it with same permissions it had before nagios:nagios but now they just do not work.
I have recreated the backup repository and the job will say success when I set it to run, but no backup file is created. I looking in /backups and in /store/backups (which is what is in the backup script itself).
Here are the screenshots.. Any ideas?
NLS backups not working after directory deleted and restored
-
krobertson71
- Posts: 444
- Joined: Tue Feb 11, 2014 10:16 pm
NLS backups not working after directory deleted and restored
You do not have the required permissions to view the files attached to this post.
Re: NLS backups not working after directory deleted and rest
There are two seperate backup mechanisms built in to Nagios Log Server, and I think you may have them confused. The first is the configuration backup - this is what the 'backup' job in the subsystem commands - and is the equivalent of running the 'create_backup' script in /usr/local/nagioslogserver/scripts directory. By default all configuration backups are stored in /store/backups/nagioslogserver.
The second backup (the one which backs up actual logs) is controlled via the 'backup & maintenance' subsystem job. This is also the backup system controlled on the 'Backup & Maintenance' Web GUI page. Please try running that job and see if files begin to populate in your /backup directory.
The second backup (the one which backs up actual logs) is controlled via the 'backup & maintenance' subsystem job. This is also the backup system controlled on the 'Backup & Maintenance' Web GUI page. Please try running that job and see if files begin to populate in your /backup directory.
-
krobertson71
- Posts: 444
- Joined: Tue Feb 11, 2014 10:16 pm
Re: NLS backups not working after directory deleted and rest
Sorry my brain died. You were right, I was running the wrong job.
What is nice is that it rebuilt the incide backups for all current days in log server. Turns out the Unix , two days ago, admin had deleted the /backups partition as he thought he was working on a different server which caused us to lose (we thought) our backups. He rebuilt the directory but the backup last night said it ran but did not create a restore entry in the Backup Snapshots.
Not sure what happened there but creating a new repository and deleting the old one seemed to straighten that out.
Thanks for all the help.
You can close this ticket.
What is nice is that it rebuilt the incide backups for all current days in log server. Turns out the Unix , two days ago, admin had deleted the /backups partition as he thought he was working on a different server which caused us to lose (we thought) our backups. He rebuilt the directory but the backup last night said it ran but did not create a restore entry in the Backup Snapshots.
Not sure what happened there but creating a new repository and deleting the old one seemed to straighten that out.
Thanks for all the help.
You can close this ticket.
Re: NLS backups not working after directory deleted and rest
I know that feeling!Sorry my brain died.
No worries - I'm glad we got this cleared up. Locking it up.