Resume-DPMBackup
Attempts to resume stalled DPM backup jobs.
Syntax
Resume-DPMBackup
[-Alert] <Alert[]>
[-BackupTargetType] <BackupTargetType>
[[-AdhocJobsContext] <AdhocJobsContext>]
[-WhatIf]
[-Confirm]
[<CommonParameters>]
Resume-DPMBackup
[-Datasource] <Datasource[]>
[-BackupTargetType] <BackupTargetType>
[[-AdhocJobsContext] <AdhocJobsContext>]
[-WhatIf]
[-Confirm]
[<CommonParameters>]
Resume-DPMBackup
[-ProductionServer] <ProductionServer[]>
[-BackupTargetType] <BackupTargetType>
[[-AdhocJobsContext] <AdhocJobsContext>]
[-WhatIf]
[-Confirm]
[<CommonParameters>]
Resume-DPMBackup
[-ProtectionGroup] <ProtectionGroup[]>
[-BackupTargetType] <BackupTargetType>
[[-AdhocJobsContext] <AdhocJobsContext>]
[-WhatIf]
[-Confirm]
[<CommonParameters>]
Description
The Resume-DPMBackup cmdlet attempts to resume stalled System Center - Data Protection Manager (DPM) backup jobs. Specify the backup target type and one of the following backup types:
- Alert
- Datasource
- ProtectionGroup
- ProductionServer
Examples
Example 1: Resume backing up production servers
PS C:\>$DpmPServer = Get-DPMProductionServer -DPMServerName "DPMServer07"
PS C:\> Resume-DPMBackup -DPMServerName "DPMServer07" -ProductionServer $DpmPServer
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.
Parameters
-AdhocJobsContext
Specifies the context details of the ad hoc job. Do not use this parameter from the Windows PowerShell command line.
Type: | AdhocJobsContext |
Position: | 3 |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-Alert
Specifies an array of alerts for which backups resume.
Type: | Alert[] |
Position: | 2 |
Default value: | None |
Required: | True |
Accept pipeline input: | True |
Accept wildcard characters: | False |
-BackupTargetType
Specifies the type of backup target.
The acceptable values for this parameter are:
- Disk
- Tape
- Online
- Invalid
Type: | BackupTargetType |
Accepted values: | Disk, Tape, Online, Invalid |
Position: | 1 |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-Confirm
Prompts you for confirmation before running the cmdlet.
Type: | SwitchParameter |
Aliases: | cf |
Position: | Named |
Default value: | False |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-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.
Type: | Datasource[] |
Position: | 2 |
Default value: | None |
Required: | True |
Accept pipeline input: | True |
Accept wildcard characters: | False |
-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.
Type: | ProductionServer[] |
Position: | 2 |
Default value: | None |
Required: | True |
Accept pipeline input: | True |
Accept wildcard characters: | False |
-ProtectionGroup
Specifies an array of protection groups for which backups resume. To obtain a ProtectionGroup object, use the Get-DPMProtectionGroup cmdlet.
Type: | ProtectionGroup[] |
Position: | 2 |
Default value: | None |
Required: | True |
Accept pipeline input: | True |
Accept wildcard characters: | False |
-WhatIf
Shows what would happen if the cmdlet runs. The cmdlet is not run.
Type: | SwitchParameter |
Aliases: | wi |
Position: | Named |
Default value: | False |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |