Hey guys
I am looking a way for nagios backup and i tried to find on internet, but didn't get the proper information. can anyone give me the step by step way on how to do it please.
This is the only information i found but didn't understand that much
http://nachum234.no-ip.org/nagios/4-nagios-backup/
thanks
Sham
Nagios Core Backup & Restore
-
cesar.garza
- Posts: 80
- Joined: Mon Aug 19, 2013 3:14 pm
Re: Nagios Core Backup & Restore
I found a script to take the nagios core backup but somehow its not working and not throwing any error. I checked the nagios log and didn't see anything.
1:) save the script in the /usr/local/nagios/bin
2:) make the backup directory so all the backup file go there.
3:) make the backup_log directory in the /usr/local/nagios/var so all the backup log goes there.
I ran the script and didn't see any file in the backup folder or logs.
Any suggestion ??
1:) save the script in the /usr/local/nagios/bin
2:) make the backup directory so all the backup file go there.
3:) make the backup_log directory in the /usr/local/nagios/var so all the backup log goes there.
I ran the script and didn't see any file in the backup folder or logs.
Any suggestion ??
- Attachments
-
backup.sh- (2.49 KiB) Downloaded 1274 times
-
slansing
- Posts: 7698
- Joined: Mon Apr 23, 2012 4:28 pm
- Location: Travelling through time and space...
Re: Nagios Core Backup & Restore
It does not look like you followed the directions on that site, I would do so and see how far you get. You need to make the correct directories and run the script from where they say since it looks like it relies on its residence being in a certain directory. If you have issues with the script itself you might want to contact it's creator as it was not done by us.
-
cesar.garza
- Posts: 80
- Joined: Mon Aug 19, 2013 3:14 pm
Re: Nagios Core Backup & Restore
thanks for you reply. I have figured it out. there was a permission issue and now its working fine.