04 66 72 51 22

The web interface displays "Backup agent not connected"

This page is intended for administrators who want to manage a workstation from the BeBackup web interface: selecting the files to back up, browsing a backup, launching a restore. It explains why the web interface reports that the agent is not connected, and how to restore remote control. It applies to the BeBackup 7 agent and the BeBackup 7 server.

Symptom

An action performed from the web interface on a workstation fails with a message beginning with Backup agent not connected.. Depending on the action, the rest of the message varies, for example:

  • Backup agent not connected. Unable to obtain the list of files and folders.
  • Backup agent not connected. Unable to obtain disks and partitions.
  • Backup agent not connected. Unable to start restore browsing.
  • Backup agent not connected. Unable to check the network share.

Yet the workstation's scheduled backups may run perfectly well. This indicates that the backup connection is working, but that the remote control channel is not open.

Cause

Remote control uses a channel separate from the backup. It is the agent that opens this channel towards the server, and it only does so for profiles that explicitly allow it.

On the Windows agent, this permission is disabled by default. Until the box is ticked in at least one profile, the server cannot reach the agent, and the web interface displays Backup agent not connected..

Other possible causes are:

  • the agent service is stopped, or the workstation is switched off;
  • the agent cannot reach the server (network, firewall, proxy, certificate).

Checks

Carry out these checks in order.

  1. On the workstation, open the BeBackup agent, then the settings of the profile concerned.
  2. Check that the Allow agent control from the server web interface box is ticked. If it is not, tick it and save the settings.
  3. Check that the BeBackup Backup Agent Windows service (technical name bbAgent) is started. The displayed name follows the brand under which the agent was supplied to you.
  4. In the agent, use Test connection. The expected message is Successfully connected to the server.. If the test fails, the problem lies with the connection between the agent and the server, not with remote control. Deal with that first.
  5. Return to the web interface and run the action again.

Resolution

Allowing remote control

Tick Allow agent control from the server web interface in the profile, then save. The agent then opens the control channel to the server using the address, account and machine ID of that profile.

If several profiles on the workstation use the same account and the same machine ID, a single channel is opened for all of them. It is enough for one of them to allow remote control.

On the Android phone agent, the Allow remote control option is ticked by default.

An out-of-date agent remains manageable

An agent whose version is older than the one offered by the server remains manageable from the web interface: configuration, browsing and restore all work. Only AI Assist is refused, with this message:

AI Assist requires an up-to-date backup agent (installed version …, available …). All other functions remain available. Use the "Install update" button.

An out-of-date agent is therefore not a cause of the Backup agent not connected. message.

The agent is no longer responding

If the agent is connected but no longer responds to requests, the web interface may display one of these messages:

  • "Agent" request queue full (5 distinct requests pending). The agent has most likely stopped responding.
  • Wait time of … seconds exceeded while executing the "Agent" request.

In this case:

  1. Wait for the job currently running on the workstation to finish, if there is one.
  2. If the agent remains blocked, restart the BeBackup Backup Agent Windows service (bbAgent) on the workstation. Do not do this during a backup: the media would remain locked until the reconnection wait had elapsed.
  3. Run the action again from the web interface.

If the problem persists

If the web interface still displays Backup agent not connected. even though the box is ticked, the service is running and the connection test succeeds, contact BeBackup support. Please include:

  • the workstation name and the profile name;
  • the time of the action that failed in the web interface;
  • the agent service log, bbAgent-service.log.

BeBackup is backup built for IT service providers

Backup and restore of workstations, servers, virtual machines and Microsoft 365, encrypted at source with a key we do not hold, on the hosting of your choice.