Difference between revisions of "Create or update snapshot repository"

From wikieduonline
Jump to navigation Jump to search
 
Line 1: Line 1:
 
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
 +
 +
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
 
https://www.elastic.co/guide/en/elasticsearch/reference/7.17/create-snapshot-api.html

Latest revision as of 20:36, 8 November 2022

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: