加载中

只读 URL 存储库

您可以使用 URL 仓库让集群以只读方式访问通过 URL 公开的快照数据,包括 filehttphttpsftp 位置。由于 URL 仓库始终是只读的,因此它们是注册只读共享文件系统仓库的一种更安全、更便捷的替代方案。

使用 Kibana 或 创建快照仓库 API 来注册 URL 仓库。

				PUT _snapshot/my_read_only_url_repository
					{
  "type": "url",
  "settings": {
    "url": "file:/mount/backups/my_fs_backup_location"
  }
}
		

url 仓库类型支持多种设置来自定义数据的存储方式,这些设置可在创建仓库时指定。

仓库设置涵盖快照根 URL(包括支持的协议)、远程 URL 的 HTTP 重试和超时、压缩、吞吐量限制以及最大快照数。远程 httphttpsftp URL 必须由 repositories.url.allowed_urls 设置允许。有关所有只读 URL 仓库设置的完整列表,请参阅 只读 URL 仓库设置

© . This website operates independently and is not affiliated with or endorsed by Elasticsearch B.V. All brand names, logos, and trademarks are the property of their respective owners.