共用方式為


Resume-DPMBackup

Resume-DPMBackup

Attempts to resume stalled DPM backup jobs.

Syntax

Parameter Set: ResumeAlertBackups
Resume-DPMBackup [-BackupTargetType] <BackupTargetType> {Disk | Tape | Online | Invalid} [-Alert] <Alert[]> [[-AdhocJobsContext] <AdhocJobsContext> ] [-Confirm] [-WhatIf] [ <CommonParameters>]

Parameter Set: ResumeDsBackups
Resume-DPMBackup [-BackupTargetType] <BackupTargetType> {Disk | Tape | Online | Invalid} [-Datasource] <Datasource[]> [[-AdhocJobsContext] <AdhocJobsContext> ] [-Confirm] [-WhatIf] [ <CommonParameters>]

Parameter Set: ResumePgBackups
Resume-DPMBackup [-BackupTargetType] <BackupTargetType> {Disk | Tape | Online | Invalid} [-ProtectionGroup] <ProtectionGroup[]> [[-AdhocJobsContext] <AdhocJobsContext> ] [-Confirm] [-WhatIf] [ <CommonParameters>]

Parameter Set: ResumePsBackups
Resume-DPMBackup [-BackupTargetType] <BackupTargetType> {Disk | Tape | Online | Invalid} [-ProductionServer] <ProductionServer[]> [[-AdhocJobsContext] <AdhocJobsContext> ] [-Confirm] [-WhatIf] [ <CommonParameters>]

Detailed Description

The Resume-DPMBackup cmdlet attempts to resume stalled System Center 2012 – Data Protection Manager (DPM) backup jobs. Specify the backup target type and one of the following backup types:

-- Alert
-- Datasource
-- ProtectionGroup
-- ProductionServer

Parameters

-AdhocJobsContext<AdhocJobsContext>

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

Aliases

none

Required?

false

Position?

3

Default Value

none

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

-Alert<Alert[]>

Specifies an array of alerts for which backups resume.

Aliases

none

Required?

true

Position?

2

Default Value

none

Accept Pipeline Input?

True (ByValue)

Accept Wildcard Characters?

false

-BackupTargetType<BackupTargetType>

Specifies the type of backup target. Valid values are:

-- Disk
-- Tape
-- Online
-- Invalid

Aliases

none

Required?

true

Position?

1

Default Value

none

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

-Datasource<Datasource[]>

Specifies an array of data sources for which this cmdlet resumes backups. A data source can be a file system share or volume for the Windows operating system, Microsoft SQL Server database, Microsoft Exchange Server storage group, Microsoft SharePoint farm, Microsoft Virtual Machine, DPM database, or system state that is a member of a protection group.

Aliases

none

Required?

true

Position?

2

Default Value

none

Accept Pipeline Input?

True (ByValue)

Accept Wildcard Characters?

false

-ProductionServer<ProductionServer[]>

Specifies an array of computers on which DPM protection agents are installed. This cmdlet resumes backups for protection groups on the computers that this parameter specifies.

Aliases

none

Required?

true

Position?

2

Default Value

none

Accept Pipeline Input?

True (ByValue)

Accept Wildcard Characters?

false

-ProtectionGroup<ProtectionGroup[]>

Specifies an array of protection groups for which backups resume. To obtain a ProtectionGroup object, use the Get-DPMProtectionGroup cmdlet.

Aliases

none

Required?

true

Position?

2

Default Value

none

Accept Pipeline Input?

True (ByValue)

Accept Wildcard Characters?

false

-Confirm

Prompts you for confirmation before running the cmdlet.

Required?

false

Position?

named

Default Value

false

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

-WhatIf

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

Required?

false

Position?

named

Default Value

false

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

<CommonParameters>

This cmdlet supports the common parameters: -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer, and -OutVariable. For more information, see    about_CommonParameters (https://go.microsoft.com/fwlink/p/?LinkID=113216).

Inputs

The input type is the type of the objects that you can pipe to the cmdlet.

Outputs

The output type is the type of the objects that the cmdlet emits.

Examples

Example 1: Resume backing up production servers

The first command uses the Get-DPMProductionServer cmdlet to get the production servers for the DPM server named DPMServer07. The command stores the results in the $DpmPServer variable.

The second command resumes backing up the production servers in $DpmPServer for the DPM server named DPMServer07.

PS C:\> $DpmPServer = Get-DPMProductionServer -DPMServerName "DPMServer07"
PS C:\> Resume-DPMBackup -DPMServerName "DPMServer07" -ProductionServer $DpmPServer 

Get-DPMProductionServer