Logical MySQL BackupΒΆ

Install the MySQL chart from the stable Helm repository:

$ helm install --namespace mysql --name mysql-release stable/mysql
$ kubectl create namespace mysql
$ helm install --namespace mysql mysql-release stable/mysql

The following commands will install the MySQL Blueprint in the K10 namespace and add an annotation on the MySQL Deployment to instruct K10 to use the Blueprint when performing operations on this MySQL instance.

$ kubectl --namespace kasten-io apply -f \
    https://raw.githubusercontent.com/kanisterio/kanister/0.28.0/examples/stable/mysql/mysql-blueprint.yaml

$ kubectl --namespace mysql annotate deployment/mysql-release \
    kanister.kasten.io/blueprint=mysql-blueprint

Finally, use K10 to backup and restore the application.