All Products
Search
Document Center

Cloud Backup:How do I check the status of an Cloud Backup client?

Last Updated:Sep 21, 2023

If a backup job fails or an Cloud Backup client fails to be upgraded, you can check the status of the Cloud Backup client. This topic describes how to check the status of an Cloud Backup client.

Windows

Windows supports both the old and new Cloud Backup clients. The two versions of Cloud Backup clients have different service names in Windows.

  • The service name of the new Cloud Backup client is Alibaba Cloud Hybrid Backup Service.

  • The service name of the old Cloud Backup client is Aliyun Hybrid Backup Service.

New Cloud Backup client (Alibaba Cloud Hybrid Backup Service)

You can use the following methods to view the status of the Cloud Backup client:

  • View the status of the service.

    1. Run the cmd.exe file to open the Command Prompt.

    2. Run the services.msc command.

      View the status of the local backup service. If the backup service is in the Started state, the Cloud Backup client is running properly.

  • View system logs.

    1. Run the cmd.exe file to open the Command Prompt.

    2. Run the eventvwr command.

      Check the event logs of the system. If you can find error events about the backup service, the Cloud Backup client is not running properly. Otherwise, the Cloud Backup client is running properly.

  • View the logs of the Cloud Backup client.

    For information about how to view logs, see Where do I view the default installation path and logs of an Cloud Backup client?

Old Cloud Backup client (Aliyun Hybrid Backup Service)

You can use the following methods to view the status of the Cloud Backup client:

  • View the status of the service.

    1. Run the cmd.exe file to open the Command Prompt.

    2. Run the services.msc command.

      View the status of the local backup service. If the backup service is in the Started state, the Cloud Backup client is running properly.

  • View system logs.

    1. Run the cmd.exe file to open the Command Prompt.

    2. Run the eventvwr command.

      Check the event logs of the system. If you can find error events about the backup service, the Cloud Backup client is not running properly. Otherwise, the Cloud Backup client is running properly.

  • View the logs of the Cloud Backup client.

    For information about how to view logs, see Where do I view the default installation path and logs of an Cloud Backup client?

If the Cloud Backup client is not running properly, you can right-click the error event on the page for viewing system event logs and select Restart from the shortcut menu to restart the client. If the client still does not run properly, you can uninstall and reinstall the client. If the running exception persists, you can submit a ticket.

Linux

Linux supports both the old and new Cloud Backup clients. The two versions of Cloud Backup clients have different process names in Linux.

  • The process name of the new Cloud Backup client is hbrclient.

  • The process name of the old Cloud Backup client is hybrid.

New Cloud Backup client (hbrclient)

You can use the following methods to view the status of the Cloud Backup client:

  • View the status of the process.

    Run the systemctl status hbrclient, service hbrclient status, or ps axu|grep hbrclient command to check the status of the Cloud Backup client. If the command output contains active or run, the Cloud Backup client is started and running properly.

    Redirecting to /bin/systemctl status hbrclient.service
    ● hbrclient.service - Alibaba Cloud Hybrid Backup Service is used to execute backup/restore job on this machine.
       Loaded: loaded (/etc/systemd/system/hbrclient.service; enabled; vendor preset: enabled)
       Active: active (running) since Tue 2023-02-07 09:29:26 CST; 40min ago
     Main PID: 1727 (hbrclient)
        Tasks: 11 (limit: 5614)
       Memory: 263.4M
       CGroup: /system.slice/hbrclient.service
               └─1727 /opt/alibabacloud/hbrclient/client/hbrclient run
    
    Feb 07 09:29:26 iZbp1******462cZ systemd[1]: Started Alibaba Cloud Hybrid Backup Service is used to execute backup/restore job on this machine.
    Feb 07 09:29:26 iZbp1******462cZ hbrclient[1727]: run called
    Feb 07 09:29:26 iZbp1******462cZ hbrclient[1727]: HBR client 2.11.1 linux/amd64, build v2.11.1-6-g5a8c11fed
  • Check whether the port is enabled properly.

    Run the netstat -lpt | grep hbrclient command to check the port status. If the port is in the LISTEN state, the port is enabled properly.

    tcp6       0      0 [::]:43565              [::]:*                  LISTEN      1727/hbrclient
  • View the logs of the Cloud Backup client.

    For information about how to view logs, see Where do I view the default installation path and logs of an Cloud Backup client?

Old Cloud Backup client (hybrid)

You can use the following methods to view the status of the Cloud Backup client:

  • View the status of the process.

    Run the ps axu|grep hybrid command. If a result is returned, the Cloud Backup client is started and running properly.

  • Check whether port 8011 is enabled properly.

    Run the lsof -i:8011 command to check the port status. If the port is in the LISTEN state, the port is enabled properly. If command not found is returned, you can run yum install lsof or apt install lsof to install lsof and try again.

    COMMAND     PID USER   FD   TYPE   DEVICE SIZE/OFF NODE NAME
    hybridbac 11477 username    5u  IPv6 10625414      0t0  TCP *:8011 (LISTEN)
  • View the logs of the Cloud Backup client.

    For information about how to view logs, see Where do I view the default installation path and logs of an Cloud Backup client?

If the Cloud Backup client is not running properly, you can run the following commands (the commands vary with Linux operating systems) to restart the client:

  • systemctl restart hbrclient restart hbrclient restart

  • systemctl restart hbrclient restart etc restart

  • systemctl restart hbrclient restart init.d restart

If the client still does not run properly, you can uninstall and reinstall the client. If the running exception persists, you can submit a ticket.