Set-DPMDatasourceDiskAllocation
Updated: January 14, 2013
Applies To: System Center 2012 - Data Protection Manager
Set-DPMDatasourceDiskAllocation
Syntax
Parameter Set: Default Set-DPMDatasourceDiskAllocation [-Datasource] <Datasource> [-ProtectionGroup] <ProtectionGroup> [-PassThru] [-Confirm] [-WhatIf] [ <CommonParameters>] Parameter Set: AutoGrowOption Set-DPMDatasourceDiskAllocation [-ProtectionGroup] <ProtectionGroup> [-AutoGrow] <Boolean> [-Confirm] [-WhatIf] [ <CommonParameters>] Parameter Set: Custom Set-DPMDatasourceDiskAllocation [-Datasource] <Datasource> [-ProtectionGroup] <ProtectionGroup> -CustomRequirements [-FormatVolumes] [-PassThru] [-ReplicaVolume <DpmServerVolume> ] [-ShadowCopyVolume <DpmServerVolume> ] [-USNJournalSize <Int64> ] [-Confirm] [-WhatIf] [ <CommonParameters>] Parameter Set: ExpectedDataSizePerClientInMB Set-DPMDatasourceDiskAllocation -ExpectedDataSizePerClientInMB <Int64> -ProtectionGroup <ProtectionGroup> [-Datasource <Datasource> ] [-ShadowCopyArea <Int64> ] [-Confirm] [-WhatIf] [ <CommonParameters>] Parameter Set: Manual Set-DPMDatasourceDiskAllocation [-Datasource] <Datasource> [-ProtectionGroup] <ProtectionGroup> -Manual [-PassThru] [-ProductionServerJournalSize <Int64> ] [-ReplicaArea <Int64> ] [-ShadowCopyArea <Int64> ] [-Confirm] [-WhatIf] [ <CommonParameters>] Parameter Set: MigrateDatasourceDataFromDPMToDisk Set-DPMDatasourceDiskAllocation [-Datasource] <Datasource> [-ProtectionGroup] <ProtectionGroup> [-MigrateDatasourceDataFromDPM] [-DestinationDiskPool] <Disk[]> [-Confirm] [-WhatIf] [ <CommonParameters>] Parameter Set: MigrateDatasourceDataFromDPMToVolume Set-DPMDatasourceDiskAllocation [-Datasource] <Datasource> [-ProtectionGroup] <ProtectionGroup> [-MigrateDatasourceDataFromDPM] [-DestinationReplicaVolume] <DpmServerVolume> [-DestinationShadowCopyVolume] <DpmServerVolume> [-FormatVolumes] [-Confirm] [-WhatIf] [ <CommonParameters>]
Detailed Description
The Set-DPMDatasourceDiskAllocation 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.
Parameters
-AutoGrow<Boolean>
Indicates whether the replica or recovery point volume size should be increased automatically when the user space threshold is exceeded.
|
Aliases |
none |
|
Required? |
true |
|
Position? |
2 |
|
Default Value |
none |
|
Accept Pipeline Input? |
True (ByValue) |
|
Accept Wildcard Characters? |
false |
-CustomRequirements
Allows you to specify replica and shadow copy volumes manually.
|
Aliases |
none |
|
Required? |
true |
|
Position? |
named |
|
Default Value |
none |
|
Accept Pipeline Input? |
false |
|
Accept Wildcard Characters? |
false |
-Datasource<Datasource>
Provide 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.
|
Aliases |
none |
|
Required? |
true |
|
Position? |
1 |
|
Default Value |
none |
|
Accept Pipeline Input? |
True (ByValue) |
|
Accept Wildcard Characters? |
false |
-DestinationDiskPool<Disk[]>
Specify the set of disks on which DPM will allocate volumes for migration of a data source. This parameter is migration specific.
|
Aliases |
none |
|
Required? |
true |
|
Position? |
4 |
|
Default Value |
none |
|
Accept Pipeline Input? |
false |
|
Accept Wildcard Characters? |
false |
-DestinationReplicaVolume<DpmServerVolume>
Specify the destination volume allocated by the user for migrating replicas of a data source. This parameter is migration specific.
|
Aliases |
none |
|
Required? |
true |
|
Position? |
4 |
|
Default Value |
none |
|
Accept Pipeline Input? |
false |
|
Accept Wildcard Characters? |
false |
-DestinationShadowCopyVolume<DpmServerVolume>
Specify the destination volume allocated by the user for migrating shadow copies of a data source. This parameter is migration specific.
|
Aliases |
none |
|
Required? |
true |
|
Position? |
5 |
|
Default Value |
none |
|
Accept Pipeline Input? |
false |
|
Accept Wildcard Characters? |
false |
-ExpectedDataSizePerClientInMB<Int64>
Provide the expected size of data to be backed up from each client computer (in MB).
|
Aliases |
none |
|
Required? |
true |
|
Position? |
named |
|
Default Value |
none |
|
Accept Pipeline Input? |
True (ByValue) |
|
Accept Wildcard Characters? |
false |
-FormatVolumes
Indicates whether the allocated volumes should be formatted.
|
Aliases |
none |
|
Required? |
false |
|
Position? |
named |
|
Default Value |
none |
|
Accept Pipeline Input? |
false |
|
Accept Wildcard Characters? |
false |
-Manual
Indicates that the settings will be applied manually.
|
Aliases |
none |
|
Required? |
true |
|
Position? |
named |
|
Default Value |
none |
|
Accept Pipeline Input? |
false |
|
Accept Wildcard Characters? |
false |
-MigrateDatasourceDataFromDPM
Indicates migration of the data source from the current volumes to a new set of volumes.
|
Aliases |
none |
|
Required? |
true |
|
Position? |
3 |
|
Default Value |
none |
|
Accept Pipeline Input? |
false |
|
Accept Wildcard Characters? |
false |
-PassThru
Use the PassThru parameter to allow cmdlets to be part of a pipeline. 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.
|
Aliases |
none |
|
Required? |
false |
|
Position? |
named |
|
Default Value |
none |
|
Accept Pipeline Input? |
false |
|
Accept Wildcard Characters? |
false |
-ProductionServerJournalSize<Int64>
Specify the journal size of the protected server.
|
Aliases |
none |
|
Required? |
false |
|
Position? |
named |
|
Default Value |
none |
|
Accept Pipeline Input? |
false |
|
Accept Wildcard Characters? |
false |
-ProtectionGroup<ProtectionGroup>
Provide a protection group object.
|
Aliases |
none |
|
Required? |
true |
|
Position? |
2 |
|
Default Value |
none |
|
Accept Pipeline Input? |
True (ByValue) |
|
Accept Wildcard Characters? |
false |
-ReplicaArea<Int64>
Sets the disk allocation for the replica area for the current data source.
|
Aliases |
none |
|
Required? |
false |
|
Position? |
named |
|
Default Value |
none |
|
Accept Pipeline Input? |
false |
|
Accept Wildcard Characters? |
false |
-ReplicaVolume<DpmServerVolume>
Provide a Replica Volume object. A replica volume is a volume on the DPM server that contains the replica of a protected data source.
|
Aliases |
none |
|
Required? |
false |
|
Position? |
named |
|
Default Value |
none |
|
Accept Pipeline Input? |
false |
|
Accept Wildcard Characters? |
false |
-ShadowCopyArea<Int64>
Sets the disk allocation for the shadow copy area for the current data source.
|
Aliases |
none |
|
Required? |
false |
|
Position? |
named |
|
Default Value |
none |
|
Accept Pipeline Input? |
false |
|
Accept Wildcard Characters? |
false |
-ShadowCopyVolume<DpmServerVolume>
Provide a Shadowcopy Volume object. This is the volume on which the shadow copy is present.
|
Aliases |
none |
|
Required? |
false |
|
Position? |
named |
|
Default Value |
none |
|
Accept Pipeline Input? |
false |
|
Accept Wildcard Characters? |
false |
-USNJournalSize<Int64>
Specify the USN journal size.
|
Aliases |
none |
|
Required? |
false |
|
Position? |
named |
|
Default Value |
none |
|
Accept Pipeline Input? |
false |
|
Accept Wildcard Characters? |
false |
-Confirm
Prompts you for confirmation before executing the command.
|
Required? |
false |
|
Position? |
named |
|
Default Value |
false |
|
Accept Pipeline Input? |
false |
|
Accept Wildcard Characters? |
false |
-WhatIf
Describes what would happen if you executed the command without actually executing the command.
|
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.
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.
- Datasource
Notes
-
For more information, type "Get-Help Set-DPMDatasourceDiskAllocation -detailed".
For technical information, type "Get-Help Set-DPMDatasourceDiskAllocation -full".
Examples
-------------------------- EXAMPLE 1 --------------------------
This command sets the disk allocation the second data source in the data source list $ds.
PS C:\>$pg = Get-ProtectionGroup -DPMServerName "TestingServer"$mpg = Get-ModifiableProtectionGroup $pg$ds = Get-Datasource -ProtectionGroup $mpgGet-DatasourceDiskAllocation -Datasource $ds[1]Set-DPMDatasourceDiskAllocation -Datasource $ds[1] -ProtectionGroup $mpgSet-ProtectionGroup $mpg
