Not getting jobs of a storage unit, even though the jobs exist
Following two jobs belong to storage unit storage_unit_swauto-sw-05_stu_oatis_container:
PS C:\Users\Administrator> get-bejob 'restore_job2032_4495'
Name : restore_job2032_4495
JobType : Restore
TaskType : None
TaskName :
IsActive : False
Status : Succeeded
SubStatus : Ok
SelectionSummary :
Storage : storage_unit_swauto-sw-05_stu_oatis_container
Schedule : Run now
IsBackupDefinitionJob : False
PS C:\Users\Administrator> get-bejob 'restore_job3134_4495'
Name : restore_job3134_4495
JobType : Restore
TaskType : None
TaskName :
IsActive : False
Status : Succeeded
SubStatus : Ok
SelectionSummary :
Storage : storage_unit_swauto-sw-05_stu_oatis_container
Schedule : Run now
IsBackupDefinitionJob : False
But I am not getting those jobs using following command:
PS C:\Users\Administrator> Get-BeStorage 'storage_unit_swauto-sw-05_stu_oatis_container' | get-bejob
Get-BEJob : Object reference not set to an instance of an object.
At line:1 char:74
+ Get-BeStorage 'storage_unit_swauto-sw-05_stu_oatis_container' | get-bejob <<<<
+ CategoryInfo : NotSpecified: (:) [Get-BEJob], NullReferenceException
+ FullyQualifiedErrorId : UnhandledClientException,BackupExec.Management.CLI.Commands.GetBEJobComman
Storage unit details are:
PS C:\Users\Administrator> Get-BeStorage 'storage_unit_swauto-sw-05_stu_oatis_container'
Name StorageType Active Paused Disabled Servers
---- ----------- ------ ------ -------- -------
storage_unit_swauto-sw-05_stu_oa... OpenStorageDevice False False False {SANTOSHIK-W2K8-}