Hi,
I’m pretty new to UrBackup.
I have new installation. Server - Ubuntu 22.04 backing up on TrueNAS share.
Client Windows Server 2022 Standard with Hyper-V with UrBackup Client for Microsoft Hyper-V 2.5.21 Trail
Server installation after some reading is OK.
Client Installation was pretty easy. I put all virtual machine in group where forbid backups. Start to experiment with only one virtual machine, whict is not in that group. Backups went perfectly. I make 4 backups in 4 possible formats - VXD, VXD compressed, VXDX and VXDX Compressed. Just to check different scenarios. It works pretty fast except VXD, Other take between 12 ad 16 min to finish. VXD took 169 min. to finish.
After that I start trying to restore disk image on Hyper-V host according to user manual chapter 3.3 Restoring disks via PowerShell scripts. PS script finished with error. I decided to modify it - just to get variable values before error :
…
$params = “–cmdline”, “–silent”, “true”, “–required_plugin”, “cryptoplugin.dll”, “–plugin”, “fileservplugin.dll”, “–required_plugin”, “urbackup.dll”, “–restore”, “true”, “–restore_cmd”, “get_backupimages_json”, “–virtual_client_name”, $VmName
Write-Host “exe = $exe”
Write-Host “params = $params”
$backups = & $exe $params
Write-Host “backups = $backups”
$backups = & $exe $params | ConvertFrom-Json
…
My part is in bold.
Result looks like :
Here is text version :
PS C:> cd “C:\Program files\UrBackup”
PS C:\Program files\UrBackup> .\hyperv_list_backups.ps1 -VmName VM-SRV-AVIR -username admin
Please enter the password for admin…: ********
2024-04-08 17:06:33: ERROR: Error loading fsimageplugin
2024-04-08 17:06:33: Salt Response: ok;HhhRsPdCNxBqG2OKz0xb77NsElDg51RX65fi4Oht4Zsfxr7mX8;3Z3dk5zQuM;10000
2024-04-08 17:06:33: Login Response: ok
exe = ./UrBackupClientBackend.exe
params = --cmdline --silent true --required_plugin cryptoplugin.dll --plugin fileservplugin.dll --required_plugin urbackup.dll --restore true --restore_cmd get_backupimages_json --virtual_client_name VM-SRV-AVIR
backups = 2024-04-08 17:06:33: ERROR: Error loading fsimageplugin
ConvertFrom-Json : Invalid JSON primitive: 2024-04-08.
At C:\Program files\UrBackup\hyperv_list_backups.ps1:31 char:29
- $backups = & $exe $params | ConvertFrom-Json
-
~~~~~~~~~~~~~~~~
- CategoryInfo : NotSpecified: ( [ConvertFrom-Json], ArgumentException
- FullyQualifiedErrorId : System.ArgumentException,Microsoft.PowerShell.Commands.ConvertFromJsonCommand
2024-04-08 17:06:33: ERROR: Error loading fsimageplugin
PS C:\Program files\UrBackup>
I think that it’s pure client problem. On my opinion it couldn’t load fsimageplugin.dll.
Powershell is elevated.
Hope I give enough information about problem. If something more needed, tell me what to send.
My filling is that Hyper-V client needs more serious restore capabilities. Next days I’ll play directly with VXD and VXD files, but that is not the point now.
Regards
Mike