Add notes on backup and restore

This commit is contained in:
Haiyan Meng
2020-02-06 15:56:23 -08:00
parent 91da8525c1
commit 807ca9c1e3
4 changed files with 17 additions and 2 deletions

View File

@@ -1,7 +1,9 @@
# ESRestore depends on both ESCluster and ESSnapshot.
# 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`.
# If the `kusotmize-restore` index is deleted manually, the ESRestore object will restore the `kustomize` index to it again.
# After the restore is complete, if the `kusotmize-restore` index is deleted manually, the ESRestore object will NOT restore the `kustomize` index to it again.
# The correct way of using ESRestore is: create a ESRestore object to restore the index; delete the ESRestore object after the restore is complete.
apiVersion: elasticsearch.cloud.google.com/v1alpha1
kind: ESRestore
metadata: