HYPERV clients issues and questions

Yo

Installed Hyper-v client from here on fresh winserv2019 datacenter.

Setup 2 VMs : debian10 / win10

Trying to backup debian while running the VM but get :
Error loading ZIP file MBR (1): Creating shadow copy failed. See client log file for details.

I go to the server to check the log and get this

So i came with few question :

  • is it possible to backup VM while running or am I missing something ?
  • when I restart the winserv2019, urbackup service start automatically but NOT the tray application. If I ask for incremental backup from my urbackup server, nothing happend :frowning:
    I avoided the problem by adding “C:\Program Files\UrBackup\UrBackupClient.exe” to the shell:startup but why ?

Thx for help :slight_smile:

Could you have a look at the client log file for the error message "C:\Program Files\UrBackup\debug.log"?

The tray icon is kind of unnecessary with the hyper-v client… but I’ll have a look anyway.

My guess is you didn’t install the hyperv-daemons package into your Debian VM, so Hyper-V cannot create production checkpoints.

1 Like

Thx for super quick reply !
You were right : hyperv-daemons package did the trick ! :slight_smile:

here are the log :

 2019-12-04 18:07:29: ERROR: Internet server auth failed. Error: Unknown client (WINSERV1)
2019-12-04 18:07:29: ERROR: Internet server auth failed. Error: Unknown client (WINSERV1)
2019-12-04 18:12:29: ERROR: Internet server auth failed. Error: Unknown client (winserv1)
2019-12-04 18:24:53: WARNING: No reference point found. Resetting CBT
2019-12-04 18:36:49: ERROR: Error creating Hyper-V snapshot of debcool. Output: ProcessWMIJob : L'op‚ration de point de contr“le pour ®debcool¯ a ‚chou‚. (ID d'ordinateur virtuel 
8070E58B-B91B-40E3-BE1F-174639A6E020)
Impossible de cr‚er des points de contr“le de production pour debcool. (ID d'ordinateur virtuel: 
8070E58B-B91B-40E3-BE1F-174639A6E020)
Au caractĹ re C:\Program Files\UrBackup\hyperv_snapshot.ps1:152 : 13
+     ($job | ProcessWMIJob -WmiClass $Msvm_VirtualSystemSnapshotServic ...
+             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (:) [Write-Error], WriteErrorException
    + FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,ProcessWMIJob
 
L'op‚ration de point de contr“le pour ®debcool¯ a ‚chou‚. (ID d'ordinateur virtuel 
8070E58B-B91B-40E3-BE1F-174639A6E020)
Impossible de cr‚er des points de contr“le de production pour debcool. (ID d'ordinateur virtuel: 
8070E58B-B91B-40E3-BE1F-174639A6E020)
Au caractĹ re C:\Program Files\UrBackup\hyperv_snapshot.ps1:32 : 14
+              Throw $Job.ErrorDescription
+              ~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : OperationStopped: (L'op‚ration de ...F-174639A6E020):String) [], RuntimeException
    + FullyQualifiedErrorId : L'op‚ration de point de contr“le pour ®debcool¯ a ‚chou‚. (ID d'ordinateur virtuel 807   
 0E58B-B91B-40E3-BE1F-174639A6E020)
    Impossible de cr‚er des points de contr“le de production pour debcool. (ID d'ordinateur virtuel: 8070E58B-B91B-40  
  E3-BE1F-174639A6E020)
 

2019-12-04 18:36:49: ERROR: Creating shadowcopy of "hyperv://debcool/IDE:0:0" failed.
2019-12-04 18:38:00: ERROR: Error creating Hyper-V snapshot of debcool. Output: ProcessWMIJob : L'op‚ration de point de contr“le pour ®debcool¯ a ‚chou‚. (ID d'ordinateur virtuel 
8070E58B-B91B-40E3-BE1F-174639A6E020)
Impossible de cr‚er des points de contr“le de production pour debcool. (ID d'ordinateur virtuel: 
8070E58B-B91B-40E3-BE1F-174639A6E020)
Au caractĹ re C:\Program Files\UrBackup\hyperv_snapshot.ps1:152 : 13
+     ($job | ProcessWMIJob -WmiClass $Msvm_VirtualSystemSnapshotServic ...
+             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (:) [Write-Error], WriteErrorException
    + FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,ProcessWMIJob
 
L'op‚ration de point de contr“le pour ®debcool¯ a ‚chou‚. (ID d'ordinateur virtuel 
8070E58B-B91B-40E3-BE1F-174639A6E020)
Impossible de cr‚er des points de contr“le de production pour debcool. (ID d'ordinateur virtuel: 
8070E58B-B91B-40E3-BE1F-174639A6E020)
Au caractĹ re C:\Program Files\UrBackup\hyperv_snapshot.ps1:32 : 14
+              Throw $Job.ErrorDescription
+              ~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : OperationStopped: (L'op‚ration de ...F-174639A6E020):String) [], RuntimeException
    + FullyQualifiedErrorId : L'op‚ration de point de contr“le pour ®debcool¯ a ‚chou‚. (ID d'ordinateur virtuel 807   
 0E58B-B91B-40E3-BE1F-174639A6E020)
    Impossible de cr‚er des points de contr“le de production pour debcool. (ID d'ordinateur virtuel: 8070E58B-B91B-40  
  E3-BE1F-174639A6E020)
 

2019-12-04 18:38:00: ERROR: Creating shadowcopy of "hyperv://debcool/IDE:0:0" failed.
2019-12-05 17:52:51: ERROR: Error creating Hyper-V snapshot of debcool. Output: ProcessWMIJob : L'op‚ration de point de contr“le pour ®debcool¯ a ‚chou‚. (ID d'ordinateur virtuel 
8070E58B-B91B-40E3-BE1F-174639A6E020)
Impossible de cr‚er des points de contr“le de production pour debcool. (ID d'ordinateur virtuel: 
8070E58B-B91B-40E3-BE1F-174639A6E020)
Au caractĹ re C:\Program Files\UrBackup\hyperv_snapshot.ps1:152 : 13
+     ($job | ProcessWMIJob -WmiClass $Msvm_VirtualSystemSnapshotServic ...
+             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (:) [Write-Error], WriteErrorException
    + FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,ProcessWMIJob
 
L'op‚ration de point de contr“le pour ®debcool¯ a ‚chou‚. (ID d'ordinateur virtuel 
8070E58B-B91B-40E3-BE1F-174639A6E020)
Impossible de cr‚er des points de contr“le de production pour debcool. (ID d'ordinateur virtuel: 
8070E58B-B91B-40E3-BE1F-174639A6E020)
Au caractĹ re C:\Program Files\UrBackup\hyperv_snapshot.ps1:32 : 14
+              Throw $Job.ErrorDescription
+              ~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : OperationStopped: (L'op‚ration de ...F-174639A6E020):String) [], RuntimeException
    + FullyQualifiedErrorId : L'op‚ration de point de contr“le pour ®debcool¯ a ‚chou‚. (ID d'ordinateur virtuel 807   
 0E58B-B91B-40E3-BE1F-174639A6E020)
    Impossible de cr‚er des points de contr“le de production pour debcool. (ID d'ordinateur virtuel: 8070E58B-B91B-40  
  E3-BE1F-174639A6E020)
 

2019-12-05 17:52:51: ERROR: Creating shadowcopy of "hyperv://debcool/IDE:0:0" failed.

The tray icon is kind of unnecessary with the hyper-v client… but I’ll have a look anyway.

I’ll wait for your reply but i think this was due to the fact that I didnt install the hyperv-daemon…

I’m facing another issue right now : i deployed my hyperv client without right restore permission. Now i want to restore my previously backuped debian but tells me “no right” on hyperv powershell restore script. How to get back the right ? thx :slight_smile:

Hmm, what exacly are you running… did you specify a -username admin parameter?

oh my bad :confused: i forget that.

Restore works seems to work !

PS C:\Program Files\UrBackup> .\hyperv_load_backups.ps1 -VmName debian10 -Time 1575568922 -Dest C:\resto
Loading backup id 375365172 to C:\resto\debian10_IDE_0_0.vhdx...
2019-12-05 21:37:34: Restoring to C:\resto\debian10_IDE_0_0.vhdx
2019-12-05 21:37:34: Image load 0% complete
2019-12-05 21:37:56: Image load 1% complete
2019-12-05 21:38:20: Image load 2% complete
2019-12-05 21:38:34: Image load 3% complete
2019-12-05 21:39:06: Image load 4% complete
2019-12-05 21:39:39: Image load 5% complete
2019-12-05 21:39:59: Image load 6% complete
2019-12-05 21:40:28: Image load 7% complete
2019-12-05 21:40:56: Image load 8% complete
2019-12-05 21:41:18: Image load 9% complete
2019-12-05 21:41:52: Image load 10% complete

some other questions :

  • If i lose the entire hyperv server, how to get things back ? my guess is to setup another hyperv server with same name as the previous one, re-download the client and use the powershell script to get my vhdx back. Correct ?
  • in my win10 VM, is there “hyperv-daemon” or equivalent that i must install ?
  • about the licencing of UrBackup Client for Microsoft Hyper-V 2.x - 2.x : is there a VM / CPU Core / other limit per server ?

Thx a lot for your help !! :slight_smile:

Correct, you can of course also just name the client the same… I’ve had requests that the client be allowed to download images of another server (by specifying the server name), so that might change in the future.

In Windows the VSS service does what hyperv-daemons does on Linux and that runs per default since Windows XP.

No

If i lose the entire hyperv server, how to get things back ? my guess is to setup another hyperv server with same name as the previous one, re-download the client and use the powershell script to get my vhdx back. Correct ?

tried that but the client that I download is not “hyperv client” so no ps script onboard :frowning:

I manualy download hyperv client, try to reconnect it to my server using the same computer name / pw than my original hyper v host but it doesn’t restore :

PS C:\Program Files\UrBackup> .\hyperv_list_backups.ps1 -VmName my.supervm.com -username admin
Please enter the password for admin...: ***********
2020-02-21 19:58:30: Salt Response: no channels available
2020-02-21 19:58:30: ERROR: SALT error: no channels available
2020-02-21 19:58:30: ERROR: Username not found on server
Error login in with username admin

Any idea ? thx :slight_smile:

The client doesn’t seem to be connected… Wait a bit for the server to discover it, or configure the client settings to connect? Look at the server status page why the client isn’t online etc.?