Restore Config Snapshots

This support forum board is for support questions relating to Nagios Log Server, our solution for managing and monitoring critical log data.
Locked
lukedevon
Posts: 143
Joined: Sat Mar 24, 2018 9:15 am

Restore Config Snapshots

Post by lukedevon »

Hi

In case of all my cluster nodes are crashed, how can I restore "Config Snapshots" to a brand new NLS cluster?

I have taken backups of these files already to an external device. --> applyconfig.snapshot.xxyyzzyycc.tar.gz

May I know the procedure?

Thank you
Luke.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Restore Config Snapshots

Post by scottwilkerson »

The apply config snapshots are just for the logstash config only, I would recommend this procedure for what you need

https://assets.nagios.com/downloads/nag ... Server.pdf
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
lukedevon
Posts: 143
Joined: Sat Mar 24, 2018 9:15 am

Re: Restore Config Snapshots

Post by lukedevon »

Hi

I have read this doc. Then it seems there is no way to restore only the config snapshots. I was looking for a method to restore only config snapshots.

We cant use applyconfig.snapshot.xxyyzzyycc.tar.gz backup to restore in a complete crash.

Then According to the doc, the following is the only way;

System Backups
System backups contain the configuration settings, dashboards, users, internal logs, alerts. Also included are
the Inputs, Filters and Outputs for Logstash

Then just to recover input/output and other filters, we need to restore the content in /store/backups/nagioslogserver/.

cd /usr/local/nagioslogserver/scripts/
./restore_backup.sh /store/backups/nagioslogserver/nagioslogserver.YYYY-MM-DD.xxxxxxxxxx.tar.gz

Thank you
Luke
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Restore Config Snapshots

Post by scottwilkerson »

This is true because if the index that contains the logstash configuration is crashed, it is the same index that contains all the other configuration info and you would have lost that as well.
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
Locked