Why every VM needs the QEMU guest agent for backups and snapshots
If you run VMs on Proxmox VE and need backups or snapshots that restore cleanly, the QEMU guest agent is the channel that lets the host ask the guest operating system to quiesce its file systems before the copy is taken. Without it, the host can only capture disks as they are at that instant, so a database or other write-heavy workload may have buffered writes and half-finished transactions on disk. That is the case that matters most. The agent is a small service that runs inside the guest, so it has to be installed and enabled by the team that owns the VM, not by the platform team alone. Check each VM's options in the Proxmox VE web interface, confirm the agent option is enabled, and confirm the service is running inside the guest before you rely on a backup schedule.
The agent also reports information back to the host, and the most useful item is the guest's network addresses. With the agent running, the Proxmox VE interface can show IP addresses reported by the guest, which helps when you are locating a VM, checking a migration or working through a network fault. Without it, the host has to rely on configuration it cannot see inside the guest. Your team should decide who installs the agent on each operating system image, whether it is baked into templates or added after provisioning, and how it is verified after an upgrade. Ask your partner or internal team to list which VMs lack the agent today, since those are the guests where a backup may not be application-consistent.
Freeze and thaw behavior depends on the guest's own file systems and services, so test a restore before you trust a backup policy. Pick one representative database VM, take a backup with the agent enabled, restore it to an isolated network, and check that the database starts and passes an application-level read test. Record the guest operating system version, the agent version and the backup mode you used. Behavior for specific releases, including how the freeze option in Proxmox VE 9.2 interacts with older settings, is described in the Proxmox VE roadmap and release history, so confirm it against the version you run.
How a backup freezes and thaws a guest file system
The diagram starts with the backup job on the Proxmox VE host, which asks the QEMU guest agent inside the VM to flush and freeze the guest file system. The backup reads the VM disk only while the file system is frozen, then sends a thaw request so guest writes resume. The guest subgraph marks the trust boundary: host control ends there, and the agent must be installed and running inside it for the freeze to happen. Confirm the exact order of freeze, read and thaw, and any options that skip these steps, against the Proxmox VE documentation for your installed version.
Backup job asks the guest agent to freeze, read and thaw.
Guest agent options and when each one fits
This table compares the agent-related settings a VM can carry and when each one fits. Read each row as a decision about whether the guest file system is frozen during backups, clones, replications and snapshots, and what to verify before changing it. The main takeaway is to enable the agent on most guests, then set freeze behavior deliberately for databases and Windows workloads.
| Setting | When it fits | What it changes and what to confirm |
|---|---|---|
| Agent not enabled | Appliances or legacy guests that cannot run an agent and have no file system quiesce path. | Backups and snapshots take no guest-side freeze, so file system consistency depends on the application. Confirm restore tests for these VMs. |
| Agent enabled with default freeze behavior | Most Linux and Windows guests where the agent service is installed and running. | Freeze and thaw run during backups when the agent responds. Confirm the default in the VM configuration reference for your Proxmox VE version. |
| freeze-fs option (Proxmox VE 9.2) | VMs where you want explicit control over freeze and thaw for each job type. | Controls whether freeze and thaw run during backups, clones, replications and snapshots. Confirm the accepted values in the roadmap before changing production VMs. |
| Older freeze option names kept as aliases | Existing VM configurations created before 9.2 that you upgrade without editing. | Existing settings keep working as aliases after upgrade. Confirm the alias mapping in the configuration reference before rewriting configs in bulk. |
| Freeze on clones and replications | VMs that are cloned or replicated often, such as templates or standby copies. | Enabling freeze here adds freeze and thaw events to clone and replication jobs. Confirm whether your 9.2 setting applies to each job type. |
| Agent enabled with freeze disabled | Databases with their own backup coordination, where IP and OS reporting is still useful. | The agent still reports guest data, but backups skip the file system freeze. Confirm how the application handles consistency without it. |
| Windows guests with VSS | Windows Server workloads such as SQL Server or file servers that depend on Volume Shadow Copy Service writers. | Freeze depends on the agent and the VSS integration in the guest. Confirm that the guest tools are installed and that VSS writers report healthy before relying on the setting. |
How the freeze-fs option in Proxmox VE 9.2 changes backup behavior
Proxmox VE 9.2 adds the guest agent option freeze-fs, which controls whether the freeze and thaw commands run during backups, clones, replications and snapshots. Before you change anything, understand what this means for each VM: when the option is enabled and the QEMU guest agent is running inside the guest, Proxmox VE asks the agent to flush and quiesce the file system before the point-in-time copy is taken, then thaws it afterward. Older option names remain as aliases, so existing configurations should keep their behavior after an upgrade, but you should confirm the alias mapping against the release notes rather than assume it. The freeze-fs setting decides whether a backup is only crash-consistent or also file-system-consistent, and that is the decision you are making per VM.
The trade-off is real and it is not the same for every workload. A frozen file system gives you a cleaner restore point for databases and file servers, but the freeze holds writes for as long as the guest needs to quiesce, and a stuck or slow agent can extend that pause. For a stateless web front end or a build runner, crash-consistent snapshots are usually acceptable and freezing adds risk without much benefit. For a transactional database, a domain controller or a mail store, freezing is usually worth the pause. Decide per VM class, document the choice next to the backup job, and include the write-pause tolerance of each application owner in that decision.
Read the roadmap and release history at the Proxmox VE roadmap to confirm the exact behavior of freeze-fs in the version you run, including which operations it covers. Then test on a non-production VM that has the agent installed: run a backup and a snapshot with the setting on and off, check the guest log for freeze and thaw entries, measure how long writes were paused, and restore the result to confirm it boots and the application starts cleanly. Only after that test should you change the setting across a fleet, and do it in stages by VM class.
Linux and Windows guests: what the agent does during a backup
On a Linux guest, the agent acts as the coordinator for a file system freeze. When Proxmox VE starts a backup or snapshot with the agent enabled, it asks the agent to freeze the mounted file systems so that writes are paused and buffers are flushed to disk. The backup then reads a consistent image, and the agent thaws the file systems afterward. This only works when the agent is installed in the guest, the service is running, and the guest can respond within the timeout. If the agent is missing or stopped, Proxmox VE cannot freeze the file systems, so the backup falls back to a crash-consistent state.
- Agent package: Install the package for your distribution (commonly named
qemu-guest-agent) and confirm it matches the guest's init system. - Service state: Check that the
qemu-guest-agentservice is enabled and running, since a stopped service silently removes freeze support. - Agent option: Enable the agent in the VM options so Proxmox VE knows to contact the guest before backups and snapshots.
- Application consistency: A file system freeze does not flush application-level transactions, so databases still need their own dump or quiesce hooks.
- Guest logs: Review the guest journal after a test backup to confirm that freeze and thaw ran without timeouts.
Before relying on this, confirm the supported Linux distributions and agent versions with the vendor and verify freeze and thaw in your own test backups.
On a Windows guest, the agent works alongside Volume Shadow Copy Service (VSS). When a backup starts, the agent asks VSS to create a shadow copy of the volumes, which gives a point-in-time view that applications can flush into. The agent therefore depends on VSS writers in the guest, such as those for SQL Server or Active Directory, not just on the agent service itself. The guest tools installer places the agent and the VirtIO drivers that the agent uses, so the installer is part of the setup, not an optional extra.
- Guest tools installer: Run the installer from the VirtIO driver media during setup so the agent service and drivers are present from the first boot.
- Agent service: Confirm the QEMU guest agent service is running and set to start automatically.
- VSS writer health: Run
vssadmin list writersin an elevated prompt and confirm each writer reports a stable state with no errors. - Application writers: Check that database and directory writers are installed and not in a failed state, because a failed writer can turn a shadow copy into a crash-consistent backup.
- Event logs: Review the Application and System logs after a test backup for VSS errors.
Before relying on this, confirm the supported Windows guest versions with the vendor and verify VSS behavior with restores from your own test backups.
Both platforms need the same proof: a backup that reports success is not the same as a backup that is consistent. The checks below are the ones that show whether the agent really took part. Run them after a fresh build, after guest OS updates and after any change to the agent or drivers. Record the results so that the evidence exists when an auditor or a restore team asks for it.
- Test backup: Run a backup with the agent enabled and read the task log for freeze and thaw messages.
- Forced failure: Stop the agent in a test VM, run a backup, and confirm the log shows the fallback behavior you expect.
- Restore test: Restore to an isolated network and check that files and applications open cleanly.
- Timeout review: Look for freeze timeouts on busy guests, which usually point to slow I/O or a stalled writer.
- Change control: Re-run these checks after guest updates, agent upgrades and Proxmox VE upgrades.
When results differ between guests, compare the agent version, the service state and the guest log first.
Setting up the QEMU guest agent in each VM
This sequence installs and enables the QEMU guest agent in each VM so Proxmox VE can freeze and thaw the file system during backups and snapshots, and report guest network details back to the host. Each step ends with a check, so you know the agent is working before you rely on it.
Confirm the guest OS and agent package
The VM owner or the platform team lists each guest, its operating system and version, and the agent package that matches it. On Linux, the usual package is named qemu-guest-agent, installed through the distribution's package manager. On Windows, the agent comes with the VirtIO guest tools installer. Check the Proxmox VE documentation for the current guest requirements, and confirm the guest is on a supported release before you start. Done means you have a written list of guests with their OS, version and package source.
Install the agent inside the guest
An administrator with root or local administrator rights installs the agent in the guest operating system. On Debian and Ubuntu guests, run the package manager to install qemu-guest-agent, then start the service with systemctl. On Windows guests, run the VirtIO guest tools installer and confirm the QEMU Guest Agent service is present and running. Check the service state inside the guest before moving on: on Linux, run systemctl status qemu-guest-agent and confirm it reports active.
Enable the agent option on the VM
In the Proxmox VE web interface, open the VM, go to the Options tab, and edit the QEMU Guest Agent setting to enable it. The same setting is stored in the VM configuration as the agent key. Enabling it only tells Proxmox VE to expect the agent. It does not install anything in the guest. Confirm the option shows as enabled in the Options tab, and check the VM's configuration file on the host if your change process requires a record.
Restart the VM to apply the setting
Restart the guest so the virtual hardware change takes effect and the agent starts with the VM. A reboot is the safest choice for the first setup. Plan the restart in a maintenance window if the guest serves production traffic, and confirm the application owner agrees. After the guest is back, confirm the service still runs inside the guest. If the agent does not start on boot, enable it so it starts automatically.
Verify the agent responds from the host
From the Proxmox VE host, query the guest through the agent. In the web interface, open the VM and check the Summary panel for the guest IP addresses, which only appear when the agent responds. For a command line check, use the qm guest command family as described in the Proxmox VE documentation, such as a ping or network information request against the VM ID. Done means the host returns the agent's response and lists the guest's interfaces. If it does not, return to the guest and check the service and the VM option.
Run a test backup and read the task log
Start a backup of the VM with the backup mode that uses snapshots, then open the backup task log in the Proxmox VE web interface. Look for the file system freeze and thaw steps reported for the guest. If the log shows the freeze step, the agent handled the request. If the log shows the agent is not available, or the guest reports an error, fix the agent setup before relying on the backup. Confirm the backup completes and record the task log for your change file.
Test a restore before you trust the setup
Restore the test backup to a separate VM ID or storage location so production data is not overwritten. Start the restored guest, check that the operating system boots, that the application data opens, and that the file system is clean. Remove the restored test VM after the check, using the process your team uses for test resources. The sequence is complete when a restore has been tested and the result is documented. Ask your backup owner which restore checks they require before signing off.
What goes wrong when VMs run without the agent or with it misconfigured
Most guest agent problems show up only when a backup or snapshot runs, and by then the schedule has already produced files that look successful. The cards below describe four patterns operators meet, the symptom each one produces, the likely cause and the check that confirms it. Treat every described behavior as a hypothesis to confirm with restore tests in your own environment.
Backups that cannot freeze without the agent
The job reports a crash-consistent backup instead of a freeze. The task log shows no freeze step, or the VM is backed up while still running with no guest-side quiesce. The likely cause is that the guest agent is not installed, not running, or not enabled in the VM options, so Proxmox VE has no channel into the guest. Check that the VM options enable the agent, then confirm the guest service responds from the host before the next scheduled run. Restore a sample VM from that backup and verify that databases start cleanly.
Proxmox VE roadmapFreeze that times out on a busy database
The backup stalls at the freeze step and then fails or continues without quiescing. The operator sees a timeout in the task log on a database host under heavy write load. The likely cause is that the guest cannot complete the file system freeze in time because pending I/O or long-running transactions hold it up. Review the guest's I/O load during the backup window, check whether the freeze timeout is hit in the log, and test whether moving the job out of peak hours changes the result. Validate any change with a restore test, since a successful freeze alone does not prove database consistency.
Windows VSS writer failures
The Windows guest logs VSS errors while the backup still reports success. Event logs show a shadow copy writer in a failed or timed-out state, and application data may not be quiesced. The likely cause is that the QEMU guest agent or VirtIO guest tools are missing or outdated, or that a writer such as a SQL or Exchange service is unhealthy. Run the VSS status check inside the guest (vssadmin list writers), confirm every writer reports a stable state, and compare the result with the backup log entry for the same time.
Snapshots that restore with inconsistent application data
The snapshot looks complete, but the restored application starts with stale or mismatched data. Files restore, yet the database, queue or search index reports corruption or needs recovery. The likely cause is that the freeze did not run or ran without quiescing the application, so the snapshot captured a point where data files and logs disagree. Check the snapshot or backup log for a freeze and thaw pair, then run a restore into an isolated network and verify application integrity before trusting the schedule. Do not assume a clean file system state means a consistent application state.
Agent installed but IP reporting missing
The VM summary shows no IP address and automation that depends on it fails. Monitoring, DNS registration or scripts that read the address from the agent receive nothing. The likely cause is that the agent is installed but its service is stopped, blocked by guest firewall rules, or not enabled as a VM option. Confirm the agent answers from the host, check the guest service state, and verify that the address appears in the VM summary after a reboot. Test this on a non-production VM first, because changes to agent settings can affect backup behavior too.
Agent-based IP reporting and what it does not replace
The guest agent also lets Proxmox VE display the network addresses a guest reports about itself, which is useful when operators need to find a VM by address in the web interface or when automation needs an address without a separate lookup. The information comes from inside the guest, so it reflects the interfaces and addresses the operating system knows about. Before relying on it, confirm which addresses your runbooks, scripts and inventory jobs actually read, and whether they read them from the Proxmox VE API or from another source. Treat the reported addresses as a convenience for finding a VM, not as a verified record of where the workload is reachable, because a guest can carry several addresses, stale leases or addresses on interfaces that are not in use.
The agent does not replace monitoring, firewalling or an inventory system. It reports what the guest chooses to expose, so a guest with a broken agent, a disabled service or an unusual network configuration can show incomplete or missing data. Host-side firewall rules, network segmentation and access policy still have to be designed and checked separately, and a monitoring system still has to tell you whether the service behind an address is healthy. An inventory or CMDB should be fed from an authoritative source that your organization has chosen, with the agent data as one input rather than the record itself. Ask your team to document which system owns each fact: VM identity, addresses, ownership and service status.
Security and operational considerations for the guest agent
The guest agent improves backup consistency, but it also adds a privileged component that sits inside every VM. The cards below cover what to patch, how to protect the host-guest channel, how freeze timing affects applications, and what to keep as evidence.
Treat the agent as privileged software
The QEMU guest agent runs inside the guest with enough access to freeze and thaw file systems and report network details to the host. Include it in the same patch cycle as the operating system and kernel, and confirm that your image templates and cloud-init baselines install it from a maintained package source. An agent left at an old version can outlast the hypervisor change that was supposed to fix it, so inventory agent versions across guests, not only hosts.
Proxmox VE roadmapProtect the host-guest channel
The virtual serial channel between the Proxmox VE host and the guest carries commands and status, so it belongs inside the VM trust boundary. Anyone with root in the guest can issue agent commands that the host acts on, and anyone with administrative rights on the host can reach every guest's agent. Confirm which administrators can change the agent option, which guests have it enabled, and whether your guest-side hardening restricts who can read or write the agent service.
Measure freeze timeouts against application needs
Freezing a file system pauses writes while the snapshot is taken, and a slow application quiesce can hold that pause longer than expected. Databases and line-of-business services with strict write latency may see errors or timeouts during the backup window. Test the freeze on representative guests, time the backup jobs, and confirm with application owners how long write interruptions are acceptable. Where freezing cannot be made safe, decide per guest whether to disable it.
Align agent versions with the release
The agent and the hypervisor exchange commands, so mismatched versions can produce unexpected behavior after an upgrade. Plan agent updates alongside each Proxmox VE upgrade and any Proxmox VE 9.2 option changes, and check release notes for the guest agent options you rely on. Record which agent version each guest runs at the time of a host upgrade, so a failed backup can be traced to a specific combination.
Release historyKeep backup task logs as evidence
Backup task logs show whether freeze and thaw ran, whether the file system was consistent, and whether a job fell back to a crash-consistent copy. Retain these logs with the job configuration and the agent settings in force at the time, so auditors and incident responders can see what was protected. Confirm with your compliance team how long logs must be kept and where they are stored, since logs on the same host as the backups may not survive the event they document.
How much effort does a QEMU guest agent rollout take and what does it need from us?
What does a QEMU guest agent rollout cost and what drives the price?
The agent itself is free and open source, so the cost is labor: someone installs the package or driver in each guest, enables the agent option in Proxmox VE, and checks that freeze and thaw work. Effort rises with the number of guests, the mix of Linux and Windows, how many guests run database or application-level backup hooks, and how many change windows you need. Ask any partner for a fixed-scope quote that lists the guest count by operating system, the guests that need application-consistent handling, the verification method, and whether the work is one-time or includes recurring checks after upgrades.
How long does a guest agent rollout take across a whole fleet?
The pace is set by change control and guest access more than by the install itself. Each guest needs a restart or a service check, so the schedule depends on how many maintenance windows your application owners will approve and how many guests share a host or cluster. Group guests by operating system and business owner, pilot a few representative VMs first, then roll out in waves. Ask for a timeline that shows pilot, waves, verification and a closeout, with the window count stated explicitly rather than a single end date.
What do we need to give the internal team before a rollout starts?
The work needs a short list of access and decisions from your side:
- Administrative access to each guest, or the owners who can run installs on Linux and Windows
- Access to the Proxmox VE API or web interface with rights to change VM options
- Approved change windows per application and a named owner to accept each guest
- A list of guests with databases or applications that need quiescing before snapshots
- A decision on which guests are excluded, such as appliances that cannot run an agent
Missing any of these turns into idle time, so confirm them before the quote is signed.
Can our own team roll out the QEMU guest agent without a partner?
Yes, for a small environment with Linux guests and a team that already runs Proxmox VE. The install and the VM option are simple, and the official documentation covers both. A partner adds value when the fleet is large, mixes Windows and Linux with application-consistent backup needs, or when you need the change plan, verification evidence and written handover in a form auditors or risk teams can read. Decide based on your guest count, your team's time, and whether you need documented evidence that backups are consistent.
How do we verify that backups and snapshots are consistent after the rollout?
Verification means proving that freeze and thaw run during backup jobs, and that restored guests boot and their applications start cleanly. Check the backup task log for freeze and thaw messages, test restores of representative Windows and Linux guests, and confirm that database guests recover to a consistent state. Use the freeze-fs option in Proxmox VE 9.2 if you need to control whether freeze and thaw run during backups, clones, replications and snapshots, and record the setting per VM. Ask for the test plan, the restore sample size and the evidence format in the quote.
Does a Proxmox VE subscription or repository change the rollout work?
The guest agent rollout itself does not depend on the subscription tier, because all tiers include the same software features. The subscription changes which repository hosts send updates from and what support entitlements you hold. Production clusters are generally expected to use the enterprise repository with a valid key, while the no-subscription repository suits testing. Confirm which repository each host uses before the pilot, and ask whether the quote covers testing agent updates on the repository your production hosts use.
What should we ask for in a rollout quote?
Ask for a written scope that names the hypervisor version, the guest counts by operating system, the list of guests needing application-consistent handling, the change-window plan, the verification method and sample size, the handover documents, and what happens if a guest fails the pilot. Ask which items are one-time and which recur, such as checks after a Proxmox VE upgrade or a new guest template. A quote that cannot name these items is not yet comparable with another.
Limits to confirm in your environment before you rely on freeze
The agent's freeze and thaw behavior depends on the Proxmox VE release, the guest OS, the storage under each disk and the backup mode in use. The cards below list the limits to confirm, and where to confirm each one, before a backup schedule or snapshot policy counts on application-consistent results.
Agent and guest OS support
Confirm which guest operating systems and QEMU guest agent versions your Proxmox VE release supports, and which guests in your estate can run the agent at all. Older Linux distributions and some Windows builds may need a different agent package or a vendor-supplied tool set. Check the administration guide for the agent section, then test one guest of each operating system you run. Record the exact agent version in your build template so you can trace a failed freeze to a specific package.
Administration guideStorage and backup modes that apply freeze
Freeze only matters for the storage and backup paths that actually call the agent. Confirm, for each storage type behind your VMs, whether the backup job uses a snapshot mode that quiesces the guest file system or a mode that reads the disk without quiescing. A VM on a storage path without the agent running, or a job set to suspend mode, will not get the same consistency as a snapshot-mode job. Write this matrix down and check it against the backup job settings.
The freeze-fs option on clones and replications
Proxmox VE 9.2 adds the freeze-fs guest agent option, which controls whether freeze and thaw commands run during backups, clones, replications and snapshots. Confirm the behavior in your installed version, because clones and replications may not behave like backups. Keep older option names in mind, since the release keeps them as aliases. Test each operation type on a non-production VM and read the task log to see whether freeze ran.
Proxmox VE roadmapFreeze duration on busy workloads
A freeze holds file system writes while the snapshot is taken, so a database or file server under heavy write load can see a pause. Confirm with the application owner how long a freeze can last before timeouts affect the application, and whether your backup window overlaps peak load. Run a freeze under realistic load in your own lab and measure the pause. Set the schedule and any application-level quiesce hooks from that measurement, not from a default.
Behavior on stopped or unresponsive guests
The agent cannot freeze a guest that is powered off, paused, or running without a responsive agent service. Confirm what your backup job does in each case: whether it fails, skips the freeze and continues, or records a crash-consistent copy. Those outcomes carry different recovery expectations. Test a stopped guest, a guest with the agent disabled, and a guest with the agent service stopped, then check the job log and restore one of them.
Windows VSS and vendor guest tools
On Windows guests, the agent's freeze has to coordinate with the Volume Shadow Copy Service so application writers such as SQL Server or Exchange flush their state. Confirm with the Windows and application vendors which VSS writers you depend on, and whether the guest tools installed in your template provide the agent and VSS integration you expect. Verify with a test restore of a database VM in your lab before you call the backups application-consistent.
How DeployOpen scopes and delivers guest agent and backup consistency work
DeployOpen plans, implements and documents QEMU guest agent configuration on Proxmox VE clusters in infrastructure you control. The work starts from your backup and snapshot requirements, then tests freeze and thaw behavior on representative guests before the settings reach production.
How we scope
- Inventory which guests run the agent, which Linux and Windows versions they use, and which ones cannot be frozen safely
- Agree in writing which backup modes, snapshot workflows and replication jobs must produce application-consistent results
- Define the freeze-fs behavior expected for 9.2 clusters and the alias handling for earlier option names on existing nodes
How we build
- Install and configure the agent and the VirtIO guest tools on test VMs, then confirm the agent responds from the Proxmox VE interface
- Test file system freeze and thaw during a backup, a snapshot and a clone, and record timing and any failed freezes
- Set the agent option per VM through a documented template, and check Windows VSS writers before enabling freeze on database and mail guests
How we hand over
- Deliver a configuration record listing each guest, its agent status, its freeze setting and the owner who approved it
- Provide restore test results that show a consistent recovery point for each guest class, with the steps used to produce them
- Train your operations staff on checking agent health, reading backup logs and handling a guest that refuses to freeze
How we support
- Engagements are fixed-scope, with scope, deliverables and timelines agreed in writing before work starts
- Ongoing support, upgrades and retesting after Proxmox VE version changes are available as a retainer
- Quotes follow from the written scope, so ask for the guest count, OS mix and backup modes to be listed in the scope

