Difference between revisions of "GET / snapshot"
Jump to navigation
Jump to search
↑ https://www.elastic.co/guide/en/elasticsearch/reference/current/put-snapshot-repo-api.html
Line 2: | Line 2: | ||
* https://www.elastic.co/guide/en/elasticsearch/reference/current/put-snapshot-repo-api.html | * https://www.elastic.co/guide/en/elasticsearch/reference/current/put-snapshot-repo-api.html | ||
− | PUT /_snapshot/your-repo | + | PUT /_snapshot/[[your-repo]] |
POST /_snapshot/your-repo | POST /_snapshot/your-repo | ||
Revision as of 08:01, 12 July 2022
GET /_snapshot
PUT /_snapshot/your-repo POST /_snapshot/your-repo
GET /_snapshot { "your_repo": { "type": "s3", "settings": { "bucket": "your-bucket-name", "client": "default", "base_path": "your-base-path", "region": "eu-central-1", "compress": "true" } } }
GET /_cat/snapshots/
GET /_cat/snapshot {"error":"Incorrect HTTP method for uri [/_cat/snapshot] and method [GET], allowed: [POST]","status":405}
curl -X POST --insecure https://your_username:YOUR_PASS@localhost:9200/_snapshot/your_repo/your_latest_snapshot_name/_restore
Related
- Elasticsearch curl URLs
- List repositories:
/_cat/repositories
- Create or update snapshot [1]:
PUT /_snapshot/your_repo
See also
- Elasticsearch, installation, ELK, Elastic X-Pack,
elasticsearch.yml
, logs, ECK, Elasticsearch curl URLs, Elastisearch REST APIs,/_cat/, /_cluster/, /_xpack/
, QueryShardException, Elasticsearch index, ELK backup and restore,elasticsearch-cli
, Elasticsearch versions, ElasticSearch Snapshot Lifecycle Management (SLM), Low disk watermark, Elasticsearch storage, Elasticsearch users, Elasticsearch roles, search context, shards, Elastic Cloud, Elastic Licensing, ElasticSearch alerts, ESQL
Advertising: