Thank you so much
@tom
I've tried that several times.
Thing is that it gets and error and then the VM gets locked up. The VM is running, but the OS obviously is not and I have to stop it manually and restart.
I followed this
https://pve.proxmox.com/wiki/Qemu-guest-agent
I'm wondering. Is this Qemu Agent necessary?
I have two VM Servers running. Windows Server 2019 and Windows Server 2016 Essentials.
The WIndows 2019 was backing up okay using the new PVE PBS Beta version.
On the other hand, the Windows 2016 Essentials kept getting an error.
ERROR: PBS backups are not supported by the running QEMU version. Please make sure you've installed the latest version and the VM has been restarted.
ERROR: Backup of VM 100 failed - PBS backups are not supported by the running QEMU version. Please make sure you've installed the latest version and the VM has been restarted.
I tried reinstalling the Qemu Guest Agent as recommended here.
However, I noticed the Windows Server 2019 isn't even running a Qemu Guest Agent even though it is enabled.
Anyways, I shut it down after reinstalling, I though I would start it with Qemu Agent disabled in Proxmox and then restart it enabled afterwards.
Tried backing up when it was disabled and it seems to be running. Paused the VM and kept going on.
Odd behaviour.
I guess this thread is in the process of being solved since it seems to be working..
I would appreciate your feedback and input though.
Should I use the Qemu Agent if it is working without it?
The qemu-guest-agent is a helper daemon, which is installed in the guest. It is used to exchange information between the host and guest, and to execute command in the guest.
In Proxmox VE, the qemu-guest-agent is used for mainly two things:
- To properly shutdown the guest, instead of relying on ACPI commands or windows policies
- To freeze the guest file system when making a backup (on windows, use the volume shadow copy service VSS).
I'm not sure about the VSS as the one where it was installed showed the service, but it wasn't running.
Is my shutdowns of the VM unsafe right now as it's relying on ACPI Commands or Windows Policies instead of the Qemu Agent?
Thank you so much.
UPDATE: Backup failed withe QEMU Agent Disabled.
I turned off the VM and then turned it on again.
I am running a backup now to remote PBS Server. It did not immediately result in a failure or error so that is a good sign so far...
Although on the Windows Server 2019 VM.
Qemu agent is enabled, but not specifically installed in OS.
In Powershell
Get-Service QEMU-GA returns
Get-Service : Cannot find any service with service name 'QEMU-GA'.
At line:1 char:1
+ Get-Service QEMU-GA
+ ~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : ObjectNotFound: (QEMU-GA:String) [Get-Service], ServiceCommandException
+ FullyQualifiedErrorId : NoServiceFoundForGivenName,Microsoft.PowerShell.Commands.GetServiceCommand