backup-cluster-data.asciidoc 1.0 KB

123456789101112131415161718192021222324252627
  1. [[backup-cluster-data]]
  2. === Back up a cluster's data
  3. ++++
  4. <titleabbrev>Back up the data</titleabbrev>
  5. ++++
  6. To back up your cluster's data, you can use the <<modules-snapshots,snapshot API>>.
  7. include::../snapshot-restore/index.asciidoc[tag=snapshot-intro]
  8. [TIP]
  9. ====
  10. If your cluster has {es} {security-features} enabled, when you back up your data
  11. the snapshot API call must be authorized.
  12. The `snapshot_user` role is a reserved role that can be assigned to the user
  13. who is calling the snapshot endpoint. This is the only role necessary if all the user
  14. does is periodic snapshots as part of the backup procedure. This role includes
  15. the privileges to list all the existing snapshots (of any repository) as
  16. well as list and view settings of all indices, including the `.security` index.
  17. It does *not* grant privileges to create repositories, restore snapshots, or
  18. search within indices. Hence, the user can view and snapshot all indices, but cannot
  19. access or modify any data.
  20. For more information, see <<security-privileges>>
  21. and <<built-in-roles>>.
  22. ====