Hi,
What is the proper step if any to use the operator to restore a database from a snapshot of the pvc(s)?
The case is like this: We have a running operator/fdb cluster. Then we took a snapshot of all the pvc that belongs to that cluster while we stopped any write transaction.
We then removed this cluster and then redeploy the operator and restored the pvc. But we found that the operator does not reinitialize the cluster by updating the ip of the cluster file so the db cannot come up.
So, what are the proper steps in order to handle this? Is this case supported?
1 Like
We don’t have full automation for this kind of restore flow, but @Daniel-B-Smith has been exploring a similar space and may be able to give you some pointers.
Currently, we don’t need it to be automated. We are trying to achieve that in a programatic way. So, any pointers are welcome
What we have tried so far is:
The PVC are all restored.
All pods started.
We manually updated the cluster file in /var/dynamic-conf/fdb.cluster and also updated the ConfigMap.
We killed the server process and restart it.
In fdbcli, it says it can reach the host but no record in the DB.
So, we don’t know what steps do we miss.
1 Like