Where to find the agent and server logs
This page explains where BeBackup's logs are located, on the workstation and on the server, and which ones to send to support. It is intended for administrators troubleshooting a backup that crashes, a restore that fails or an agent that no longer connects. It covers the BeBackup 7 agent for Windows and the BeBackup 7 server.
What you will achieve
By the end of this page, you will know how to:
- read the agent log on the workstation, or retrieve it remotely;
- locate the log for a specific job on the server;
- choose which files to attach to a support request.
Log or report: two different things
The backup report is the document intended for the user. It states whether the backup succeeded, and lists files in error along with any warnings. Check it first.
Logs are technical files. They describe, step by step, what the agent and the server did. They are useful when the report is not enough to understand a failure, or when no report was produced at all.
The agent log
On the workstation
Under Windows, the agent service writes its log to the file bbAgent-service.log. This file is located in the agent's installation folder, alongside bbAgent.exe.
It is the most useful file for understanding:
- why the agent failed to connect;
- why a scheduled backup did not start;
- why a restore launched from the command line did nothing.
Error lines are flagged [Erreur]. When a restore command fails to progress, the agent itself prompts you to look for these lines, just after the launch.
Remotely, from the web interface
If you are a BeBackup server administrator, you can retrieve an agent's logs without logging on to the workstation:
- In the web interface, open the relevant media.
- Open the
Debuggingtab. - The list displays the agent's log files along with their size.
- For each file, you can download it, copy its contents to the clipboard, or purge it. The
Download all logsbutton retrieves them all in one go.
The agent must be connected, and agent control from the web interface must be authorised. This permission is set in the agent, via the Allow agent control through the server's web interface checkbox. If the agent returns no files, the page displays No log file found.
Purging a log file deletes it permanently. Download it first if you need it.
Server logs
The BeBackup server writes its logs to the logs folder within its installation folder. There are two families of files.
The main log
Files whose name ends with @MainServer.log describe the server's general activity: startup, connections, scheduled tasks, alerts. The server opens a new file each time it starts, prefixed with a process identifier: a single file may therefore span several days. Related files, such as @MainServer-sendMail.log for email sending or @MainServer-websrv.log for the web interface, isolate specific topics.
One log per job
Each backup, restore or verification writes its own file. Its name ends with the media identifier, in the form …@<media identifier>.log. The media identifier is shown in the web interface.
To find the log for a job:
- Note the media identifier and the time of the job.
- In the
logsfolder, filter files whose name contains that identifier. - Open the one whose lines cover the time of the job.
Do not rely on the file's modification date to determine which job is the most recent. A file may be modified long after its job has finished. Instead, read the timestamp of the last line written.
A session whose connection fails before the media is identified does not yet have a media identifier: it writes to a <character string>.log file, with no @. This is often the case for an agent that no longer connects. In that case, look among these files for the one whose lines cover the time of the failure.
From the web interface
The Logs menu in the web interface displays the server logs, with a search function. The dashboard also opens the log for a given media. For an administrator, a computer's record offers Show last log.
Archiving
Older logs are grouped each month into archives, in the logs.archive folder, next to the logs folder. By default, a log is archived after 3 months. This period cannot be set below 2 months.
What to send to BeBackup support
For a support request, please attach:
- The report for the backup or restore concerned.
- The workstation's
bbAgent-service.logfile. - If you administer the server, the log for the job concerned and the
…@MainServer.logfile whose lines cover the time of the incident. - The exact time of the incident and the name of the media.
Also state the exact error message, copied from the agent or the report.
Checking that you have the right file
The correct log contains timestamped lines covering the time of the incident. If the file stops before that time, look for a more recent file for the same media.
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.