none
Relation between job's task ID & recovery point RRS feed

  • Question

  • Hello,

    I'm looking for the relation between a task ID and the recovery point associated.

    On first side, I have:

    $PG = Get-DPMProtectionGroup | where Name -eq 'RESTORE_TEST'

    (Get-DPMJob -ProtectionGroup $PG).Tasks | where { $_.TaskId -eq 'a66c1421-b950-4af7-b7bf-608bc3491bfd' }

    TaskId               : a66c1421-b950-4af7-b7bf-608bc3491bfd
    ActionId             : 00000000-0000-0000-0000-000000000000
    JobId                : 041d85f3-c597-4a09-9b78-7a5bb3384236
    OwnerJob             : Microsoft.Internal.EnterpriseStorage.Dls.UI.ObjectModel.JobManagement.Job
    CreatedTime          : 07/11/2016 16:00:00
    StartTime            : 07/11/2016 16:00:00
    EndTime              : 07/11/2016 16:08:04
    Status               : Succeeded
    Type                 : ArchiveFromPS
    DatasourcePath       : My-DataSource
    ProductionServerName : SCVMM My-DataSource Resources.My-HyperV-Host.mydomain
    ErrorCode            : Success
    ErrorInfo            : Success; 0; None
    ErrorInfoXml         : <?xml version="1.0" encoding="utf-16"?>
                           <q1:ErrorInfo ErrorCode="0" DetailedCode="0" DetailedSource="0" ExceptionDetails="" xmlns:q1="http://schemas.microsoft.com/2003/dls/GenericAgentStatus.xsd" />
    TaskInfo             : Microsoft.Internal.EnterpriseStorage.Dls.UI.ObjectModel.JobManagement.ProtectionTaskInfo
    TaskDefinitionId     : 0f9dc804-162e-40be-82ee-821d190d2ee9
    CanRerun             : False
    CanCancel            : False
    HasFailed            : False
    Visible              : True
    HasCompleted         : True

    On the other side, I know that the corresponding recovery point is:

    Get-DPMDatasource | where {($_.Name -eq 'My-DataSource') -and ($_.Instance -eq 'SCVMM My-DataSource Resources.My-HyperV-Host.mydomain')} | Get-DPMRecoveryPoint | select -Last 1 | fl *

    UserFriendlyName                  : My-DataSource
    IsOnlineRecatalogNeeded           : False
    DestinationForAlternateRecovery   : My-DataSource_11-7-2016_16.0.39
    IsValidForSearchResult            : True
    AllMediaCatalogued                : True
    SupportsAlternateLocationRecovery : False
    RecoverySourceLocations           : {15f7050e-1ab1-407f-86e3-2b24433fa39a}
    HasFastRecoveryMarker             : True
    Version                           : 0.0.0.0
    IsIncremental                     : False
    DestinationForRestore             : DPM_11-7-2016_16.0.39
    ROCatalogStatus                   : NotNeeded
    OnlineRecoveryPointId             : -1
    OriginalLocationRecoveryAllowed   : True
    AlternateLocationRecoveryAllowed  : True
    IsValidRecoverySource             : True
    PhysicalPath                      : {C:\ClusterStorage\Volume2\My-DataSource\Virtual Machines\211B151D-04B9-4D7E-8896-75A01F252241.xml, C:\ClusterStorage\Volume2\My-DataSource\My-DataSource_DISK_1.VHDX,
                                        C:\ClusterStorage\Volume2\My-DataSource\My-DataSource_DISK_2.VHDX, C:\ClusterStorage\Volume2\My-DataSource\My-DataSource_DISK_1-AutoRecovery.avhdx...}
    LogicalPath                       :
    FileSpecifications                : {Microsoft.Internal.EnterpriseStorage.Dls.UI.ObjectModel.OMCommon.RecoverableObject+RecoverableObjectFileSpec,
                                        Microsoft.Internal.EnterpriseStorage.Dls.UI.ObjectModel.OMCommon.RecoverableObject+RecoverableObjectFileSpec,
                                        Microsoft.Internal.EnterpriseStorage.Dls.UI.ObjectModel.OMCommon.RecoverableObject+RecoverableObjectFileSpec,
                                        Microsoft.Internal.EnterpriseStorage.Dls.UI.ObjectModel.OMCommon.RecoverableObject+RecoverableObjectFileSpec...}
    Type                              : Microsoft.Internal.EnterpriseStorage.Dls.UI.ObjectModel.OMCommon.DpmObjectType
    IsRecoverable                     : True
    RepresentedPointInTime            : 07/11/2016 16:00:39
    BackupTime                        : 07/11/2016 16:00:39
    UtcRepresentedPointInTime         : 07/11/2016 15:00:39
    RecoverySourceId                  : 15f7050e-1ab1-407f-86e3-2b24433fa39a
    ReferentialRecoverySourceId       : 00000000-0000-0000-0000-000000000000
    RecoverableObjectId               : 1757
    DPMServer                         : Microsoft.Internal.EnterpriseStorage.Dls.UI.ObjectModel.OMCommon.DpmServer
    DPMServerName                     : My-DPMServer.mydomain
    DataSource                        : My-DataSource on computer SCVMM My-DataSource Resources.My-HyperV-Host.mydomain
    DataSourceId                      : b282c51f-0e40-4527-b378-c3d8f9f52479
    WriterId                          : 66841cd4-6ded-4f4b-8f17-fd23f8ddc3de
    ComponentType                     : FileGroup
    ComponentName                     : 211B151D-04B9-4D7E-8896-75A01F252241
    Size                              : 24253104128
    InquiryPath                       :
    Name                              : My-DataSource
    ParentName                        :
    DataLocation                      : Media
    Location                          : Media
    ReferencedROList                  : {}
    CBChildRecoverableItems           : {}
    Tag                               :
    IsExternalCloudDatasource         : False

    But I want to know where to find the relation between the two objects?
    I need this to be sure that this recovery point is corresponding to this backup job of my Protection Group.

    Thanks for your help.


    Tuesday, November 8, 2016 3:06 PM