Edit-DPMDiskAllocation

Modifies disk allocation for a protected data source on a DPM server.

Syntax

Edit-DPMDiskAllocation
    [-Datasource] <Datasource>
    [-ReplicaSize <Int64>]
    [-ShadowCopySize <Int64>]
    [-WhatIf]
    [-Confirm]
    [<CommonParameters>]
Edit-DPMDiskAllocation
    [-Datasource] <Datasource>
    [-ShadowCopySize <Int64>]
    [-ExpectedDataSizePerClientInMB <Int64>]
    [-WhatIf]
    [-Confirm]
    [<CommonParameters>]

Description

The Edit-DPMDiskAllocation cmdlet modifies disk allocation on a System Center 2016 - Data Protection Manager (DPM) server for a protected data source.

Examples

Example 1: Modify the size of the replica and recovery point volumes

PS C:\>$PGroup = Get-DPMProtectionGroup -DPMServerName "Contoso-DPMServer"
PS C:\> $PObjects = Get-DPMDatasource -ProtectionGroup $PGroup
PS C:\> Edit-DPMDiskAllocation -Datasource $PObjects[1] -ReplicaSize 5368709120 -ShadowCopySize 3221225472

The first command uses the Get-DPMProtectionGroup cmdlet to get the protection group for the server named Contoso-DPMServer. The command stores the group in the $PGroup variable.

The second command uses the Get-DPMDatasource cmdlet to get all data source objects for the protection group stored in $PSGroup. The command stores the objects in the $PObjects variable.

The last command modifies the size of the replica volume and the shadow copy volume for the second data source object stored in the $PObjects array.

Required Parameters

-Datasource

Specifies a data source object for which this cmdlet modifies disk allocation. 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:1
Default value:None
Accept pipeline input:True (ByValue)
Accept wildcard characters:False

Optional Parameters

-Confirm

Prompts you for confirmation before running the cmdlet.

Type:SwitchParameter
Aliases:cf
Position:Named
Default value:False
Accept pipeline input:False
Accept wildcard characters:False
-ExpectedDataSizePerClientInMB

Specifies the new expected size, in megabytes, of data that DPM backs up from each client computer.

Type:Int64
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-ReplicaSize

Specifies the new size of a replica volume, in bytes.

Type:Int64
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-ShadowCopySize

Specifies the new size of a recovery point volume, in bytes.

Type:Int64
Position:Named
Default value:None
Accept pipeline input:False
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
Accept pipeline input:False
Accept wildcard characters:False