Backup and Restore of Bootstrap Node¶
This article describes the backup and restore of the kind cluster in the bootstrap node.
Backup Overview¶
Installer v0.16.0 supports backup and restore of the kind cluster in the bootstrap node. Currently, the following information is backed up:
-
Two important files: clusterConfig.yaml, manifest.yaml
The information in clusterConfig.yaml and manifest.yaml is stored in the configmap of the kind cluster.
-
All data of the kind cluster
The data of the kind cluster is mounted on the host machine at
/home/kind
, and the data of etcd is mounted at/home/kind/etcd
. Do not delete any files in this directory.Note
The mount directory can be defined in clusterConfig.yaml with
spec.tinderKind.resourcesMountPath
, and the default is/home/kind
.
Restore¶
Since the above backup is enabled by default for users, in case the kind cluster is accidentally deleted or lost, you can run the installer command:
./offline/dce5-installer cluster-create -c ./offline/sample/clusterConfig.yaml -m ./offline/manifest.yaml -j1,2