Difference between revisions of "Create or update snapshot repository"

From wikieduonline
Jump to navigation Jump to search
 
(3 intermediate revisions by the same user not shown)
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
  
  [[PUT /_snapshot/]][[your-repo]]
+
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]] <ref>https://www.elastic.co/guide/en/elasticsearch/reference/current/put-snapshot-repo-api.html</ref>
 
  [[POST /_snapshot/]]your-repo
 
  [[POST /_snapshot/]]your-repo
  
Line 10: Line 13:
  
 
  [[/_cat/snapshots/]]your-snapshot-repo
 
  [[/_cat/snapshots/]]your-snapshot-repo
 +
 +
== Output ==
 +
[[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 ==
 
== Related ==

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: