I have been struggling for the past weeks with Backup & DR and I finally chose to ask for help.
I am currently new to Backup & DR and I am trying to backup a database running on a GCE Instance just for demo purposes. I deployed a management console and a backup appliance (for databases) through Terraform and everything runs smoothly. I then create a GCE Instance and add the firewall rules to both the appliance and the example instance hosting my database. Then, I install the Backup & DR agent on the instance, I copy the secret and add a host on the console using this secret.
And this is where my problem appears : when I try to add the host, the connection is made but I get this error even though my instance has its clock synchronized using NTP (see screenshot attached). Also, my console recognizes the instance (it shows me the Debian version it is running) but the certificate is âUninitializedâ.
Has anyone got this issue before ? Please let me know !
A âpartial successâ in a Compute Engine backup and disaster recovery (DR) operation in Google Cloud Platform indicates that some aspects of the backup or recovery were successful, while others failed. Based on your screenshot the warning reports are:
âbe sure to provide the correct secret that was generated on this host within the last 2 hours.â
âAlso be sure the clock on the host is synchronized with a reliable NTP source.â
The âUninitializedâ certificate is a symptom of the registration/handshake not completing successfully, which usually points back to the first two items.
Your Backup & DR host isnât registering correctly, most likely because of an issue with the security secret or a time synchronization problem. Hereâs how to troubleshoot it:
On your GCE instance (database server), generate a brand new secret for the Backup & DR agent.
Immediately copy this new secret and use it in the Management Console to add or update the host. Make sure you copy it perfectly. Old or mistyped secrets are a common problem.- Sync Clocks Everywhere:
Confirm that your GCE instance, the Backup & DR Management Console, AND the Backup Appliance all have their system clocks accurately synchronized using NTP. They all need to agree on the time.- Check Agent & Firewalls:
Agent Status: Make sure the Backup & DR agent software is running on your GCE instance.
Firewall Ports: Double-check that all necessary network ports are open between your GCE instance, the Management Console, and the Backup Appliance. Consult the Backup & DR documentation for the correct port list.- Examine Logs:
Look at the log files from the agent (on the GCE instance), the Management Console, and potentially the Appliance. These logs often contain more specific error messages that can guide you.- Restart (If Needed):
Try restarting the agent service on the GCE instance. As a last resort, consider restarting the Management Console or Appliance.
The âUninitializedâ certificate is a symptom that the host registration isnât completing. This is usually because the secret youâre using is old or incorrect, or thereâs a time difference between your systems. Youâll need to sort out the secret and time sync issues first.
Youâll find this guide very helpful for understanding Backup and DR deployment.If you have further questions, please reach out to our Google Cloud Support.
Additional reference about backup and disaster recovery:
Was this helpful? If so, please accept this answer as âSolutionâ. If you need additional assistance, reply here within 2 business days and Iâll be happy to help.