Difference between revisions of "Create or update snapshot repository"

From wikieduonline
Jump to navigation Jump to search
(Created page with " PUT /_snapshot/your_repo")
 
 
(20 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 +
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
  
  [[PUT /_snapshot/]]your_repo
+
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
 +
 
 +
PUT /_snapshot/[[your_repo]]/%3Csnapshot-%7Bnow%2Fd%7D%
 +
 
 +
[[GET /_snapshot]] <ref>https://www.elastic.co/guide/en/elasticsearch/reference/current/get-snapshot-api.html</ref>
 +
[[GET /_cat/repositories]]
 +
 
 +
[[/_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 ==
 +
* [[Elasticsearch GCS snapshot]]: <code>[[base_path]]</code>, https://www.elastic.co/guide/en/cloud/current/ec-gcs-snapshotting.html
 +
* [[Elasticsearch snapshots]]: [[Elasticsearch snapshot repository]]
 +
 
 +
== See also ==
 +
* {{elasticsearch}}
 +
 
 +
[[Category:Elasticsearch]]

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: