2015-10-22 05:00:51 -04:00
|
|
|
[[cat-repositories]]
|
|
|
|
== cat repositories
|
|
|
|
|
2016-10-25 10:56:30 -04:00
|
|
|
The `repositories` command shows the snapshot repositories registered in the
|
|
|
|
cluster. For example:
|
2015-10-22 05:00:51 -04:00
|
|
|
|
2016-10-25 10:56:30 -04:00
|
|
|
[source,js]
|
|
|
|
--------------------------------------------------
|
|
|
|
GET /_cat/repositories?v
|
|
|
|
--------------------------------------------------
|
|
|
|
// CONSOLE
|
|
|
|
// TEST[s/^/PUT \/_snapshot\/repo1\n{"type": "fs", "settings": {"location": "repo\/1"}}\n/]
|
|
|
|
|
|
|
|
might looks like:
|
|
|
|
|
|
|
|
[source,txt]
|
2015-10-22 05:00:51 -04:00
|
|
|
--------------------------------------------------
|
|
|
|
id type
|
|
|
|
repo1 fs
|
|
|
|
repo2 s3
|
|
|
|
--------------------------------------------------
|
2016-10-25 10:56:30 -04:00
|
|
|
// TESTRESPONSE[s/\nrepo2 s3// _cat]
|
2015-10-22 05:00:51 -04:00
|
|
|
|
|
|
|
We can quickly see which repositories are registered and their type.
|