searchguard index restore to another cluster

Searchguard for elasticsearch 6.3.0

I am have two clusters in two data centers , I monthly restore snapshots on backup cluster , which goes fine for data indices.

I also need to restore the searchguard index on the backup cluster regularsly so that users and roles we create on primary replicated to secondary so that when we failover to secondary , users must still be able to loigin.

**How can we do this? **

I have JKS files for certs and keys.

You would use an TLS admin certificate for that, the same you use when executing sgadmin. Depending on the tools you use, you just execute the normal snapshot/restore operations, but add the admin certificate to it (e.g. curl)

···

On Thursday, July 12, 2018 at 4:51:48 PM UTC+2, Ijaz Ahmad wrote:

Searchguard for elasticsearch 6.3.0

I am have two clusters in two data centers , I monthly restore snapshots on backup cluster , which goes fine for data indices.

I also need to restore the searchguard index on the backup cluster regularsly so that users and roles we create on primary replicated to secondary so that when we failover to secondary , users must still be able to loigin.

**How can we do this? **

I have JKS files for certs and keys.

The API is running on http.

Then your only option is to use sgadmin to retrieve the current configuration from your first cluster with the -r/–retrieve option and use the downloaded configuration files to update your second cluster.

···

On Friday, July 20, 2018 at 12:15:07 PM UTC+2, Ijaz Ahmad wrote:

The API is running on http.