Updated on 2023-06-02 GMT+08:00

Uninstalling the Agent

Scenarios

Uninstall the Agent from a backup client if file backup is no longer needed.

Uninstalling the Agent from Linux

  1. Log in to the server whose Agent needs to be uninstalled and run su - root to switch to user root.
  2. In the /opt/huaweicloud/cbragent/bin directory, run the following command to uninstall the Agent. If information similar to Figure 1 is displayed, the Agent has been uninstalled.

    sh agent_uninstall.sh
    Figure 1 Agent uninstalled from Linux

Uninstalling the Agent from Windows

  1. Log in to the server whose Agent needs to be uninstalled.
  2. Go to the bin directory in the installation path and double-click agent_uninstall.bat. Enter y to uninstall the Agent.

    If information similar to Figure 2 is displayed, the Agent has been uninstalled.

    Figure 2 Agent uninstalled from Windows