Page 1 of 1

Backup

Posted: Mon Oct 01, 2012 6:11 am
by Flava
Hi,

What is the best to backup and restore the entire server in the event of failure? and what is the best way to restore last good known good configuration? Is there a plug-in for backup and restore config changes?

I have read the backup documentation, http://assets.nagios.com/downloads/nagi ... ing_XI.pdf; is this recommended solution?

Also, can i install samba and expose the store directory backit up for the network share using internal backup system? I am thinking create a cron job /usr/local/nagiosxi/scripts/backup_xi.sh and backup then backup everything is /store.

does the /usr/local/nagiosxi/scripts/backup_xi.sh have facility to rotate logs? anything older than 1 month get purged, or have something similar to that of the daily and monthly backups in /store/backups

Re: Backup

Posted: Mon Oct 01, 2012 7:29 am
by scottwilkerson
Flava wrote:And what is the best way to restore last good known good configuration?
this is added into the 2012 release right from the configuration snapshot page
Flava wrote:I have read the backup documentation, http://assets.nagios.com/downloads/nagi ... ing_XI.pdf; is this recommended solution?
Yes
Flava wrote:does the /usr/local/nagiosxi/scripts/backup_xi.sh have facility to rotate logs?
No, however XI does have some built-in items to remove old entries from databases etc.

Re: Backup

Posted: Wed Oct 03, 2012 9:10 am
by Flava
If this is the recommended solution then, it should really be a cron job, and should have a log rotatation facility to recover from complete system failure.

Re: Backup

Posted: Wed Oct 03, 2012 9:41 am
by scottwilkerson
You absolutely can set this up in a cron job.

Different Administrators have different requirements for the backup frequency and need to offload the backups in different ways to different machines.

This is something that the control is left up to the system administrator.