restore配置示例

  1. actions:
  2. 1:
  3. action: restore
  4. description: >-
  5. Restore all indices in the most recent snapshot with state SUCCESS. Wait
  6. for the restore to complete before continuing. Do not skip the repository
  7. filesystem access check. Use the other options to define the index/shard
  8. settings for the restore.
  9. options:
  10. repository: curator-dtlog04
  11. name:
  12. indices:
  13. wait_for_completion: True
  14. max_wait: 3600
  15. wait_interval: 10
  16. filters:
  17. - filtertype: state
  18. state: SUCCESS
  19. exclude: