Partager via


Start-DPMCloudRecatalog

Recatalogs a cloud recovery point.

Syntax

Default (Default)

Start-DPMCloudRecatalog
    [-RecoverableItem] <RecoverableObject[]>
    [-JobStateChangedEventHandler <JobStateChangedEventHandler>]
    [-RecoveryNotification <NotificationObject>]
    [-AdhocJobsContext <AdhocJobsContext>]
    [-WhatIf]
    [-Confirm]
    [<CommonParameters>]

Description

The Start-DPMCloudRecatalog cmdlet starts to recatalog a point in time version of a System Center - Data Protection Manager (DPM) cloud recovery point.

Examples

Example 1: Recatalog a version of a cloud recovery point

PS C:\>$RPoints = Get-DPMProtectionGroup | Where {$_.Name -like "ProtectionGroup06"} | Get-DPMDatasource | Get-DPMRecoveryPoint -Online
PS C:\> Start-CloudRecatalog -RecoverableItem $RPoints[1]

The first command gets a protection group by using the Get-DPMProtectionGroup cmdlet. That cmdlet gets all protection groups, and then passes them to the Where-Object cmdlet by using the pipeline operator. That cmdlet drops all groups that do not match its criteria. For more information, type Get-Help Where-Object.

The command then passes the protection group to the Get-DPMDatasource cmdlet, which gets the data sources for that protection group.

The command then passes the data source to the Get-DPMRecoveryPoint cmdlet, which gets all available recovery points for the data source. The command stores the recovery points in the $RPoints variable.

The second command starts to recatalog the version of a cloud recovery point stored in position one (1) of $RPoints.

Parameters

-AdhocJobsContext

Specifies the context details of the ad hoc job. Do not use this parameter from the Windows PowerShell command line.

Parameter properties

Type:AdhocJobsContext
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-Confirm

Prompts you for confirmation before running the cmdlet.

Parameter properties

Type:SwitchParameter
Default value:False
Supports wildcards:False
DontShow:False
Aliases:cf

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-JobStateChangedEventHandler

Specifies an event handler for Job.StateChanged events. Use this parameter to build a graphical user interface based on cmdlets. Do not use this parameter in the DPM Management Shell.

Parameter properties

Type:JobStateChangedEventHandler
Default value:None
Supports wildcards:False
DontShow:False
Aliases:Handler

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-RecoverableItem

Specifies a recoverable item object. This is a child item in a recovery point that is recoverable. For example, a file system share or volume, a Microsoft SQL Server database, a Microsoft Exchange Server storage group, Microsoft SharePoint, Microsoft Virtual Machine, a Microsoft DPM database, system state, or a recovery point.

Parameter properties

Type:

RecoverableObject[]

Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:2
Mandatory:True
Value from pipeline:True
Value from pipeline by property name:False
Value from remaining arguments:False

-RecoveryNotification

Specifies a notification to send when recovery is finished. You can use the New-DPMRecoveryNotification cmdlet to create a notification object.

Parameter properties

Type:NotificationObject
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-WhatIf

Shows what would happen if the cmdlet runs. The cmdlet is not run.

Parameter properties

Type:SwitchParameter
Default value:False
Supports wildcards:False
DontShow:False
Aliases:wi

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.