repository-shared-settings.asciidoc 1.3 KB

1234567891011121314151617181920212223242526272829303132333435
  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. Note that if the <<recovery-settings-for-managed-services,recovery settings for managed services>>
  9. are set, then it defaults to unlimited, and the rate is additionally
  10. throttled through <<recovery,recovery settings>>.
  11. //tag::readonly-repo-setting[]
  12. `readonly`::
  13. (Optional, Boolean)
  14. If `true`, the repository is read-only. The cluster can retrieve and restore
  15. snapshots from the repository but not write to the repository or create
  16. snapshots in it.
  17. +
  18. Only a cluster with write access can create snapshots in the repository. All
  19. other clusters connected to the repository should have the `readonly` parameter
  20. set to `true`.
  21. +
  22. If `false`, the cluster can write to the repository and create snapshots in it.
  23. Defaults to `false`.
  24. +
  25. [IMPORTANT]
  26. =====
  27. If you register the same snapshot repository with multiple clusters, only
  28. one cluster should have write access to the repository. Having multiple clusters
  29. write to the repository at the same time risks corrupting the contents of the
  30. repository.
  31. =====
  32. //end::readonly-repo-setting[]