I am trying to understand few things about fdbrestore in general and backup_agent in special.
First case: I tried to restore fdb in some docker in which I have an available empty fdb instance with the cluster file which is not in the default location, I saw that
fdbrestorecan’t start. From the threads in this resource, I got that backup_agent has to be configured with the cluster file. I configured
backup_agentcluster file with
-C, and it worked. So the question is in which case before running
fdbrestore start -r file://... --dest_cluster_file=<fdb.cluster path> -wI must run
backup_agent -C <fdb.cluster path>?
Second case: I just performed a regular fdb installation according to this guide (Getting Started on Linux — FoundationDB 6.3) on a Linux PC and tryied to restore fdb from some snapshot. It worked, I saw that restoring was completed successfully. But as far as I understand, this worked since I used the default cluster file(
/etc/foundationdb/fdb.cluster). When I tried to configure backup_agent in any case with the cluster file, it turned out that backup_agent did not run. There is no such daemon. So the question, if I need to raise
backup_agentsomehow for successful restoring to a cluster file that is not in the default location? Or what is the correct procedure for the case when
backup_agentdoes not run and I need to run
thank you very much