Snapshotting to Azure Storage for Elasticsearch 7.x
editSnapshotting to Azure Storage for Elasticsearch 7.x
editThese instructions apply to Elasticsearch versions 7.x. If you are using an earlier version see Snapshotting to Azure Storage for Elasticsearch 5.x and 6.4 - 6.8.
With Elastic Cloud Enterprise, you can enable your Elasticsearch clusters to regularly snapshot data to Microsoft Azure Storage.
Add the Azure repository
editAdd your Azure Storage Container as a repository to the platform:
- Log into the Cloud UI.
-
Go to Platform > Repositories and add the following snapshot repository configuration under the advanced mode:
If needed, set additional options for configuring chunk_size, compressions, and retries. Check the supported settings.
{ "type": "azure", "settings": { "account": "AZURE STORAGE ACCOUNT NAME", "sas_token": "AZURE SAS_TOKEN", "container": "BACKUP-CONTAINER" } }
Snapshots are stored in the container you provide. Use the repository name you define here to configure your Elasticsearch clusters for snapshotting to this repository.
Configure your deployment for Azure snapshots
editTo save deployment snapshots to the Azure repository:
-
Create or use an existing deployment with an Elasticsearch cluster that has the
repository-azure
plugin enabled. - Configure your deployment to snapshot to the Azure repository.
The cluster should then have snapshots enabled and and begins snapshotting immediately. You can configure the how frequently snapshotting occurs on the Snapshots in the Elasticsearch menu.