Page 1 of 1
Cannot snapshot closed indices
Posted: Mon May 27, 2019 12:13 pm
by cdcsysadmin
my Nagios LS got closed logstash-2018.10.01 to 2019.03.31 , i have fixed the snapshot issue recently and want to put these closed indices to snapshot Repository but not success (by running snapshot_maintenance).
how to fix it, thanks
Re: Cannot snapshot closed indices
Posted: Tue May 28, 2019 3:20 pm
by npolovenko
Hello,
@cdcsysadmin. You'll need to open closed indices first before taking a snapshot.
You could do that from the Index Status menu. Admin -> Index Status.
Re: Cannot snapshot closed indices
Posted: Tue May 28, 2019 8:19 pm
by cdcsysadmin
After I reopen the indices , do I need to wait (let say 15-30mins )before click snapshot_maintenance?
Re: Cannot snapshot closed indices
Posted: Wed May 29, 2019 12:01 pm
by scottwilkerson
cdcsysadmin wrote:After I reopen the indices , do I need to wait (let say 15-30mins )before click snapshot_maintenance?
I would wait until they are all open.
One thing to point out is that you are going to need to change the setting on the Snapshot and maintenance page to "Close indexes older than" & "Delete indexes older than" to be a large number like 365 so that the indexes don't close/delete before the snapshot is made.
Once you get the snapshot, you can change these back down.