Hi, when i follow thi logical mysql backup for openshift and the backup is normal, but when I use the backup point to restore the mysql, the database test have not restore which I create before backup.
my blueprint content as below:
apiVersion: cr.kanister.io/v1alpha1kind: Blueprintmetadata: name: mysql-dep-config-blueprintactions: backup: outputArtifacts: mysqlBackup: # Capture the kopia snapshot information for subsequent actions # The information includes the kopia snapshot ID which is essential for restore and delete to succeed # `kopiaOutput` is the name provided to kando using `--output-name` flag kopiaSnapshot: "{{ .Phases.dumpToStore.Output.kopiaOutput }}" phases: - func: KubeTask name: dumpToStore objects: mysqlsecret: kind: Secret #name: "{{ .DeploymentConfig.Name }}" name: mysql-password #namespace: "{{ .DeploymentConfig.Namespace }}" namespace: mjw-sfs args: #image: ghcr.io/kanisterio/mysql-sidecar:0.83.0 image: registry.example.com:8443/kasten-images/mysql-sidecar:0.83.0 namespace: mjw-sfs command: - bash - -o - errexit - -o - pipefail - -c - | backup_file_path="dump.sql" root_password="{{ index .Phases.dumpToStore.Secrets.mysqlsecret.Data "password" | toString }}" dump_cmd="mysqldump --column-statistics=0 -u root --password=${root_password} -h mysql-bk --single-transaction --all-databases" ${dump_cmd} | kando location push --profile '{{ toJson .Profile }}' --path "${backup_file_path}" --output-name "kopiaOutput" - restore: inputArtifactNames: # The kopia snapshot info created in backup phase can be used here # Use the `--kopia-snapshot` flag in kando to pass in `mysqlBackup.KopiaSnapshot` - mysqlBackup phases: - func: KubeTask name: restoreFromStore objects: mysqlsecret: kind: Secret name: mysql-password namespace: mjw-sfs args: image: registry.example.com:8443/kasten-images/mysql-sidecar:0.83.0 namespace: mjw-sfs command: - bash - -o - errexit - -o - pipefail - -c - | backup_file_path="dump.sql" kopia_snap='{{ .ArtifactsIn.mysqlBackup.KopiaSnapshot }}' root_password="{{ index .Phases.restoreFromStore.Secrets.mysqlsecret.Data "password" | toString }}" restore_cmd="mysql -u root --password=${root_password} -h mysql-bk" kando location pull --profile '{{ toJson .Profile }}' --path "${backup_file_path}" --kopia-snapshot "${kopia_snap}" - | ${restore_cmd} delete: inputArtifactNames: # The kopia snapshot info created in backup phase can be used here # Use the `--kopia-snapshot` flag in kando to pass in `mysqlBackup.KopiaSnapshot` - mysqlBackup phases: - func: KubeTask name: deleteFromStore args: image: registry.example.com:8443/kasten-images/mysql-sidecar:0.83.0 namespace: mjw-sfs command: - bash - -o - errexit - -o - pipefail - -c - | backup_file_path="dump.sql" kopia_snap='{{ .ArtifactsIn.mysqlBackup.KopiaSnapshot }}' kando location delete --profile '{{ toJson .Profile }}' --path "${backup_file_path}" --kopia-snapshot "${kopia_snap}"
kanister-svc log have an error as this snapshot below:

what is the root cause for this error?