Using cluster file `/mnt/config-volume/cluster-file’.
The database is unavailable; type `status’ for more information.
Welcome to the fdbcli. For help, type `help’.
fdb> status
“We are currently facing an urgent issue with our FoundationDB deployment via Helm on Kubernetes, specifically we are unable to restore data. We attempted to copy the previous cloud disk data related to the FDB components into the pods hosting the log and storage components. Following the instructions at fdb-kubernetes-operator/docs/manual/operations.md at main · FoundationDB/fdb-kubernetes-operator · GitHub, we proceeded with the data recovery process, however, the data has not been restored successfully.”
Using cluster file `/mnt/config-volume/cluster-file’.
Locking coordination state. Verify that a majority of coordination server
processes are active.
Could you add some more details on what happened and what steps you performed? When you say disk data you mean all the data that was present under /var/fdb/data? Or did you only copy a subset of data? The steps that you linked are meant for a case where you lost the majority of the coordinators but not all of your data (thought those recovery steps will probably/eventually lead to some data loss).
Have you looked at the trace events of the cluster controller to see where/and why recovery is stuck?
Thank you for your reply. The previous issue has been resolved, and the data has been recovered. Now, I’m encountering a new problem. We are using the Operator version 1.36.0, with FoundationDB at version 7.1.15, all deployed via Kubernetes Helm. I’m unsure how to utilize backup data and transfer it to Alibaba Cloud OSS,
Do you have any more detailed examples or related articles?
I don’t know enough about Alibaba Cloud OSS to give you any details on how to set it up, but I would expect that if the service provides a S3 compatible API it should work. If you are able to find out how to configure, feel free to open a PR with the required steps
| - |
Date | 09/20/2024 17:10 |
To | 13362133754@163.com |
Cc | |
Subject | [FoundationDB] [Using FoundationDB/Running FoundationDB] How to recover FDB data based on cloud disk data |
I don’t know enough about Alibaba Cloud OSS to give you any details on how to set it up, but I would expect that if the service provides a S3 compatible API it should work. If you are able to find out how to configure, feel free to open a PR with the required steps