Mac and Linux: the report states that the backup is performed “HOT”
This page is intended for administrators backing up macOS or Linux workstations who see a "hot" backup warning in the report. It explains what this means, in which cases the agent cannot take a snapshot, and how to enable it. It applies to the BeBackup 7 agent for macOS and for Linux.
Symptom
The report contains one of these lines:
No snapshot could be taken for "…" (…). The backup continues HOT: files modified while it runs may be captured in an inconsistent state.
This platform cannot take snapshots: the backup is running HOT. Files modified while it runs may be captured in an inconsistent state.
No snapshot can be taken on this installation: the agent is not running with the required privileges… (Linux)
HOT backup: pre-backup snapshot is not enabled for this profile… (Synology)
The backup has not failed. Only the first line, No snapshot could be taken…, is a warning and is taken into account in the report's verdict. The other three are purely informational: a backup may therefore appear successful even though it was run hot. Read the information lines in the report.
Cause
To back up files that are in use in a consistent state, the agent first takes a snapshot of the volume. A snapshot is a frozen image of the volume at a given point in time. The agent then reads the files from that snapshot rather than from the volume, which keeps changing. It is the macOS and Linux equivalent of VSS (Volume Shadow Copy Service) on Windows.
When a snapshot is not possible, the agent does not abandon the backup. It backs the files up directly from the live volume: this is a "hot" backup. A file modified while it is being read, such as an open database, may then be saved in an inconsistent state.
The exact reason appears in brackets in the first message.
On macOS
The agent uses APFS (Apple File System) local snapshots. Two causes prevent a snapshot:
- The volume is not APFS. The message contains:
Volume "…" is not APFS: it cannot take snapshots. Backups of it will run hot… - Full Disk Access has not been granted to the agent. Without this permission, backups work, but without snapshots. No installer can grant this permission on your behalf: macOS forbids it. Only a configuration profile deployed by an MDM (Mobile Device Management) solution can do so.
On Linux
The agent can take a snapshot on two types of volume:
- a btrfs subvolume;
- an LVM (Logical Volume Manager) logical volume.
The most common causes of failure:
- The agent is not running as root. Without the required privileges, the agent does not attempt any snapshot and reports this with
No snapshot can be taken on this installation: the agent is not running with the required privileges…. - The volume is neither btrfs nor LVM, for example a plain ext4 partition. The message contains:
Volume "…" does not support snapshots: neither btrfs nor an LVM logical volume (…). - The btrfs source is not the root of a subvolume. A btrfs snapshot applies to an entire subvolume: the source must be the root of a subvolume. A
bind-mounted folder is rejected. - The LVM volume group has no free space left. An LVM snapshot requires unallocated space in the volume group. The message contains:
Volume group "…" does not have enough free space for a snapshot. - Snapshot creation failed. The message contains
lvcreate failed:orbtrfs subvolume snapshot failed:, followed by the output of the system command.
On Synology
A snapshot is only taken if the Snapshot before backup option is enabled for the profile. Otherwise, the report shows HOT backup: pre-backup snapshot is not enabled for this profile….
The "Disable VSS" option
On macOS and Linux, the option that disables VSS (Disable VSS in the web interface) also disables snapshots. In this case, no line reports it in the report: the backup runs hot with no message. If none of the messages above appears when you were expecting a snapshot, check that this option is unticked.
Other systems
On a platform where the agent cannot take snapshots, the report shows the second message. It appears only once per backup, and only if the backup covers at least one local volume.
Resolution
Granting Full Disk Access on macOS
- Open
System Settings, thenPrivacy & Security, thenFull Disk Access. - If
bbAgentMacis already in the list, switch it on. - Otherwise, click
+, then pressCmd + Shift + G. Enter/Library/Application Support/BeBackupAgent, then selectbbAgentMac. - Restart the Mac, or wait for the next backup. The permission is only evaluated when the program starts.
Enabling snapshots on Synology
Enable the profile's Snapshot before backup option, then run a backup.
Making a Linux volume compatible
- If the volume is an LVM logical volume, free up space in its volume group. For example, shrink another logical volume or add a disk to the group.
- Run the agent as root.
- For btrfs, choose the root of a subvolume as the source, not a
bind-mounted folder. - If the volume is neither btrfs nor LVM, the backup will remain hot. For data that changes during the backup, such as a database, stop the application or export its data before the backup.
Checking that it worked
Run a new backup and open its report. The hot backup message should no longer appear for that volume.
If the problem persists
If the warning returns even though the volume is APFS and Full Disk Access has been granted, or the volume is btrfs or LVM with free space available, contact BeBackup support. Attach the backup report and the agent 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.