2015-10-22 05:00:51 -04:00
|
|
|
[[cat-repositories]]
|
2019-07-19 14:35:36 -04:00
|
|
|
=== cat repositories
|
2015-10-22 05:00:51 -04:00
|
|
|
|
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
|
|
|
|
--------------------------------------------------
|
2019-06-10 09:33:32 -04:00
|
|
|
// TESTRESPONSE[s/\nrepo2 s3// non_json]
|
2015-10-22 05:00:51 -04:00
|
|
|
|
|
|
|
We can quickly see which repositories are registered and their type.
|