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.
Restore Config Snapshots
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Restore Config Snapshots
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
https://assets.nagios.com/downloads/nag ... Server.pdf
Re: Restore Config Snapshots
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
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
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.