Configuring BeBackup Drive, end to end
This guide is intended for the hosting provider or service provider administering the BeBackup server. End users only deal with the agent (section 3).
BeBackup Drive turns a server-side medium into a shared folder: each machine belonging to a Drive user synchronises a local folder with that medium, and every machine in the share sees the same files. The server retains the history (versions, deleted files), encryption remains end-to-end, and the share is purged, verified and replicated just like a backup.
The process, in order:
- check the prerequisites and licences;
- create the share (the BeBackup Drive medium) and its Drive users;
- configure the agent on each machine;
- set the inherited settings relating to Drive;
- configure the share in the BeBackup Drive tab;
- monitor the machines in the Synchronisation tab;
- if something goes wrong, retrieve the agent logs;
- recognise the common error messages.
1. Prerequisites and licences
| Item | What is required | Where to see it |
|---|---|---|
| Server licence | It must include BeBackup Drive: a number of authorised shares. | BeBackup Drive tab of the share: "N share(s) assigned out of M authorised by the server licence". |
| Share BeBackup Drive licence | One per share. Assigned automatically when a machine first connects. | "BeBackup Drive licence for the share" block (section 5.1). |
| Machine licences | Each Drive machine consumes a Workstation or Server licence, shared with the backup of the same machine: a machine that is already backed up consumes nothing extra. | Machine row, "Licence: …" (section 5.3). |
| Provider storage on this server | The provider must have at least one storage area on this server (provider record, "Storage restriction" block). Without it, the first connection of a machine fails. | Provider record. |
| Agent | BeBackup Agent 7.x on each machine. | — |
To assign storage: provider record > Storage restriction > Add a storage area, select the server, then the storage area. Saving displays "Save completed".
Provider with no storage. The agent displays "No storage space is assigned to your provider on this server: ask your provider to assign one."
The machine licence. On its first connection, a machine assigns itself a licence (Server for a Windows Server). The machine row then offers Remove and Associate a licence… (Workstation / Server, with the number of free licences).
The share licence. Before any connection, the block displays "Not yet assigned: it will be assigned when a machine first connects" along with an Assign the Drive licence button. After the first connection: "Assigned" and a Remove the Drive licence button. Removing the licence stops the share and closes its machines' sessions; the data is retained.
2. Creating the share and its users
2.1 Creating the BeBackup Drive medium
The share belongs to a user within a company (the share owner): it is created from that user's record.
- Open the user, then Create a medium > BeBackup Drive.
- The "Create a medium" dialog opens with the type BeBackup Drive (share). Enter the share
Name, then Create.
The warning matters: the data encryption key becomes the share key. Every machine in the share must enter the same key, and the server only keeps a fingerprint of it: it cannot give it back. The first machine to connect sets this key; any machine presenting a different key is refused.
- The server displays "Medium created." and opens the share record. Its type is "**BeBackup Drive
share", and it carries the Medium, Inherited settings, BeBackup Drive, Synchronisation, Restore, Shares** tabs.
The status "Medium files not found" is normal as long as no machine has connected.
Alternative route: converting an existing medium. A medium record carries a "Medium type" list that includes "BeBackup Drive share": "The medium becomes a shared space: the server keeps a process open on it and the Drive users' machines synchronise with it." This is the route for a medium created by a connection test.
2.2 Creating Drive users
A Drive user is not a company user: it is an account attached to the share, which can only synchronise (it cannot back up).
BeBackup Drive tab of the share > Drive users block > Add a user:
| Field | Purpose |
|---|---|
| Login address | The identifier the user will enter in the agent (an e-mail address). |
| First name, Last name | The display name; the machine will be called "<share> - <First name Last name>". |
| Password | The agent password. When editing: "Leave blank to keep it unchanged." |
Save displays "Drive user saved.". The user appears with their Edit and Delete links; their machines will appear by themselves the first time each agent connects with that account.
3. Configuring the agent on each machine
3.1 The Drive profile
On the machine, in the BeBackup Agent, a profile is given:
| Setting | Value |
|---|---|
| Server address | The BeBackup server address. |
| Username | The Drive user's login address (section 2.2). |
| Password | The Drive user's password. |
| Data encryption key | The share key, identical on every machine. |
| Remote control | On: this is the channel through which the BeBackup Drive tab reads and configures the machine (folder, options). A non-administrator user who adds a Drive in the agent gets it automatically. |
Then Test the connection. For a Drive account, the agent replies: "Connection to the server successful. This account is a BeBackup Drive account: it synchronises a shared folder and performs no backup. Backup-specific settings are disabled." The test is mandatory in order to save a modified connection: it is what records in the profile that this is a Drive account.
The same profile can be created and tested from the command line:
bbAgent.exe -CommandLine -CreateProfile -Profile=Drive
bbAgent.exe -CommandLine -SetProfile -Profile=Drive -Set=Hostname=<server>
bbAgent.exe -CommandLine -SetProfile -Profile=Drive -Set=Username=<login address>
bbAgent.exe -CommandLine -SetProfile -Profile=Drive -Set=Password=<password>
bbAgent.exe -CommandLine -SetProfile -Profile=Drive -Set=dKey=<share key>
bbAgent.exe -CommandLine -SetProfile -Profile=Drive -Set=AllowAgentRemoteControl=1
bbAgent.exe -CommandLine -TestConnection -Profile=Drive
The command-line test replies "Connection established." with exit code 0; it does not mention a "Drive account".
On the first successful connection, the server creates the machine under the Drive user ("<share> - <First name Last name>"), associates a Workstation or Server licence with it, and assigns the Drive licence to the share if it did not have one.
3.2 The synchronised folder
It is configured from the web interface, in the BeBackup Drive tab of the share, on the machine row: the Synchronised folder field, then Save. Browse opens the machine's folder tree — the machine must be connected; otherwise the path can be typed in manually and will reach the machine at its next connection.
The agent creates the folder if it does not exist, places a hidden .bbDrive subfolder in it (its state), then synchronises. Changing the folder afterwards requires confirmation: the previous folder is left untouched on the workstation.
Saving the folder also switches on the machine's Drive.
A declared folder that does not synchronise. If nothing synchronises and no error is displayed, check on the machine:
bbAgent.exe -CommandLine -DriveStatus -Profile=<profile>. If it repliesenabled=0, switch the machine's Drive on withbbAgent.exe -CommandLine -DriveSetup -Profile=<profile> -LocalPath=<folder> -Enabled=1 -OnDemand=0.
3.3 Offline or on demand
| Mode | Effect | Where |
|---|---|---|
| Always available offline (default) | All the share's files are present on the workstation. | — |
| Files on demand | The workstation only keeps "placeholders"; a file is downloaded the first time it is opened. Windows only. | BeBackup Drive tab > machine row > Options for this machine > "Allow files on demand"; or the equivalent checkbox in the agent. |
The default mode for an on-demand folder is set in the inherited settings ("Default behaviour", section 4). To be applied to a new folder: files already present remain as they are, and switching the option off leaves the placeholders in place (they have to be opened one by one to retrieve their contents).
Explorer extension. Under Windows, right-clicking a file in the Drive folder brings up a BeBackup Drive submenu: Share with a link, Free up space, Always available offline. The last two only apply to an on-demand folder.
3.4 Multiple machines, other operating systems
- Several machines for the same user: each agent connecting with the same Drive account becomes an
additional machine under that user, with its own licence and its own folder.
- Several users: each with their own account; all their machines see the same share.
- Linux and macOS: non-Windows agents synchronise a folder that is always available offline.
Files on demand, the Explorer extension, VSS snapshots and SFTP access are Windows only.
4. The inherited settings relating to Drive
Settings are configured at four levels — provider, company, user, medium — and each level inherits from the previous one; the Inheritance options button on each row selects between inheriting and setting a value. Values in italics are inherited values.
On the share, the Inherited settings tab is a reduced view: only the settings that are meaningful for a share appear there.
A share's machines, for their part, inherit from the chain of the share owner (their user, their company, their provider): a value set at company level therefore applies to all the machines.
| Setting | What it does | Default value |
|---|---|---|
| Backup history (retention) | How long versions and deleted files remain recoverable (Restore tab). Purging takes place during maintenance. | 3 months (inherited) |
| Advanced retention | Tiered purging, as for a backup. | inherited |
| BeBackup Drive maintenance | A share has no end-of-backup event: its service purges it, verifies it and then replicates it at the times set here. During maintenance, workstations cannot send changes and retry by themselves. "With no setting, maintenance takes place every day at 2 a.m." Options: replicate the history (each version with its date), replication window (default end: 06:00), Run now button. | every day at 2 a.m. |
| Storage options — server rules | The custom host name set for this server in the inherited rule is sent to Drive machines as the connection address: it makes it possible to move a share from one server to another without touching each agent. Without a rule, the agent keeps the address from its profile, which also remains the fallback. Set on the share or higher up. | no rule |
| Replication rules | Which server the maintenance replicates the share to. | inherited |
| Default behaviour (BeBackup Drive block) | What a folder in "files on demand" mode keeps on the workstation when the user has set nothing: Always available offline or Files on demand (frees up space on the computer). Whatever the user has set themselves via the "BeBackup Drive" menu keeps its setting. | Always available offline |
| File sharing by link | Allows public download links (https://<address>/dl/<token>). Off by default. | No |
| Address for share links | Empty = the server address. Otherwise a host name (and a port) that designates this server and is covered by its certificate, failing which the links will not open. | empty |
| Maximum size of a shared file | In bytes, 0 = no limit. | 2,147,483,648 (2 GiB) |
| Total volume of shared files | In bytes, 0 = no limit. | 53,687,091,200 (50 GiB) |
| Maximum lifetime of a link | In days, 0 = no limit. | 30 |
| Links created per IP address per day | 0 = no limit. | 20 |
The default values are those of a new share, inherited with no particular setting. The links created are listed and can be closed in the share's Shares tab.
5. The BeBackup Drive tab
5.1 BeBackup Drive licence for the share
Licence status (Not yet assigned, Assigned, Assigned by another server, Removed by an administrator), the server licence count, and the Assign or Remove the Drive licence button (section 1).
5.2 Default settings for the share
Share folders. A share can carry several named root folders (letters, digits, _ and -, 64 characters maximum); each machine then chooses which ones to mount and where. "As long as there are none, each machine synchronises a single, unnamed folder" — the case described in this guide.
Rates, applying to every machine except those with their own setting:
| Setting | Default | Range |
|---|---|---|
| Full resynchronisation (hour) | 3 | 0 to 23, or -1 for never |
| Watcher interval (seconds) | 15 | 1 to 3600 |
| File stability delay (seconds) | 3 | 1 to 3600 |
| Simultaneous uploads | 5 | 1 to 8 |
| Simultaneous downloads | 5 | 1 to 8 |
Save displays "Default settings saved.". A connected machine picks up the new setting within the minute: its agent restarts its synchronisation.
5.3 Drive users and their machines
For each user: Edit, Delete (deletes the user and all their machines). For each machine:
| Item | Purpose |
|---|---|
| Connected / Offline badge | Whether the machine is reachable right now. |
| Debugging | Opens the machine's debugging page (section 7). |
| Update the agent, All reports, Rename, Delete | Actions on the machine (Delete removes it from the share). |
| Licence | The machine's licence, Remove, Associate a licence… |
| Synchronised folder | Section 3.2. |
| Options for this machine | See below. |
| SFTP access (local network) | Serves the machine's already synchronised Drive folders over SFTP, for devices that only speak SFTP (scanners, copiers, business software): nothing goes through the server. Port 2222 by default, with accounts offering a folder, subfolder, read-only mode, password or public keys. Windows only. |
Options for this machine:
- Also send locked files (VSS snapshot) — off by default. Files open exclusively (Outlook PST,
Access database, etc.) are not synchronised without this option; with it, the agent reads them from a volume snapshot, at the cost of a few seconds of VSS writer freeze on each cycle where such a file has changed.
- Allow files on demand — section 3.3.
- The five rates, each "inherited from the share" until a machine-specific setting is ticked.
Each time a machine setting is saved, "Machine setting saved." is displayed.
6. Monitoring: the Synchronisation tab
- At the top: Machines, Connected, Working, In error. "*The state is re-read every five
seconds from each connected machine.*"
- One card per machine: its state, the Synchronise button ("Synchronisation requested."; the
agent starts a cycle immediately), and one row per folder:
| Column | Meaning |
|---|---|
| Action | What the agent is doing: Idle, Receiving changes, sending, etc. |
| Progress, Upload, Download | Progress and throughput of the current transfer. |
| Files | Number of files in the folder. |
| Sent, Received, Conflicts | Counters. Clicking a number displays the files concerned. |
| Deferred, Abandoned | Files the agent could not process (accessible beneath the row). |
| Last cycle | Date of the last synchronisation cycle. |
A machine error is displayed beneath its row. After a server restart, you may briefly see "The backup session was closed by the server." and "In error 1": the agent reconnects by itself and the error disappears.
Restore. The share's Restore tab makes deleted files and previous versions available: restoring them republishes them, and each machine receives them at its next synchronisation (nothing is downloaded from the screen).
7. Debugging and agent logs
7.1 From the web interface
BeBackup Drive tab > machine row > Debugging (or the machine record > Debugging tab, reserved for administrators).
- The list of agent logs, each with three buttons: copy its contents, download, delete.
- Refresh, Test the connection, Restart the agent, Reset the connection, **Update the
agent, Restart the computer**.
- Debugging settings - Agent: for a detailed log, enter the two lines
DebugMode=ONand*=0,
then Save; clear the field to return to the normal log.
The logs that are useful for Drive:
| Log | Contents |
|---|---|
bbAgent-service-Drive.log | The Drive log: connection, local changes detected, uploads, downloads, conflicts, resynchronisations. |
bbAgent-drive-steps.log | The Drive start-up steps. |
bbAgent-service.log | The agent service (connection, profiles, updates). |
bbAgent-service-arc.log | The remote control channel (the one used by the BeBackup Drive tab). |
bbAgent-console.log, boot.log, bbAgentUpdater.log | The agent interface, start-up, updates. |
7.2 On the machine
- The logs are in the agent installation folder, next to
bbAgent.exe. - The Drive state for a profile, in a single command:
`` bbAgent.exe -CommandLine -DriveStatus -Profile=<profile> ``
It returns, among others, enabled, localPath, connected, files, uploaded, downloaded, conflicts, lastCycle, resyncHour, onDemand, machine, user and lastError.
- The synchronised folder contains a hidden
.bbDrivesubfolder (do not touch it), whosestatus.txt
reproduces this same state.
7.3 What to send to support
bbAgent-service-Drive.log,bbAgent-drive-steps.logandbbAgent-service.logfrom the machine
(downloaded from the Debugging page);
- the output of
-DriveStatus; - the time of the problem, the names of the share and of the machine, and the exact message displayed.
On the server side, the host will find in the server's logs folder the machine's session log and that of the share's process (…@DriveMaster-<share identifier>.log).
8. Common problems and their exact message
| Message (agent) | Cause | Remedy |
|---|---|---|
| "The certificate presented by <address> does not carry this name (certificate names: "…"). The connection has been interrupted. If this server is reached by its IP address or under another name, untick "Verify the server certificate" in the agent's "Additional settings..."." | The agent reaches the server by an IP address or a name that the certificate does not cover. | Reach the server by a name on its certificate, or untick verification. |
| "Incorrect username, password or communication key." | Wrong password for the Drive user (the server log says "the account exists, and the password presented differs"). | Re-enter the password, or redefine it via Edit on the Drive user. |
| "No storage space is assigned to your provider on this server…" | The provider has no storage on this server. | Provider record > Storage restriction (section 1). |
No message, nothing synchronises; -DriveStatus returns enabled=0 | The machine's Drive is switched off. | Section 3.2. |
| "The backup session was closed by the server." in the Synchronisation tab, just after a server restart | The server has restarted. | Nothing: the agent reconnects. |
| "This server's licence does not include BeBackup Drive." (BeBackup Drive tab) | Server licence without Drive. | Have the licence extended. |
| "No BeBackup Drive licence was free: the share has no licence." | All the shares authorised by the licence are taken. | Remove the licence from an unused share or extend the licence. |
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.