Add comments for backup and restore

This commit is contained in:
Haiyan Meng
2020-02-03 12:20:57 -08:00
parent a3b3449b1f
commit 3ebeebabde
5 changed files with 26 additions and 7 deletions

View File

@@ -1,3 +1,6 @@
# Creating `esrestore/kustomize-restore` will restore the `kuostmize` index in the `kustomize-snapshot` snapshot to a new index named `kusotmize-restore`.
# Deleting `esrestore/kustomize-restore` will not delete the restored index.
# Deleting `esrestore/kustomize-restore` should happen before deleting `essnapshot/kustomize-snapshot`.
apiVersion: elasticsearch.cloud.google.com/v1alpha1
kind: ESRestore
metadata:
@@ -6,7 +9,7 @@ spec:
include_global_state: true
ignore_unavailable: true
rename_pattern: kustomize
rename_replacement: kustomize-restore1
rename_replacement: kustomize-restore
essnapshot:
name: kustomize-snapshot
escluster: