Start Snapshot Lifecycle Management
editStart Snapshot Lifecycle Management
editAutomatic snapshot lifecycle management is currently disabled. New backup snapshots will not be created automatically.
In order to start the snapshot lifecycle management service, follow these steps:
In order to start snapshot lifecycle management we need to go to Kibana and execute the start command.
Use Kibana
- Log in to the Elastic Cloud console.
-
On the Elasticsearch Service panel, click the name of your deployment.
If the name of your deployment is disabled your Kibana instances might be unhealthy, in which case please contact Elastic Support. If your deployment doesn’t include Kibana, all you need to do is enable it first.
-
Open your deployment’s side navigation menu (placed under the Elastic logo in the upper left corner) and go to Dev Tools > Console.
-
Start snapshot lifecycle management:
resp = client.slm.start() print(resp)
const response = await client.slm.start(); console.log(response);
POST _slm/start
The response will look like this:
{ "acknowledged": true }
-
Verify snapshot lifecycle management is now running:
resp = client.slm.get_status() print(resp)
response = client.slm.get_status puts response
const response = await client.slm.getStatus(); console.log(response);
GET _slm/status
The response will look like this:
{ "operation_mode": "RUNNING" }
Start snapshot lifecycle management:
resp = client.slm.start() print(resp)
const response = await client.slm.start(); console.log(response);
POST _slm/start
The response will look like this:
{ "acknowledged": true }
Verify the snapshot lifecycle management is now running:
resp = client.slm.get_status() print(resp)
response = client.slm.get_status puts response
const response = await client.slm.getStatus(); console.log(response);
GET _slm/status
The response will look like this:
{ "operation_mode": "RUNNING" }