Hyper-V image backup - write error

Hi,

I have a problem with hyper-v backup using the dedicated UrBackup client.

Hyper-v UrBackup client can’t take a production VM snapshot. I can take a snapshot manually from Hyper-v machine manager and from powershell.

log ends with:
2025-03-18 13:20:57: ERROR: Error creating Hyper-V snapshot of ReverseProxy. Output: ProcessWMIJob : The operation to create a checkpoint of “ReverseProxy” item failed. The machine ID of the
irtual: 8314481B-AE40-482D-AB61-791D4224ACEB.
Unable to create productive control points for the “ReverseProxy” item. Virtual machine ID: 831
4481B-AE40-482D-AB61-791D4224ACEB.
At C:Program Files\UrBackup\hyperv_snapshot.ps1:152 char:13

  • ($job | ProcessWMIJob -WmiClass $Msvm_VirtualSystemSnapshotServic …
  •   + CategoryInfo : NotSpecified: (:) [Write-Error], WriteErrorException
      + FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,ProcessWMIJob
    

The operation to create a checkpoint of the “ReverseProxy” element fails. VM ID: 83144
81B-AE40-482D-AB61-791D4224ACEB.
Unable to create productive control points for “ReverseProxy” element. Virtual machine ID: 831
4481B-AE40-482D-AB61-791D4224ACEB.
At C:Program Files\UrBackup\hyperv_snapshot.ps1:32 char:14

  • Throw $Job.ErrorDescription
  •   + CategoryInfo : OperationStopped: (Operation create...1-791D4224ACEB.:String) [], RuntimeException
      + FullyQualifiedErrorId : Operation to create checkpoint of element “ReverseProxy” failed. Identifi 
     virtual machine identifier: 8314481B-AE40-482D-AB61-791D4224ACEB.
      Unable to create productive control points for the “ReverseProxy” item. Virtual machine ID. 
     : 8314481B-AE40-482D-AB61-791D4224ACEB.
    
    

besides this I also have such errors in the log:
“2025-03-18 13:20:56: FileSrv: Received a Packet.
2025-03-18 13:20:56: Received flush.
2025-03-18 13:20:57: VM list: FreeScout|Nextcloud|ReverseProxy|Windows Server 2019
2025-03-18 13:20:57: FileSRV received 96
2025-03-18 13:20:57: FileSrv: Received data…
2025-03-18 13:20:57: FileSrv: Received a Packet.
2025-03-18 13:20:57: FileSrv: Sending file (normal) urbackup/mbr_data_ReverseProxy–SCSI_0_0.zip metadata_id=0
2025-03-18 13:20:57: FileSrv: Mapped name: C:³³³³ Program Files³³ urbackup/mbr_data_ReverseProxy–SCSI_0_.0.zip
The specified file cannot be found. (code: 2)”

The server and the client are running on the same computer - a VM host based on Windows 11 Pro. The backup files are saved to the NAS via SMB, so the UrBackup server process is run by an dedicated urbackup user with administrator rights (according to the system documentation).

Hyper-v system logs do not contain any error code or description, there is only a message that the creation of a production snapshot was not possible without a reason.

I’ve tried restarting services and checking the local user’s rights at the file system level to write but can’t find a solution, especially since the logs don’t point to a specific cause. The only thing I have in the logs are write errors, but I can’t check what those errors are coming from.

The only related thing I can find is HYPERV clients issues and questions - #3 by matth . What kind of operating system is in the VM?

You could test the hyper-v snapshot script by running it manually with something like

cd C:\Program files\UrBackup
.\hyperv_snapshot.ps1 ReverseProxy

Result:

"ProcessWMIJob : The operation to create a checkpoint of the “ReverseProxy” element failed. The machine ID in the
irtual: 8314481B-AE40-482D-AB61-791D4224ACEB.
Unable to create production checkpoints for the “ReverseProxy” component. Virtual machine ID: 831
4481B-AE40-482D-AB61-791D4224ACEB.
At C:Program Files\UrBackup\hyperv_snapshot.ps1:152 char:13

  • ($job | ProcessWMIJob -WmiClass $Msvm_VirtualSystemSnapshotServic …
  •   + CategoryInfo : NotSpecified: (:) [Write-Error], WriteErrorException
      + FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,ProcessWMIJob
    
    

The operation to create a checkpoint of the “ReverseProxy” element failed. Virtual machine ID: 83144
81B-AE40-482D-AB61-791D4224ACEB.
Unable to create production checkpoints for “ReverseProxy” element. Virtual machine ID: 831
4481B-AE40-482D-AB61-791D4224ACEB.
At C:Program Files\UrBackup\hyperv_snapshot.ps1:32 char:14

  • Throw $Job.ErrorDescription
  •   + CategoryInfo : OperationStopped: (Operation create...1-791D4224ACEB.:String) [], RuntimeException
      + FullyQualifiedErrorId : The operation to create a checkpoint of the “ReverseProxy” element failed. VM ID: 8314481B-AE40-482D-AB61-791D4224ACEB.
      Unable to create production checkpoints for “ReverseProxy” element. Virtual machine ID.
     : 8314481B-AE40-482D-AB61-791D4224ACEB."
    
    

Unfortunately, there is no description of the error. The script return is completely generic.

The issue has become even more complicated. I have 4 virtual machines on this VM host. On one of them the backup since yesterday works correctly on the other 3 there are exactly the errors as above. All VMs exist on the same hard drive in separate directories with the same access permissions. They are all run by the same user and are on the same version of Hyper-V. 3 VM-s are Ubuntu 24.04 LTS one is WIndows Server 2019, only the Nextcloud machine based on Ubuntu 24.04 is backing up correctly. The Windows Server-based machine also sends data to the storage but its copy is not performed fully and the backup ends with an error:

“Errors
20.03.25 01:29
Request of image backup failed. Reason: Opening filesystem on device failed. Stopping.
Errors
20.03.25 01:29
Backup failed”

I can do manual production snapshots on every VM without any issues.

I uninstalled the server and client. I cleaned up the configuration files and started from scratch.

At the moment I have a problem that did not occur before:

01.04.25 08:36 INFO Starting scheduled full image backup of volume “SCSI:0:0”…
01.04.25 08:36 INFO Loading ZIP metadata from urbackup/mbr_data_Windows Server 2019–SCSI_0_0.zip
01.04.25 08:36 INFO R740[Windows Server 2019]: Loading MBR zip file…

The location “C:Program Files\UrBackup\UrBackup\data” does not contain mbr_data_Windows Server 2019–SCSI_0_0.zip file. After installing everything from scratch, UrBackup does not create MBR.zip in this location. The error occurs for each virtual machine.

Debug.log:

2025-04-01 08:24:42: FileSRV received 114
2025-04-01 08:24:42: FileSrv: Received data…
2025-04-01 08:24:42: FileSrv: Received a Packet.
2025-04-01 08:24:42: FileSrv: Sending file (normal) urbackup/mbr_data_Nextcloud–SCSI_0_0.zip metadata_id=0
2025-04-01 08:24:42: FileSrv: Mapped name: C:\Program Files\UrBackup\urbackup\data\mbr_data_Nextcloud–SCSI_0_0.zip
2025-04-01 08:24:42: FileSrv: Could not open file \?\C:\Program Files\UrBackup\urbackup\data\mbr_data_Nextcloud–SCSI_0_0.zip. Nie można odnaleźć określonego pliku. (code: 2)
2025-04-01 08:24:42: FileSrv: Received a Packet.
2025-04-01 08:24:42: Received flush.
2025-04-01 08:24:42: FileSRV received 118
2025-04-01 08:24:42: FileSrv: Received data…
2025-04-01 08:24:42: FileSrv: Received a Packet.
2025-04-01 08:24:42: FileSrv: Sending file (normal) urbackup/mbr_data_Nextcloud–SCSI_0_0.zip.err metadata_id=0
2025-04-01 08:24:42: FileSrv: Mapped name: C:\Program Files\UrBackup\urbackup\data\mbr_data_Nextcloud–SCSI_0_0.zip.err
2025-04-01 08:24:42: FileSrv: Could not open file \?\C:\Program Files\UrBackup\urbackup\data\mbr_data_Nextcloud–SCSI_0_0.zip.err. Nie można odnaleźć określonego pliku. (code: 2)
2025-04-01 08:24:42: FileSrv: Received a Packet.
2025-04-01 08:24:42: Received flush.
2025-04-01 08:24:42: ClientService cmd: STATUS#pw=KAFjkgRKOfGN9WM7fT1KVBS9UVOxr8
2025-04-01 08:24:47: ClientService cmd: #I7Q01Atzl96tRfWci05pl#2PING RUNNING pc_done=0&status_id=1&speed_bpms=0&total_bytes=-1&done_bytes=0&paused_fb=1#token=wszMXmeyz6yq0MOJ1QCR2

I can execute this script: cd C:\Program files\UrBackup
.\hyperv_snapshot.ps1 ReverseProxy without any issues.

I checked the admin documentation, the hyper-v client documentation and all the threads on this forum. Unfortunately, I did not find any solution.

Windows Hyper-V logs are empty.