Create or update snapshot repository

From wikieduonline
Revision as of 20:36, 8 November 2022 by Welcome (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

https://www.elastic.co/guide/en/elasticsearch/reference/current/put-snapshot-repo-api.html

Types: Azure repository, Google Cloud Storage repository, S3 repository, Shared file system repository, Source-only repository, Read-only URL repository

https://www.elastic.co/guide/en/elasticsearch/reference/7.17/create-snapshot-api.html

PUT /_snapshot/your-repo [1]
POST /_snapshot/your-repo
PUT /_snapshot/your_repo/%3Csnapshot-%7Bnow%2Fd%7D%
GET /_snapshot [2]
GET /_cat/repositories
/_cat/snapshots/your-snapshot-repo

Output[edit]

PUT /_snapshot/your-repo
HTTP/1.1 200 OK
content-type: application/json; charset=UTF-8
content-length: 17
access-control-allow-credentials: true

Related[edit]

See also[edit]

  • https://www.elastic.co/guide/en/elasticsearch/reference/current/put-snapshot-repo-api.html
  • https://www.elastic.co/guide/en/elasticsearch/reference/current/get-snapshot-api.html
  • Advertising: