04 66 72 51 22

Backing up with BeBackup SmartImage®: physical machines, Hyper-V and Proxmox VE

This guide describes the SmartImage backup of a physical Windows machine, a Hyper-V virtual machine and a Proxmox VE virtual machine. It is intended for the technician or hosting provider who configures the backups — not for installing the server or the agent, which are covered by separate documents. Block names, button names and messages are quoted exactly as the interface and the reports display them.


1. What SmartImage is, and what it brings

SmartImage backs up an entire disk — physical or virtual — by reading the NTFS file system of its partitions directly:

  • NTFS partitions are backed up file by file: every file can be restored on its own, without

restoring the disk;

  • the rest of the disk is imaged: partition table, boot partition (EFI or “System Reserved”),

recovery partition, and any partition that is not NTFS;

  • together, this makes it possible to rebuild the entire disk — and therefore to boot the

machine again — from the very same backup.

Conventional image (sector by sector)SmartImage
Restoring a single fileNoYes
Restoring the entire diskYesYes
Subsequent backupsThe whole disk is read againOnly modified files are read again (USN journal, changed block tracking) and only their modified parts are sent
DeduplicationBy disk blockBy file, including across backup sets
Backup sizeSize of the diskUsed space, as shown by Explorer

What is automatically excluded: the page file (pagefile.sys), the hibernation file (hiberfil.sys), swapfile.sys and shadow copy areas. They are of no value at restore time, and Windows recreates them.

Requirements: the partition must be NTFS and readable. An encrypted partition (locked BitLocker), a ReFS partition or a Linux file system is imaged: it is still backed up and restorable, but not file by file, and without the benefit of incremental processing. For a Linux machine, imaging is in fact the recommended mode (see § 6).


2. What you need to know before you start

2.1 Common prerequisites

AgentBeBackup agent, on the machine to be backed up (physical machine) or on the host (Hyper-V, Proxmox VE).
RightsThe agent runs as a service (system account on Windows, root on Linux): no credentials are required to read local disks.
Remote controlTo configure from the web interface, the agent profile must allow remote control (the agent’s “Allow remote control” checkbox). Without it, the blocks on the Agent configuration page appear empty — “No file or folder defined”, “No disk, partition or system selected” — even though the selection does exist on the agent.
LicenceOne agent licence on the server (see § 2.2).

2.2 Which licence is consumed

CaseBackup set createdLicence
Physical machineOne backup set per machine (the agent profile)That of the machine: workstation or server, depending on its version of Windows.
Hyper-V, host profile with a SmartImage rule for virtual disks (§ 5.1)The host’s backup setThat of the host: the virtual disks are files belonging to the host.
Hyper-V or Proxmox VE as a virtual machine group (§ 5.2 and § 6)One backup set per ticked machineOne virtual machine licence per backup set. Several machines gathered in a single backup set cost only one licence, but are backed up one after the other.

The group screen shows the count before saving — for example “1 backup set(s), therefore 1 virtual machine licence(s).” — and refuses to save if licences are missing (“N virtual machine licence(s) missing…”). Unticking a machine in the group deletes nothing: its backup set, its backups and its licence are kept; the licence is released manually from the Computers tab.

2.3 First backup and subsequent backups

The first backup reads every file on the NTFS partitions and sends everything that is not already on the server. The report says so for each partition:

“USN journal unusable for ‘Partition 4’ – no previous restart point (first backup of this volume). All files on the volume are read again for this backup (significantly longer, but with no consequence on the backed-up content).”

This is not an error: it is the normal message for a first backup.

Subsequent backups only read what has changed, in two complementary ways:

  • the Windows USN journal (the list of modified files maintained by NTFS):

“USN journal used for ‘E:’ – incremental analysis (2 files whose journal recorded a write since start-up, read again as a precaution).”;

  • changed block tracking (CBT) on the hypervisor, for a Proxmox VE virtual machine: it catches

the files whose change is seen neither by the date nor by the journal, and takes over when the journal is missing.

On a brand new data disk, Windows has often not yet created a USN journal. The report reports this at every backup:

“USN journal unusable for ‘E:’ – the volume carries no USN journal (common on a brand new data disk, a virtual disk for instance). All files on the volume are read again for this backup […]”

Only the modified parts are sent, but the whole volume is read again locally, which lengthens the backup of a large volume. On a physical machine or a Hyper-V VM, create the journal once and for all, as an administrator on the machine:

fsutil usn createjournal m=33554432 a=4194304 E:

The next backup sets its restart point, and the following ones use the journal (“USN journal used for ‘E:’” from the second backup after creation). On a Proxmox VE VM this is not necessary: changed block tracking takes over (§ 6.4).


3. Where the selection is made

The selection is made on the agent (its console) or in the web interface, on the Backup set › Agent configuration page, which writes into the agent profile. The relevant blocks:

Block on the web pageUsed to
Disks, partitions and system — “SELECT DISKS AND PARTITIONS” buttonPhysical machine: choose a disk, partitions, or “the system”; BeBackup SmartImage® or Image mode.
Virtual disk contents — BeBackup SmartImage® — “ADD A RULE” buttonHyper-V from the host: read in SmartImage mode the .vhdx/.vhd files the backup encounters.
Virtual machines to back up (backup set of type “Virtual machine group”)Hyper-V and Proxmox VE: one machine per backup set, with its own licence and its own history.
SchedulesThe timing. For a group, it is the master that carries the schedule.

4. Physical Windows machine

4.1 Configuring

  1. Agent configuration page of the machine’s backup set, Disks, partitions and system

block, SELECT DISKS AND PARTITIONS button.

  1. Choose:
    • the system (“Back up the system (Windows and its boot files)” on the agent console): the

agent works out for itself which disk and partitions are involved — the Windows partition file by file, the partition table, then the boot and recovery partitions as an image;

    • an entire disk: all its partitions, NTFS in SmartImage, the rest as an image;
    • a single partition.
  1. BeBackup SmartImage® mode (on the agent console: “SmartImage / file by file

(recommended)”). Image mode (“Raw image”) copies the whole disk sector by sector.

  1. Add a schedule.

The block then shows “Disk 1 — BeBackup SmartImage®”. Folders can be added in the other blocks of the same profile.

Open files are read from a VSS snapshot: this is the default setting (“Open files: Backed up with VSS” in the report).

4.2 Checking

The report lists what has been backed up, partition by partition:

  • “Image of disk 1 – E:”: the files on the NTFS partition;
  • “Image of disk 1 – partition 1 (sector by sector)”: a partition that was imaged;
  • “… (boot sector)” and “… – partition table”: what makes it possible to rebuild the disk.

Measured on a test bench (3 GB data disk, 337 files, 232 MB): first backup in 22 s; second, after modifying 10 files, creating one and deleting another, in 12 s, 1.3 MB transferred.

4.3 Restoring

  • A file or a folder: just as with a file backup, from the backup set’s Restore tab or the

agent console; you choose the backup date. The files of a SmartImage partition are found under the disk entry, then the partition entry.

  • The entire disk (image restore): to a disk of the same size or larger, or to a .vhdx

virtual disk — refer to the restore guide.


5. Hyper-V virtual machine

Two approaches, with an agent installed on the Hyper-V host:

SmartImage rule for virtual disks (§ 5.1)Virtual machine group (§ 5.2)
Backup setThe host’sOne per machine
LicenceThe host’sOne virtual machine licence per backup set
Running machineThe .vhdx is read from the host’s VSS snapshotCheckpoint on the machine

5.1 From the host profile: the “Virtual disk contents” rule

  1. In Local folders and files, add the machine’s folder (for example

D:\Hyper-V\Server\).

  1. In Virtual disk contents — BeBackup SmartImage®, click ADD A RULE: a file, a folder or

a mask (D:\Hyper-V\*.vhdx). The “Check what this mask matches” button lists the disks found on the host. The “Enable SmartImage for all eligible virtual disk files (.vhd, .vhdx)” switch saves you from writing rules.

The rule does not determine what is backed up: it changes the way the virtual disks that the backup encounters are read. The machine’s folder must therefore be among the sources — otherwise the screen warns you: “No source is defined in this profile: these rules will never encounter a virtual disk […]”.

What is taken as a single block: differencing disks (.avhd, .avhdx, those of checkpoints), and any disk that is unreadable, encrypted or without NTFS — which is only known at backup time.

Measured on a test bench (stopped Windows VM, 5.9 GB .vhdx): first backup in 8 min, 67,160 files, 8.5 GB read for 3.5 GB stored; second in 44 s, 3 MB transferred, thanks to the virtual disk’s USN journal (“USN journal used for ‘Partition 4’”).

The report for this case shows a line “Virtual disk D:\Hyper-V\Server.vhdx”.

5.2 As a virtual machine group

  1. On the Backup set tab of the host’s backup set, Backup set type: “Virtual machine

group”. This backup set will no longer back up anything itself.

  1. Agent configuration page, Virtual machines to back up block: hypervisor Hyper-V,

host left empty if the agent runs on the host, then REFRESH THE MACHINE LIST.

  1. Tick the machines. Mode per machine or per disk: Difference analysis (recommended) opens the

virtual disk so as to read and transfer only what has changed; Entire disk copies the disk. A disk without a Windows file system (Linux machine) is sent in full again, and the report says so.

  1. Number of machines backed up simultaneously: 2 is the prudent choice under Hyper-V (several

simultaneous VSS snapshots on the same host are problematic).

  1. SAVE, then a schedule on the master.

5.3 Restoring

  • A file: from the backup set, under the virtual disk entry then its partition.
  • The whole machine: the virtual disk is rebuilt as a .vhdx, and the agent can create the

Hyper-V machine that carries it — refer to the restore guide.


6. Proxmox VE virtual machine

6.1 Principle and prerequisites

AgentBeBackup Linux agent, installed on the Proxmox VE node (.deb package), as root. No SSH access or credentials are required. On a cluster, install the agent on every node and attach it to the same group: a machine running on another node is skipped by this agent and backed up by the agent of its own node.
ConsistencyWith the QEMU guest agent (qemu-guest-agent) inside the machine, the snapshot is frozen — on Windows, by VSS: “Virtual machine "w2016-pve": snapshot frozen by the QEMU guest agent (the machine's file systems are consistent).”
StorageLVM-thin, ZFS, Ceph (RBD), qcow2; thick LVM and RAW on directory through a dedicated method.
LicenceOne virtual machine licence per backup set in the group.

The Linux agent writes its messages in the language of the node: on a node installed in English, the backup log lines are in English.

6.2 Configuring

  1. Once the agent is installed on the node and its backup set has appeared, go to the **Backup

set tab, Backup set type**: “Virtual machine group”.

  1. Agent configuration page, Virtual machines to back up block: hypervisor Proxmox VE

(“The agent is installed on a Proxmox VE node and runs there as root: it sees the whole cluster, no credentials are required.”), then REFRESH THE MACHINE LIST.

  1. Tick the machines. A Proxmox template cannot be backed up.
  2. Mode, one per machine: SmartImage (recommended for Windows) — single-file restore,

deduplication; for Linux, imaging is recommended, as its partitions are imaged in any case.

  1. SAVE, then a schedule on the master. “Start nothing more after” sets a time beyond which

the remaining machines are no longer started.

6.3 Checking

The report groups the whole machine under “Proxmox virtual machine: <name>”. The backup log states, disk by disk, how the changes were found.

Measured on a test bench (Windows Server 2016 running, two disks, 16.6 GB of files): first backup in 6 min 47 s, 120,499 files, 6.5 GB stored; second in 49 s, 13 MB transferred — USN journal on the system disk, changed block tracking on the data disk (58,900 files out of 59,005 not read again).

6.4 Changed block tracking

The agent places a QEMU changed block bitmap on every disk. It complements the USN journal and replaces it when the journal is missing:

“USN journal unusable for "Partition 2" - the volume has no USN journal […]. Changed block tracking (CBT) takes over: only the files whose content actually changed on the disk are read again, and the duration stays that of an incremental backup.”

The bitmap is lost when the machine reboots or migrates (on LVM-thin; it persists on qcow2). The next backup then reads the whole disk again and the report gives the reason — “block tracking lost: machine rebooted or migrated”, “machine stopped”, “first tracked backup”. This is not an error.

6.5 Restoring

  • A file: under the machine entry, then the disk, then the partition.
  • The whole machine: the Proxmox VE restore wizard in the web interface creates **a new

machine** by default — refer to the restore guide.


7. Common problems

What you readWhat it meansWhat to do
“USN journal unusable for ‘X’ – no previous restart point (first backup of this volume).”First backup of the volume.Nothing.
“USN journal unusable for ‘X’ – the volume carries no USN journal (common on a brand new data disk, a virtual disk for instance).” at every backupThe volume has no journal: everything is read again locally every time.Physical machine or Hyper-V: create the journal (§ 2.3). Proxmox VE: changed block tracking takes over.
“… – the journal has been recreated since the last backup (restore, chkdsk or journal purge)” or “… – the restart point has fallen outside the window kept by the journal (backups too far apart or very busy volume)”A single backup reads everything again, then incremental processing resumes.If it happens often: run backups closer together, or enlarge the journal (fsutil usn createjournal with a larger m=).
Blocks on the Agent configuration page empty, or “Backup agent not connected.”Remote control is not allowed on the profile, or the agent cannot be reached.Allow remote control on the agent; check that the service is running.
“No item to back up” / “No item to back up is defined in the configuration.”The selection contains nothing usable.Review the selection; for a virtual disk rule, also add the folder that contains them (§ 5.1).
Virtual disk backed up “in full” instead of SmartImageDifferencing disk, encrypted, without NTFS or unreadable.Normal for an .avhdx; for the others, the report gives the reason.
Proxmox VM read again in full, reason “block tracking lost: machine rebooted or migrated”The QEMU bitmap does not survive a reboot on LVM-thin.Nothing: the next backup becomes incremental again.

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.