snapshot_restore.asciidoc 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. === Snapshot and Restore changes
  2. ==== File-system repositories must be whitelisted
  3. Locations of the shared file system repositories and the URL repositories with
  4. `file:` URLs now have to be registered before starting Elasticsearch using the
  5. `path.repo` setting. The `path.repo` setting can contain one or more
  6. repository locations:
  7. [source,yaml]
  8. ---------------
  9. path.repo: ["/mnt/daily", "/mnt/weekly"]
  10. ---------------
  11. If the repository location is specified as an absolute path it has to start
  12. with one of the locations specified in `path.repo`. If the location is
  13. specified as a relative path, it will be resolved against the first location
  14. specified in the `path.repo` setting.
  15. ==== URL repositories must be whitelisted
  16. URL repositories with `http:`, `https:`, and `ftp:` URLs have to be
  17. whitelisted before starting Elasticsearch with the
  18. `repositories.url.allowed_urls` setting. This setting supports wildcards in
  19. the place of host, path, query, and fragment. For example:
  20. [source,yaml]
  21. -----------------------------------
  22. repositories.url.allowed_urls: ["http://www.example.org/root/*", "https://*.mydomain.com/*?*#*"]
  23. -----------------------------------
  24. ==== Wildcard expansion
  25. The obsolete parameters `expand_wildcards_open` and `expand_wildcards_close`
  26. are no longer supported by the snapshot and restore operations. These
  27. parameters have been replaced by a single `expand_wildcards` parameter. See
  28. <<multi-index,the multi-index docs>> for more.