Last active
May 19, 2020 11:59
-
-
Save shiveshsky/8615cb5236132815a61c77d3005d0a9e to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
actions: | |
1: | |
action: close | |
description: "Close indices before restoring snapshot" | |
options: | |
continue_if_exception: True | |
ignore_empty_list: True | |
filters: | |
- filtertype: pattern | |
kind: regex | |
value: ".*$" | |
2: | |
action: restore | |
description: "Restore all indices in the most recent snapshot with state SUCCESS" | |
options: | |
repository: "esbackup" | |
name: | |
indices: | |
wait_for_completion: True | |
filters: | |
- filtertype: state | |
state: SUCCESS | |
3: | |
action: open | |
description: "Open indices after restoring snapshot" | |
filters: | |
- filtertype: pattern | |
kind: regex | |
value: ".*$" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
actions: | |
1: | |
action: snapshot | |
description: >- | |
Snapshot indices. | |
Wait for the snapshot to complete. Do not skip | |
the repository filesystem access check. Use the other options to create | |
the snapshot. | |
# name of the repository path given while registering the bkp folder | |
options: | |
repository: esbackup | |
# Leaving name blank will result in the default 'curator-%Y%m%d%H%M%S' | |
name: mybkp-%Y%m%d%H%M%S | |
ignore_unavailable: False | |
include_global_state: True | |
partial: False | |
wait_for_completion: True | |
skip_repo_fs_check: False | |
disable_action: False | |
filters: | |
- filtertype: pattern | |
kind: regex | |
value: ".*$" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
client: | |
hosts: | |
- 127.0.0.1 | |
port: 9200 | |
url_prefix: | |
use_ssl: False | |
certificate: | |
client_cert: | |
client_key: | |
ssl_no_validate: False | |
http_auth: | |
timeout: 30 | |
master_only: False | |
logging: | |
loglevel: INFO | |
logfile: | |
logformat: default | |
blacklist: [ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment