Version: 6.x-23
This is an older version of Search Guard. Switch to Latest version

Configuring Backup and Restore

Once you have set up Search Guard on a testing or staging environment, you might want to replicate the exact Search Guard configuration on your production cluster.

If you have the Search Guard configuration files at hand, you can of course simply use sgadmin to upload them to production.

If you’re unsure whether your configuration files actually resemble the active Search Guard configuration on your cluster, you can use sgadmin to retrieve the configuration from a running cluster, and upload it to another one:

Retrieve the current configuration from a cluster running on :

./ --retrieve -h -ts ... -tspass ... -ks ... -kspass ...

To upload the dumped files to another cluster, here listening on port 9301, use:

./ -h -cd /etc/backup/ 
    -ts ... -tspass ... -ks ... -kspass ...

You can read more details about this in the “Backup and Restore” chapter of the sgadmin documentation.

Not what you were looking for? Try the search.