Condividi tramite


Set-DPMDatasourceDiskAllocation

Set-DPMDatasourceDiskAllocation

Changes disk allocation for protected data.

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 changes disk allocation for protected data. By default, System Center 2012 – Data Protection Manager (DPM) allocates disk space and volumes for the data source. The cmdlet gives you the following options for changing disk allocation:

-- Specify the amount of disk space to allocate to each data source in a protection group.
-- Specify the volumes to use for each data source in a protection group.

Parameters

-AutoGrow<Boolean>

Indicates whether DPM increases the size of the replica or recovery point volume automatically when it runs out of user space.

Aliases

none

Required?

true

Position?

2

Default Value

none

Accept Pipeline Input?

True (ByValue)

Accept Wildcard Characters?

false

-CustomRequirements

Indicates that you can 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>

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.

Aliases

none

Required?

true

Position?

1

Default Value

none

Accept Pipeline Input?

True (ByValue)

Accept Wildcard Characters?

false

-DestinationDiskPool<Disk[]>

Specifies the set of disks on which DPM allocates volumes to migrate 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>

Specifies the destination volume that the user allocates to migrate 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>

Specifies the destination volume that the user allocates to migrate 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>

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

Aliases

none

Required?

true

Position?

named

Default Value

none

Accept Pipeline Input?

True (ByValue)

Accept Wildcard Characters?

false

-FormatVolumes

Indicates that DPM formats the allocated volumes.

Aliases

none

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

-Manual

Indicates that you can apply DPM settings manually.

Aliases

none

Required?

true

Position?

named

Default Value

none

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

-MigrateDatasourceDataFromDPM

Indicates that DPM migrates 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

Returns an object representing the item with which you are working. By default, this cmdlet does not generate any output.

Aliases

none

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

-ProductionServerJournalSize<Int64>

Specifies 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>

Specifies a protection group on which this cmdlet operates. 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

-ReplicaArea<Int64>

Specifies the disk allocation for the replica area of the current data source.

Aliases

none

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

-ReplicaVolume<DpmServerVolume>

Specifies 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>

Specifies the disk allocation for the shadow copy area of the current data source.

Aliases

none

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

-ShadowCopyVolume<DpmServerVolume>

Specifies an object for a shadow copy volume. This object represents the volume that contains the shadow copy.

Aliases

none

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

-USNJournalSize<Int64>

Specifies the journal size for the update sequence number (USN).

Aliases

none

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

false

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.

  • Datasource

Set-DPMDatasourceDefaultDiskAllocation