Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Modifies disk allocation for the protected data.
Set-DatasourceDiskAllocation [-ProtectionGroup] <ProtectionGroup> [-Datasource] <Datasource> -ExpectedDataSizePerClientInMB <Long> [-ShadowCopyArea <Int64>] [<CommonParameters>]
Set-DatasourceDiskAllocation [-ProtectionGroup] <ProtectionGroup> [-AutoGrow] <Boolean> [<CommonParameters>]
Set-DatasourceDiskAllocation [-ProtectionGroup] <ProtectionGroup> [-Datasource] <Datasource> -Manual <SwitchParameter> [-PassThru <SwitchParameter>] [-ProductionServerJournalSize <Int64>] [-ReplicaArea <Int64>] [-ShadowCopyArea <Int64>] [<CommonParameters>]
Set-DatasourceDiskAllocation [-DestinationDiskPool] <Disk> [-MigrateDatasourceDataFromDPM] <SwitchParameter> [-Datasource] <Datasource> [-ProtectionGroup] <ProtectionGroup> [<CommonParameters>]
Set-DatasourceDiskAllocation [-Datasource] <Datasource> [-ProtectionGroup] <ProtectionGroup> [-PassThru <SwitchParameter>] [<CommonParameters>]
Set-DatasourceDiskAllocation [-ProtectionGroup] <ProtectionGroup> [-DestinationReplicaVolume] <DpmServerVolume> [-MigrateDatasourceDataFromDPM] <SwitchParameter> [-DestinationShadowCopyVolume] <DpmServerVolume> [-Datasource] <Datasource> [-FormatVolumes <SwitchParameter>] [<CommonParameters>]
Set-DatasourceDiskAllocation [-Datasource] <Datasource> -CustomRequirements <SwitchParameter> [-ProtectionGroup] <ProtectionGroup> [-FormatVolumes <SwitchParameter>] [-PassThru <SwitchParameter>] [-ReplicaVolume <DpmServerVolume>] [-ShadowCopyVolume <DpmServerVolume>] [-USNJournalSize <Int64>] [<CommonParameters>]
The Set-DatasourceDiskAllocation cmdlet modifies disk allocation for the protected data.
Using the -Manual parameter you can specify the amount of disk space to allot to each data source in a protection group.
Using the -CustomRequirements parameter you can specify the volumes to use for each data source in a protection group.
If you use neither parameter, DPM will assign the default disk space and volumes for the data source.
Indicates whether the replica or recovery point volume size should be increased automatically when the user space threshold is exceeded.
Attributes
Name | Value |
---|---|
Required? |
true |
Accept wildcard characters? |
false |
Accept Pipeline Input? |
true (ByValue) |
Position? |
1 |
The name of a protection group.
Attributes
Name | Value |
---|---|
Required? |
true |
Accept wildcard characters? |
false |
Accept Pipeline Input? |
true (ByValue) |
Position? |
0 |
Specifies the set of disks on which DPM will allocate volumes for migration of a data source. This parameter is migration specific.
Attributes
Name | Value |
---|---|
Required? |
true |
Accept wildcard characters? |
false |
Accept Pipeline Input? |
false |
Position? |
3 |
Specifies the destination volume allocated by the user for migrating replicas of a data source. This parameter is migration specific.
Attributes
Name | Value |
---|---|
Required? |
true |
Accept wildcard characters? |
false |
Accept Pipeline Input? |
false |
Position? |
3 |
Indicates migration of the data source from the current volumes to a new set of volumes.
Attributes
Name | Value |
---|---|
Required? |
true |
Accept wildcard characters? |
false |
Accept Pipeline Input? |
false |
Position? |
2 |
Specifies the destination volume allocated by the user for migrating shadow copies of a data source. This parameter is migration specific.
Attributes
Name | Value |
---|---|
Required? |
true |
Accept wildcard characters? |
false |
Accept Pipeline Input? |
false |
Position? |
4 |
Allows you to specify replica and shadow copy volumes manually.
Attributes
Name | Value |
---|---|
Required? |
true |
Accept wildcard characters? |
false |
Accept Pipeline Input? |
false |
Position? |
named |
A Windows file system share or volume, Microsoft SQL Server database, Microsoft Exchange storage group, Microsoft SharePoint farm, Microsoft Virtual Machine, DPM database, or system state that is a member of a protection group.
Attributes
Name | Value |
---|---|
Required? |
true |
Accept wildcard characters? |
false |
Accept Pipeline Input? |
true (ByValue) |
Position? |
0 |
The expected size of data to be backed up from each client computer (in MB).
Attributes
Name | Value |
---|---|
Required? |
true |
Accept wildcard characters? |
false |
Accept Pipeline Input? |
true (ByValue) |
Position? |
named |
Indicates that the settings will be applied manually.
Attributes
Name | Value |
---|---|
Required? |
true |
Accept wildcard characters? |
false |
Accept Pipeline Input? |
false |
Position? |
named |
Indicates whether the allocated volumes should be formatted.
Attributes
Name | Value |
---|---|
Required? |
false |
Accept wildcard characters? |
false |
Accept Pipeline Input? |
false |
Position? |
named |
The -PassThru parameter can be used with many commands in DPM to return a related object in cases where there is no default output. Using the PassThru parameter allows such cmdlets to be part of a pipeline.
Attributes
Name | Value |
---|---|
Required? |
false |
Accept wildcard characters? |
false |
Accept Pipeline Input? |
false |
Position? |
named |
The journal size of the protected server.
Attributes
Name | Value |
---|---|
Required? |
false |
Accept wildcard characters? |
false |
Accept Pipeline Input? |
false |
Position? |
named |
Sets the disk allocation for the replica area for the current data source.
Attributes
Name | Value |
---|---|
Required? |
false |
Accept wildcard characters? |
false |
Accept Pipeline Input? |
false |
Position? |
named |
A replica volume is a volume on the DPM server that contains the replica of a protected data source.
Attributes
Name | Value |
---|---|
Required? |
false |
Accept wildcard characters? |
false |
Accept Pipeline Input? |
false |
Position? |
named |
Sets the disk allocation for the shadow copy area for the current data source.
Attributes
Name | Value |
---|---|
Required? |
false |
Accept wildcard characters? |
false |
Accept Pipeline Input? |
false |
Position? |
named |
The volume on which the shadow copy is present.
Attributes
Name | Value |
---|---|
Required? |
false |
Accept wildcard characters? |
false |
Accept Pipeline Input? |
false |
Position? |
named |
The USN journal size.
Attributes
Name | Value |
---|---|
Required? |
false |
Accept wildcard characters? |
false |
Accept Pipeline Input? |
false |
Position? |
named |
This cmdlet supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, WarningVariable, OutBuffer, and OutVariable. For more information, see about_CommonParameters.
The input type is the type of the objects that you can pipe to the cmdlet. The return type is the type of the objects that the cmdlet emits.
For more information, type "Get-Help Set-DatasourceDiskAllocation -detailed".
For technical information, type "Get-Help Set-DatasourceDiskAllocation -full".Additionally, any updated information about the cmdlet will be available at https://go.microsoft.com/fwlink/?LinkId=95130.
$pg = Get-ProtectionGroup -DPMServerName "TestingServer"
$mpg = Get-ModifiableProtectionGroup $pg
$ds = Get-Datasource -ProtectionGroup $mpg
Get-DatasourceDiskAllocation -Datasource $ds[1]
Set-DatasourceDiskAllocation -Datasource $ds[1] -ProtectionGroup $mpg
Set-ProtectionGroup $mpg
This command sets the disk allocation the second data source in the data source list $ds.