21.11.3 Executing the Snapshot Policy Manually

You can manually execute a snapshot policy to take an instant snapshot. This is useful for taking snapshots before making a configuration change, upgrading, or to test a new policy. Manually executing a policy does not affect the configured schedule. Instead of waiting for the policy to run, use SLM to take a snapshot using the configuration instantly instead of waiting for scheduled time using the command curl -X PUT "http://{elastic_ip}:9200/_slm/policy/nightly-snapshots/_execute?pretty".

NOTE:The elastic_ip can be either the IP of the node in case you are in dashboard cluster or 127.0.0.1, in case you are not using a cluster configuration.