repositories.asciidoc 661 B

123456789101112131415161718192021222324
  1. [[cat-repositories]]
  2. == cat repositories
  3. The `repositories` command shows the snapshot repositories registered in the
  4. cluster. For example:
  5. [source,js]
  6. --------------------------------------------------
  7. GET /_cat/repositories?v
  8. --------------------------------------------------
  9. // CONSOLE
  10. // TEST[s/^/PUT \/_snapshot\/repo1\n{"type": "fs", "settings": {"location": "repo\/1"}}\n/]
  11. might looks like:
  12. [source,txt]
  13. --------------------------------------------------
  14. id type
  15. repo1 fs
  16. repo2 s3
  17. --------------------------------------------------
  18. // TESTRESPONSE[s/\nrepo2 s3// _cat]
  19. We can quickly see which repositories are registered and their type.