repository-shared-settings.asciidoc 1.1 KB

1234567891011121314151617181920212223242526272829303132
  1. `max_restore_bytes_per_sec`::
  2. (Optional, <<byte-units,byte value>>)
  3. Maximum snapshot restore rate per node. Defaults to unlimited. Note
  4. that restores are also throttled through <<recovery,recovery settings>>.
  5. `max_snapshot_bytes_per_sec`::
  6. (Optional, <<byte-units,byte value>>)
  7. Maximum snapshot creation rate per node. Defaults to `40mb` per second.
  8. //tag::readonly-repo-setting[]
  9. `readonly`::
  10. (Optional, Boolean)
  11. If `true`, the repository is read-only. The cluster can retrieve and restore
  12. snapshots from the repository but not write to the repository or create
  13. snapshots in it.
  14. +
  15. Only a cluster with write access can create snapshots in the repository. All
  16. other clusters connected to the repository should have the `readonly` parameter
  17. set to `true`.
  18. +
  19. If `false`, the cluster can write to the repository and create snapshots in it.
  20. Defaults to `false`.
  21. +
  22. [IMPORTANT]
  23. =====
  24. If you register the same snapshot repository with multiple clusters, only
  25. one cluster should have write access to the repository. Having multiple clusters
  26. write to the repository at the same time risks corrupting the contents of the
  27. repository.
  28. =====
  29. //end::readonly-repo-setting[]