elasticsearch/es-snapshot-create

Create Snapshot

Take snapshot of indices

elasticsearch
snapshot
backup

Command

curl -X PUT 'http://localhost:9200/_snapshot/my_backup/snapshot_1?wait_for_completion=true&pretty'

Examples

Backup snapshot 2025

curl -X PUT 'http://localhost:9200/_snapshot/my_repo/snap_2025?wait_for_completion=true&pretty'