Comprehensive data protection for all workloads
Post Reply
theruck
Influencer
Posts: 15
Liked: never
Joined: Sep 02, 2019 6:49 am
Full Name: theruck
Contact:

powershell commands not responsive

Post by theruck »

since V12 (updated to latest version twice) i am not able to sync the repository with powershell script or even manually using cmdlet sync-vbrbackuprepository
the cursor just blinks forever (or till some timeout happens)
in GUI i can rescan the repository fine (if the console starts and does not timeout)
the problem is that we rotate the drive on the share and after every rotation the powershell is stuck and never refreshes causes failing backups due to non synced repository.
this was working for years with V11 and I have opened cases for support but they always close the ticket after 2 weeks of non working on it (best effort mode) Case #06180302 Case #06135273

does anyone have a clue why the powershell cmd-lets do not respond at all?
theruck
Influencer
Posts: 15
Liked: never
Joined: Sep 02, 2019 6:49 am
Full Name: theruck
Contact:

Re: powershell commands not responsive

Post by theruck »

Code: Select all

PS C:\scripts> .\syncrepo.ps1
Sync-VBRBackupRepository : Cannot process argument transformation on parameter 'Repository'. PowerShell environment
initialization failed: Failed to connect to Veeam Backup & Replication server:
Session id : 90e2d1c5-471b-44af-9b46-5a1a2c141306
Execution environment cannot be initialized to Remote
At C:\scripts\syncrepo.ps1:1 char:39
+  Sync-VBRBackupRepository -Repository "Hyperv1 USBshare"
+                                       ~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : InvalidData: (:) [Sync-VBRBackupRepository], ParameterBindingArgumentTransformationExcep
   tion
    + FullyQualifiedErrorId : ParameterArgumentTransformationError,Veeam.Backup.PowerShell.Cmdlets.SyncVBRBackupReposi
   tory
theruck
Influencer
Posts: 15
Liked: never
Joined: Sep 02, 2019 6:49 am
Full Name: theruck
Contact:

Re: powershell commands not responsive

Post by theruck »

the command is being ran on the same server VBR runs on and i am absolutely sure it happens always after the USB disk is swapped on another server where the drive is being shared
VBR server OS reboot always resolves the problem so it looks like some stuck session somewhere not allowing to connect to the server after the disk is replaced (on another server) which is very weird behavior of V12
theruck
Influencer
Posts: 15
Liked: never
Joined: Sep 02, 2019 6:49 am
Full Name: theruck
Contact:

Re: powershell commands not responsive

Post by theruck »

Veeam CDP Coordinator service cannot be stopped when this happens
theruck
Influencer
Posts: 15
Liked: never
Joined: Sep 02, 2019 6:49 am
Full Name: theruck
Contact:

Re: powershell commands not responsive

Post by theruck »

Code: Select all

cmdlet Sync-VBRBackupRepository at command pipeline position 1
Supply values for the following parameters:
Repository[0]: Hyperv1 USBshare
Repository[1]:
Sync-VBRBackupRepository : Cannot bind parameter 'Repository'. Cannot convert the "Hyperv1 USBshare" value of type
"System.String" to type "Veeam.Backup.Core.CBackupRepository".
At line:1 char:1
+ Sync-VBRBackupRepository
+ ~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : InvalidArgument: (:) [Sync-VBRBackupRepository], ParameterBindingException
    + FullyQualifiedErrorId : CannotConvertArgumentNoMessage,Veeam.Backup.PowerShell.Cmdlets.SyncVBRBackupRepository
theruck
Influencer
Posts: 15
Liked: never
Joined: Sep 02, 2019 6:49 am
Full Name: theruck
Contact:

Re: powershell commands not responsive

Post by theruck »

it is impossible to export the logs using console when this happens
Post Reply

Who is online

Users browsing this forum: No registered users and 34 guests