If the status of a Cloud Backup client is abnormal, backup and restore jobs may fail. This topic describes how to troubleshoot and handle the status exceptions on a Cloud Backup client.
Issue
In the Cloud Backup console, the following errors occur: The status of a Cloud Backup client is "Stopped", and the message "The Cloud Backup client is not connected properly" appears. The status of a backup job is "Failed", and the message "The backup fails because the backup client loses connection" appears.
Cause
The process of the Cloud Backup client encounters an exception. For example, the process has stopped.
The network connection between the Cloud Backup client and server is abnormal. For example, the network is disconnected, messages are intercepted by the firewall, or the client settings are incorrect.
The Cloud Backup client fails to be registered. For example, the network interface controller (NIC) of the on-premises server is replaced.
Solution
Check the status of the Cloud Backup client.
For more information about how to view the logs of the Cloud Backup client, see Where do I view the default installation path and logs of a Cloud Backup client?
Check the logs and network.
Check the logs and network of the Cloud Backup client. Then, reset and reactivate the client.
Check the logs.
NoteThe new Cloud Backup client is installed in one of the following paths by default. The following paths are for reference only. The actual installation path may be different.
On Windows, you can view the logs in the C:\Program Files\Aliyun Hybrid Backup Service Client\logs path.
On Linux, you can view the logs in the /opt/alibabacloud/hbrclient/logs path.
Open the log file and search for Failed to register client. AppError: ErrorCode=.
If the value of the ErrorCode parameter is InvalidInstanceId, the network connection is normal but the Cloud Backup client fails to be registered. Perform Step iii.
If the value of the ErrorCode parameter is not InvalidInstanceId, restart the Cloud Backup service. On Linux, you can run the
service hbrclient restart
command to restart the Cloud Backup service.If the exception persists, perform Step ii to check the network status.
If the registration still fails, submit a ticket.
Check the network status of the server.
We recommend that you use the diagnostic tool for Cloud Backup clients to monitor the network. For more information about common network issues, see Common network issues.
Open the network.log file of the client.
If Failed on ping is included in the log file, a network exception has occurred. The exception may be caused by firewall and route configurations. Contact the IT engineer of the network where the server is located and set the Internet endpoint or ECS internal endpoint of the corresponding region. For more information about the endpoint, see What can I do if a client connection exception occurs?
If Failed on ping is not included in the log file, perform Step iv.
Check whether the NIC of the server has been replaced.
Contact the IT engineer of the network where the server is located to check whether the NIC of the server has been replaced.
For the old Cloud Backup client, check whether the server has been cloned.
Contact the IT engineer of the network where the server is located to check whether the server has been cloned.
If the server has been cloned, the Cloud Backup client installed on the server has also been cloned. As a result, the Cloud Backup client on the cloned server fails to be registered.
If the Cloud Backup client on the original server is still in use, uninstall the Cloud Backup client on the cloned server and reinstall the Cloud Backup client.
If the Cloud Backup client on the original server is not in use, perform Step vi to reactivate the Cloud Backup client on the cloned server.
If the server has not been cloned, perform Step v.
Check whether the operating system of the server has been reinstalled.
NoteIf the operating system of the server is reinstalled, the Cloud Backup client is disconnected from the Cloud Backup console. As a result, the status of the Cloud Backup client is displayed as Abnormal in the Cloud Backup console. After you reinstall the Cloud Backup client and register it, another Cloud Backup client with the same name appears.
In this case, stop the new Cloud Backup client first.
In the Cloud Backup console, obtain the reactivation command and token of the old Cloud Backup client. The client can be reactivated only if the client is disconnected for more than 1 hour. If Reactivate is unavailable, wait for a while and try again later.
Run the obtained reactivation command in the corresponding client installation directory on the server.
Wait until the status of the old Cloud Backup client is displayed as Activated in the Cloud Backup console.
In the Cloud Backup console, uninstall the new Cloud Backup client where the exception occurs.
If the exception persists, reactivate the Cloud Backup client.
Log on to the Cloud Backup console.
Select the data source of file backup.
ECS file backup
In the left-side navigation pane, choose
.On-premises file backup
In the left-side navigation pane, choose
.
In the top navigation bar, select a region.
Find the Cloud Backup client that you want to reactivate, and choose in the Actions column.
In the Reactivate Client panel, copy the command. Then, run the command in the client installation directory on the server and wait until the Cloud Backup client is activated.
After the client is activated, the value in the Client Status column changes to Activated.
If the issue persists after you perform the preceding operations, submit a ticket.