Hello;
I had a failure due to running out of disk space. I had good system backups from this week and followed the procedure to recover them. When I attempt to login post restore, nagiosadmin doesn't work. I added a recovery user from another thread and found that although my data indices are still there, there are no dashboards, no users and the license is gone. I can appreciate that it is due to the nagioslogserver index not being valid but I am not sure why if there are no errors being thrown when restoring. I looked in the actual backup file and found all of my queries are there as well so I assume my other data is there as well. How would I go about resolving this. Thanks!
Unable to recover from backup
Re: Unable to recover from backup
Here is a listing when restoring a system backup.
Starting Nagios Log Server Restore
----------------------------------
Backup folder: /store/backups/nagioslogserver/nagioslogserver.2018-07-07.1530979586
Extracting the backups.
Creating restore jobs for indexes.
Restoring: nagioslogserver
. done.Restoring: kibana-int
. done.Restoring: nagioslogserver_log
. done.Restoring: nagioslogserver_history
. done.All indexes restored.
Resetting backend jobs...
done.
Restore Complete!
The only messages in the elasticsearch log is:
observer: timeout notification from cluster service. timeout setting [1m], time since start [1m]
Starting Nagios Log Server Restore
----------------------------------
Backup folder: /store/backups/nagioslogserver/nagioslogserver.2018-07-07.1530979586
Extracting the backups.
Creating restore jobs for indexes.
Restoring: nagioslogserver
. done.Restoring: kibana-int
. done.Restoring: nagioslogserver_log
. done.Restoring: nagioslogserver_history
. done.All indexes restored.
Resetting backend jobs...
done.
Restore Complete!
The only messages in the elasticsearch log is:
observer: timeout notification from cluster service. timeout setting [1m], time since start [1m]
Re: Unable to recover from backup
I've found that having unassigned shards can sometimes prevent the backups from importing. Go through https://support.nagios.com/kb/article/n ... th-90.html to find unassigned shards and and attempt to assign them or close their indexes:
curl -XPOST 'http://localhost:9200/indexnamehere/_close'
and then try to import the backup.
curl -XPOST 'http://localhost:9200/indexnamehere/_close'
and then try to import the backup.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Re: Unable to recover from backup
That was exactly the issue! Thanks!