04 66 72 51 22

The agent update is requested before a restore, or fails to complete

This page is intended for administrators who see a machine refuse a restore, or the AI Assist, because the agent is out of date. It explains when the BeBackup agent updates itself, why an agent can fall behind, and how to force the update. It applies to BeBackup agent 7.

Symptom

One of the following messages appears:

  • in the agent, when starting a restore: A backup agent update is available (version …). It must be installed before you can restore. Update now?
  • in the web interface, on the machine's record: a banner reading A backup agent update is required;
  • in the web interface, when using AI Assist on the machine: AI Assist requires an up-to-date backup agent (installed version …, available …). The other functions remain available. Use the "Install update" button. Only AI Assist is refused: configuration and restoring from the web interface remain possible;
  • on a Mac, a Linux machine or a Synology NAS, in the backup report, when the update could not be installed: The agent update offered by the server could not be applied: … The backup is continuing with the version currently installed.

Cause

New agent versions are distributed by the BeBackup server. The agent receives its update at the start of a backup: the server compares versions and sends the new one when the machine's version is older. This applies to Windows as well as Mac, Linux and Synology.

An agent that never runs a backup therefore never receives an update this way. That is the case for a machine used only for restoring, or for a profile whose backups fail before they even start.

For a restore, the server requires an up-to-date version. It refuses to restore with an older version, because the result could be incorrect. This refusal is deliberate and cannot be bypassed.

How the update is installed under Windows

Two Windows services work together:

  • BeBackup Backup Agent (technical name bbAgent), the agent's main service;
  • BeBackup Backup Agent Updater (technical name bbAgentUpdater), the update service.

The display name of these services follows the brand under which the agent was supplied to you; the technical names do not change.

The agent receives the new files, saves them, then stops. The update service then replaces the files and restarts the agent service. The agent installs and starts the update service itself if it is missing.

During installation, the backup that delivered the update stops. It resumes on its own once the agent has restarted.

The update service also monitors the agent. If the agent stops responding for a long period, it restarts it.

Checks

  1. Check that both the bbAgent and bbAgentUpdater services exist and are running.
  2. Check that a backup of this machine has run since the server was updated. If no backup has started, the agent has had no opportunity to receive the new version.
  3. Check that an antivirus or security product is not blocking the replacement of files in the agent's installation folder. A locked file prevents the update service from replacing it.
  4. Compare the version shown at the bottom of the agent window with the one stated in the message.

Resolution

From the agent

Start the restore in the agent. When the Update now? prompt appears, answer Yes. The agent downloads the update, installs it and restarts. Then start the restore again.

You can also start a backup: the update is received at the beginning of the backup.

From the web interface

On the machine's record, use the Install update button. The agent downloads and installs the new version, then restarts. Wait until the machine shows as connected again before retrying the action.

The banner and its button only work if remote control is authorised on at least one of the agent's profiles (the Allow agent control via the server web interface option). The machine's Debugging tab also offers Update agent.

On Mac, Linux and Synology

The agent applies the update at the start of each backup. If it fails, the report says so and the backup continues with the installed version.

For a restore, however, automatic updating is not available on these platforms. The server requires the new version and displays:

The server requires an agent update before any restore, and automatic updating is not available on this platform. Install the up-to-date version manually.

Start a backup so that the agent updates itself, or download the installation package for the new version and install it over the old one.

Confirming that the update succeeded

  1. Open the agent and read the version shown at the bottom of the window.
  2. In the web interface, check that the A backup agent update is required banner has disappeared from the machine's record.
  3. Retry the action that had been refused.

If the problem persists

If the agent remains on the old version after a complete backup, contact BeBackup support. Please include:

  • the version shown by the agent and the one stated by the server;
  • the agent service log, bbAgent-service.log;
  • the status of both Windows services, bbAgent and bbAgentUpdater.

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.