Closed cpanato closed 5 years ago
i tried to remove but then the pod never came up
Hi @cpanato,
To init a cluster from a backup you have to set initBucketURL
from the first time (when the cluster is created). The initBucketURL
is used only when the disk empty.
In your case, you can delete the PVC and wait for pod to be recreated (maybe scale to 0 then remove the PVC then scale back to 1)
@AMecea I will try that. will be a good addition if we have a controller that apply a restore
thanks that worked :)
Hello I did the following thing: 1- create a mysql cluster without a database using this sample manifest
2- wait for the the pod be healthy 3- updated the manifest to use a backup and apply the restore
I saw the pos was in terminating state and then it start a new one, however the backup was not applied.
Does this is possible to achieve?
cc @AMecea