UrBackup Client 2.2.9-hyperv beta


#1

@uroni Hi,

I try setup Hyper-V Client on Microsoft Hyper-V Server 2016, but it always crashed.
All updates is installed. UrBackup Server 2.3.5 beta on Ubuntu Server 18.04

2018-11-21 16:14:28: Loaded -fileserv- plugin
2018-11-21 16:14:28: Loaded -fsimageplugin- plugin
2018-11-21 16:14:28: Loaded -cryptoplugin- plugin
2018-11-21 16:14:29: SQLite: recovered 34 frames from WAL file C:\Program Files\UrBackup\urbackup\backup_client.db-wal code: 283
2018-11-21 16:14:29: urbackupserver: Server started up successfully!
2018-11-21 16:14:29: FileSrv: Backup privileges set successfully
2018-11-21 16:14:29: FileSrv: Backup privileges set successfully (SE_SECURITY_NAME)
2018-11-21 16:14:29: FileSrv: Backup privileges set successfully (SE_RESTORE_NAME)
2018-11-21 16:14:29: FileSrv: Server started up successfully
2018-11-21 16:14:29: Started UrBackupClient Backend…
2018-11-21 16:14:29: Filesystem. Vol="\?\Volume{3bb12f5b-695f-40d4-9479-4c5e3ce70326}" Name="" Type=“ntfs” VPaths=1 Size=20378021888
2018-11-21 16:14:29: Filesystem is System partition. Skipping…
2018-11-21 16:14:29: Filesystem. Vol="\?\Volume{d54f07db-e927-464d-8c41-ea7b98a44e1b}" Name="" Type=“ntfs” VPaths=1 Size=116465332224
2018-11-21 16:14:29: GPT formated hard disk encountered. No bootable flag. Attributes = 0
2018-11-21 16:14:29: Bootable flag not set for volume
2018-11-21 16:14:29: Filesystem. Vol="\?\Volume{a7d8aa29-4306-447e-89b6-1c751c29b7db}" Name=“recovery” Type=“ntfs” VPaths=0 Size=471855104
2018-11-21 16:14:29: GPT formated hard disk encountered. No bootable flag. Attributes = -9223372036854775807
2018-11-21 16:14:29: Do not automount is set
2018-11-21 16:14:29: System partition is set
2018-11-21 16:14:29: Bootable flag set for volume
2018-11-21 16:14:29: Found potential candidate: \?\Volume{a7d8aa29-4306-447e-89b6-1c751c29b7db}\ Score: 3
2018-11-21 16:14:29: Selected volume \?\Volume{a7d8aa29-4306-447e-89b6-1c751c29b7db}
2018-11-21 16:14:29: System dir: C:\Windows
2018-11-21 16:14:29: Volpath: \.\C:
2018-11-21 16:14:29: EFI partition with type UUID {DE94BBA4-06D1-4D40-A16A-BFD50179D6AC}
2018-11-21 16:14:29: EFI partition with type UUID {C12A7328-F81F-11D2-BA4B-00A0C93EC93B}
2018-11-21 16:14:29: EFI System Partition is at \?\GLOBALROOT\Device\Harddisk0\Partition2
2018-11-21 16:14:30: Looking for old Sessions… 0 sessions
2018-11-21 16:14:31: Trying to connect to internet server “bs1.ulug.pw” at port 55415
2018-11-21 16:14:31: Successfully connected.
2018-11-21 16:23:16: Started connection to SERVICE_COMMANDS
2018-11-21 16:23:16: ClientService cmd: #ICWK9SrgnEv2mqY9eOkAf#ADD IDENTITY
2018-11-21 16:23:16: rc=0 hasError=true state=0
2018-11-21 16:23:16: SERVICE_COMMANDS finished
2018-11-21 16:23:16: Started connection to SERVICE_COMMANDS
2018-11-21 16:23:16: ClientService cmd: #ICWK9SrgnEv2mqY9eOkAf#GET CHALLENGE
2018-11-21 16:23:16: rc=0 hasError=true state=0
2018-11-21 16:23:16: SERVICE_COMMANDS finished
2018-11-21 16:23:16: Started connection to SERVICE_COMMANDS
2018-11-21 16:23:16: ClientService cmd: #ICWK9SrgnEv2mqY9eOkAf#SIGNATURE#pubkey=MIIBtjCCASsGByqGSM44BAEwggEeAoGBALQXd9cPJHDMxz3GbMlWHzwNVz1AohO2C9dKwWpFYnCln/GvNmnbm4HiWeilXjdkfTj5N8hEtwNqYDwMIVfl3ykvQmqHfgwVHqjmDNfpq2y4pz2VwRTvMCP5Mh96rifqUYVfOcqrhvYeLODNoGlhyY1saNl/xTBdVEMPgKK23VavAhUA4ZaIbaHepKUxRU/Qu9/xDg494OECgYAF7+61WfYvC7eSS4rXilO+rROF+2c20E8j3ZDMRTmE/JPRTwvbd4hlWy27B8K6LdYkow+CuKacLn6uizJv5TodWeDL7g6f1Ky827+kGew9ikRwhCBjHDo0+HgMgHX9U+t951s381XMleGn52aQsbpOjuzsNLd8uJg2Le9BICoxXgOBhAACgYBHbEuedyAhPmZYQsFGIsSDT6J37nyaJxnIpb5LS6rLfs+hz33hGR58zodn7voY8rrehGt6gu/uollgf98kYkhZ6uULYEn1mnfIh4aUgJlP41ienhVArPUj8mWKaqn1eU9IhKIejifglbRflSHZQrJs7kBWtGSqH7I2vssHciEgKw–&pubkey_ecdsa409k1=MH4wEAYHKoZIzj0CAQYFK4EEACQDagAEAGyWBas6I+WTXkXsxS566P+5kHQFmyiSOU35YS6EdhKrf/JlqBSLwHN0SrVfQZdvNZXaOAFdAPp3fUJxAH3j163n+eKmc5oBRjrwA6AAvbqLNSxF/65NTtv/T3JbGGNsbHVuBzfPVnk-&signature=EYoE2kRahouiZhSvmhV+L4ahbesm5DeX4awc88M3JHN+UeFNiDcJhw–&signature_ecdsa409k1=IpAUn5vKQbTMcP1Xpj5DZBkmI43KqtOaEbpO3UQTU8V5C3f1PKFNGXMcr8bHmdsJ5rIVHP72YF4Dl6o9HOBOQCUl25DtUL6e0xYZsUrw3agdOuLw9+7ND5KAn97h2K7JYm208nLp&session_identity=bbHSXB3RmjoF6gOyJD3m
2018-11-21 16:23:17: rc=0 hasError=true state=0
2018-11-21 16:23:17: SERVICE_COMMANDS finished
2018-11-21 16:23:17: Started connection to SERVICE_COMMANDS
2018-11-21 16:23:17: ClientService cmd: #IbbHSXB3RmjoF6gOyJD3m#CAPA
2018-11-21 16:23:27: Started connection to SERVICE_COMMANDS
2018-11-21 16:23:27: ClientService cmd: #IbbHSXB3RmjoF6gOyJD3m#CAPA
2018-11-21 16:23:29: ERROR: Program abort (SIGABRT)
2018-11-21 16:23:29: ERROR: Fatal exception code 0 at address 0x00007FFCF2A24048
2018-11-21 16:23:35: ERROR: Fatal exception (APPLICATION CRASHED). Crash dump written to “C:\Windows\TEMP\UrBackup\v2.0.0-20181121-162329-3932-2640.dmp”


#2

and virtual machines not appeared in list as vitrual clients


#3

Sorry for the problems and thanks for trying. Could you send the file above?


#4

@uroni Initial size of dump is 584 Mb. I try compress by 7-zip, but can’t upload 20 Mb 7z archive to post. Show error.


#5

Could you upload it somewhere else (perhaps encrypted) and send me the link?


#7

Thanks!


#8

I think a work-around might be to have more than one VM on the Hyper-V server


#9

@uroni Workaround with 2 VMs worked fine.

After start image backup i have error:

2018-11-22 11:58:07: Started connection to SERVICE_COMMANDS
2018-11-22 11:58:07: ClientService cmd: #Iw5ZsMvPRh92ajQwa2mTI#VERSION 207
2018-11-22 11:58:07: rc=0 hasError=true state=0
2018-11-22 11:58:07: SERVICE_COMMANDS finished
2018-11-22 11:58:07: Started connection to SERVICE_COMMANDS
2018-11-22 11:58:07: ClientService cmd: #IafUByCgKpzRImncYT3T8#VERSION 207
2018-11-22 11:58:07: rc=0 hasError=true state=0
2018-11-22 11:58:07: SERVICE_COMMANDS finished
2018-11-22 11:58:10: FileSrv: Backup privileges set successfully
2018-11-22 11:58:10: FileSrv: Backup privileges set successfully (SE_SECURITY_NAME)
2018-11-22 11:58:10: FileSrv: Backup privileges set successfully (SE_RESTORE_NAME)
2018-11-22 11:58:10: FileSrv: Server started up successfully
2018-11-22 11:58:10: Final path: D:\VM!!!
2018-11-22 11:58:10: Final path: D:\VM!!!
2018-11-22 11:58:10: Final path: D:\VM!!!
2018-11-22 11:58:10: SERVICE_COMMANDS finished
2018-11-22 11:58:20: FileSrv: Backup privileges set successfully
2018-11-22 11:58:20: FileSrv: Backup privileges set successfully (SE_SECURITY_NAME)
2018-11-22 11:58:20: FileSrv: Backup privileges set successfully (SE_RESTORE_NAME)
2018-11-22 11:58:20: FileSrv: Server started up successfully
2018-11-22 11:58:20: Final path: D:\VM!!!
2018-11-22 11:58:20: Final path: D:\VM!!!
2018-11-22 11:58:20: Final path: D:\VM!!!
2018-11-22 11:58:36: ClientService cmd: PONG
2018-11-22 11:58:36: rc=0 hasError=true state=3
2018-11-22 11:58:36: SERVICE_COMMANDS finished
2018-11-22 11:58:36: Started connection to SERVICE_COMMANDS
2018-11-22 11:58:36: ClientService cmd: #IxniUkQ9reYNpZTv62XJB#1CHANNEL capa=4096&token=GknRFxKAZRXF4OJ6JwEJ&restore_version=1&virtual_client=
2018-11-22 11:58:36: New channel: Number of Channels: 3
2018-11-22 11:59:07: ClientService cmd: PONG
2018-11-22 11:59:07: ClientService cmd: PONG
2018-11-22 11:59:25: Started connection to SERVICE_COMMANDS
2018-11-22 11:59:25: ClientService cmd: #Iw5ZsMvPRh92ajQwa2mTI#CAPA clientsubname=Ubuntu1
2018-11-22 11:59:26: rc=0 hasError=true state=0
2018-11-22 11:59:26: SERVICE_COMMANDS finished
2018-11-22 11:59:26: Started connection to SERVICE_COMMANDS
2018-11-22 11:59:26: ClientService cmd: #Iw5ZsMvPRh92ajQwa2mTI#2PING RUNNING pc_done=0&status_id=1&speed_bpms=0&total_bytes=-1&done_bytes=0&paused_fb=1#token=GknRFxKAZRXF4OJ6JwEJ1
2018-11-22 11:59:26: Started connection to SERVICE_COMMANDS
2018-11-22 11:59:26: ClientService cmd: #Iw5ZsMvPRh92ajQwa2mTI#MBR driveletter=SCSI_0_0&clientsubname=Ubuntu1&disk_path=SCSI:0:0&image_full=1&running_jobs=0&token=GknRFxKAZRXF4OJ6JwEJ1
2018-11-22 11:59:26: Script “C:\Program Files\UrBackup\preimagebackup.bat” does not exist
2018-11-22 11:59:26: rc=0 hasError=true state=0
2018-11-22 11:59:26: SERVICE_COMMANDS finished
2018-11-22 11:59:26: Creating shadowcopy of “hyperv://Ubuntu1/SCSI:0:0”…
2018-11-22 11:59:27: Started connection to SERVICE_FILESRV
2018-11-22 11:59:27: FileSrv: Received data…
2018-11-22 11:59:27: FileSrv: Received a Packet.
2018-11-22 11:59:27: FileSrv: Sending file (normal) urbackup/mbr_data_Ubuntu1–SCSI_0_0.zip metadata_id=0
2018-11-22 11:59:27: FileSrv: Mapped name: C:\Program Files\UrBackup\urbackup\data\mbr_data_Ubuntu1–SCSI_0_0.zip
2018-11-22 11:59:27: FileSrv: Could not open file \?\C:\Program Files\UrBackup\urbackup\data\mbr_data_Ubuntu1–SCSI_0_0.zip. The system cannot find the file specified. (code: 2)
2018-11-22 11:59:27: FileSrv: Received data…
2018-11-22 11:59:27: FileSrv: Received a Packet.
2018-11-22 11:59:27: Received flush.
2018-11-22 11:59:28: FileSrv: Received data…
2018-11-22 11:59:28: FileSrv: Received a Packet.
2018-11-22 11:59:28: FileSrv: Sending file (normal) urbackup/mbr_data_Ubuntu1–SCSI_0_0.zip metadata_id=0
2018-11-22 11:59:28: FileSrv: Mapped name: C:\Program Files\UrBackup\urbackup\data\mbr_data_Ubuntu1–SCSI_0_0.zip
2018-11-22 11:59:28: FileSrv: Could not open file \?\C:\Program Files\UrBackup\urbackup\data\mbr_data_Ubuntu1–SCSI_0_0.zip. The system cannot find the file specified. (code: 2)
2018-11-22 11:59:28: FileSrv: Received data…
2018-11-22 11:59:28: FileSrv: Received a Packet.
2018-11-22 11:59:28: Received flush.
2018-11-22 11:59:29: FileSrv: Received data…
2018-11-22 11:59:29: FileSrv: Received a Packet.
2018-11-22 11:59:29: FileSrv: Sending file (normal) urbackup/mbr_data_Ubuntu1–SCSI_0_0.zip metadata_id=0
2018-11-22 11:59:29: FileSrv: Mapped name: C:\Program Files\UrBackup\urbackup\data\mbr_data_Ubuntu1–SCSI_0_0.zip
2018-11-22 11:59:29: FileSrv: Could not open file \?\C:\Program Files\UrBackup\urbackup\data\mbr_data_Ubuntu1–SCSI_0_0.zip. The system cannot find the file specified. (code: 2)
2018-11-22 11:59:29: FileSrv: Received data…
2018-11-22 11:59:29: FileSrv: Received a Packet.
2018-11-22 11:59:29: Received flush.
2018-11-22 11:59:30: FileSrv: Received data…
2018-11-22 11:59:31: FileSrv: Received a Packet.
2018-11-22 11:59:31: FileSrv: Sending file (normal) urbackup/mbr_data_Ubuntu1–SCSI_0_0.zip metadata_id=0
2018-11-22 11:59:32: FileSrv: Mapped name: C:\Program Files\UrBackup\urbackup\data\mbr_data_Ubuntu1–SCSI_0_0.zip
2018-11-22 11:59:32: FileSrv: Could not open file \?\C:\Program Files\UrBackup\urbackup\data\mbr_data_Ubuntu1–SCSI_0_0.zip. The system cannot find the file specified. (code: 2)
2018-11-22 11:59:33: FileSrv: Received data…
2018-11-22 11:59:33: FileSrv: Received a Packet.
2018-11-22 11:59:33: Received flush.
2018-11-22 11:59:33: ERROR: Error creating Hyper-V snapshot of Ubuntu1. Output: ProcessWMIJob : Checkpoint operation for ‘Ubuntu1’ failed. (Virtual machine ID
9DBEBCFE-20E9-4A0F-8BA8-DA1DDE99F14D)
Production checkpoints cannot be created for ‘Ubuntu1’. (Virtual machine ID
9DBEBCFE-20E9-4A0F-8BA8-DA1DDE99F14D)
At C:\Program Files\UrBackup\hyperv_snapshot.ps1:151 char:13

  • ($job | ProcessWMIJob -WmiClass $Msvm_VirtualSystemSnapshotServic ...
    
  •         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    
    • CategoryInfo : NotSpecified: (:slight_smile: [Write-Error], WriteErrorExcep
      tion
    • FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorExceptio
      n,ProcessWMIJob

Checkpoint operation for ‘Ubuntu1’ failed. (Virtual machine ID
9DBEBCFE-20E9-4A0F-8BA8-DA1DDE99F14D)
Production checkpoints cannot be created for ‘Ubuntu1’. (Virtual machine ID
9DBEBCFE-20E9-4A0F-8BA8-DA1DDE99F14D)
At C:\Program Files\UrBackup\hyperv_snapshot.ps1:32 char:14

  •          Throw $Job.ErrorDescription
    
  •          ~~~~~~~~~~~~~~~~~~~~~~~~~~~
    
    • CategoryInfo : OperationStopped: (Checkpoint oper…8-DA1DDE99F
      14D):String) [], RuntimeException
    • FullyQualifiedErrorId : Checkpoint operation for ‘Ubuntu1’ failed. (Virt
      ual machine ID 9DBEBCFE-20E9-4A0F-8BA8-DA1DDE99F14D)
      Production checkpoints cannot be created for ‘Ubuntu1’. (Virtual machine I
      D 9DBEBCFE-20E9-4A0F-8BA8-DA1DDE99F14D)

2018-11-22 11:59:33: done.
2018-11-22 11:59:33: ERROR: Creating shadowcopy of “hyperv://Ubuntu1/SCSI:0:0” failed.


#10

You should also be able to create production checkpoints from the UI: https://docs.microsoft.com/en-us/windows-server/virtualization/hyper-v/manage/choose-between-standard-or-production-checkpoints-in-hyper-v


#11

@uroni

My configurtion version of VMs: 8.0

But i forgot install ubuntu kernel with hyper-v daemons (linux-virtual package)

Now another problem. Urbackup make full image backup. But vhdx dynamic size 127 Gb. Really size on disk 7 Gb. But Urbackup Make all 127 Gb backup. Why?


#12

Currently this works as expected with MBR/GPT disks + NTFS. I think I can improve it somewhat for other file systems, though.