Set-DPMDatasourceProtectionOption

Set-DPMDatasourceProtectionOption

Sets protection options for a DPM data source.

構文

Parameter Set: AllowClientUserToAddFileSpecs
Set-DPMDatasourceProtectionOption [-ProtectionGroup] <ProtectionGroup> [-AllowClientUserToAddFileSpecs] <Boolean> [-PassThru] [-Confirm] [-WhatIf] [ <CommonParameters>]

Parameter Set: AutoConsistencyCheck
Set-DPMDatasourceProtectionOption [-ProtectionGroup] <ProtectionGroup> [-AutoConsistencyCheck] <Boolean> [-PassThru] [-Confirm] [-WhatIf] [ <CommonParameters>]

Parameter Set: ClientFileSpecOptions
Set-DPMDatasourceProtectionOption [-ProtectionGroup] <ProtectionGroup> [-Path] <String> [-ClientFileSpecOperation] <ClientFileSpecOperationType> {AddInclude | RemoveInclude | AddExclude | RemoveExclude} [-PassThru] [-Confirm] [-WhatIf] [ <CommonParameters>]

Parameter Set: ExchangeOptions
Set-DPMDatasourceProtectionOption [-ProtectionGroup] <ProtectionGroup> [[-TopologyType] <ProtectionTopologyType> {PT_CCR_PHYSICAL_NODE | PT_CCR_ACTIVE_ONLY | PT_CCR_PASSIVE_ONLY | PT_CCR_ACTIVE_IF_NO_PASSIVE} ] [[-PreferredPhysicalNode] <String[][]> ] -ExchangeOptions [-BackUpType <AllowedBackupTypeType> {FullBackup | CopyBackup} ] [-Datasource <Datasource> ] [-EseutilCheckType <EseutilTypeType> {DontRun | RunOnLogs | RunOnLogsAndDB} ] [-PassThru] [-RunEseUtilConsistencyCheck] [-Confirm] [-WhatIf] [ <CommonParameters>]

Parameter Set: FileExclusionAddOptions
Set-DPMDatasourceProtectionOption [-ProtectionGroup] <ProtectionGroup> [-FileType] <String> -Add [-PassThru] [-Confirm] [-WhatIf] [ <CommonParameters>]

Parameter Set: FileExclusionRemoveOptions
Set-DPMDatasourceProtectionOption [-ProtectionGroup] <ProtectionGroup> [-FileType] <String> -Remove [-PassThru] [-Confirm] [-WhatIf] [ <CommonParameters>]

詳細説明

The Set-DPMDatasourceProtectionOption cmdlet sets protection options for a System Center 2012 – Data Protection Manager (DPM) data source. You can set the following protection options:

-- Exclude all files of a particular type (for example, all MP3 files) from protection.
-- Remove exclusions.
-- Set protection options for a Microsoft Exchange data source.

パラメーター

-Add

Indicates that the cmdlet adds a file exclusion to a protection group.

エイリアス

none

必須?

true

位置は?

named

既定値

none

パイプライン入力を許可する

false

ワイルドカード文字を許可する

false

-AllowClientUserToAddFileSpecs<Boolean>

Indicates whether the user can specify which folders to protect.

エイリアス

none

必須?

true

位置は?

2

既定値

none

パイプライン入力を許可する

false

ワイルドカード文字を許可する

false

-AutoConsistencyCheck<Boolean>

Indicates whether DPM automatically runs consistency checks on the data sources of a protection group if a replica becomes inconsistent.

エイリアス

none

必須?

true

位置は?

2

既定値

none

パイプライン入力を許可する

false

ワイルドカード文字を許可する

false

-BackUpType<AllowedBackupTypeType>

Indicates the type of backup. Valid values for this parameter are:

-- CopyBackup
-- FullBackup.

エイリアス

none

必須?

false

位置は?

named

既定値

none

パイプライン入力を許可する

false

ワイルドカード文字を許可する

false

-ClientFileSpecOperation<ClientFileSpecOperationType>

Indicates which folders to add to the inclusion list or remove from the exclusion list. Valid values for this parameter are:

-- AddInclude
-- RemoveInclude
-- AddExclude
-- RemoveExclude

エイリアス

none

必須?

true

位置は?

3

既定値

none

パイプライン入力を許可する

false

ワイルドカード文字を許可する

false

-Datasource<Datasource>

Specifies a data source object. A data source can be a Windows file system share or volume, SQL Server database, Microsoft Exchange storage group, Microsoft SharePoint farm, virtual machine, DPM database, or system state that is a member of a protection group.

エイリアス

none

必須?

false

位置は?

named

既定値

none

パイプライン入力を許可する

false

ワイルドカード文字を許可する

false

-EseutilCheckType<EseutilTypeType>

Indicates how to run the Exchange database repair tool Eseutil. Valid values for this parameter are:

-- DontRun
-- RunOnLogs
-- RunOnLogsAndDB.

エイリアス

none

必須?

false

位置は?

named

既定値

none

パイプライン入力を許可する

false

ワイルドカード文字を許可する

false

-ExchangeOptions

Indicates that the options that follow affect only Microsoft Exchange data sources.

エイリアス

none

必須?

true

位置は?

named

既定値

none

パイプライン入力を許可する

false

ワイルドカード文字を許可する

false

-FileType<String>

Indicates a file type to include in or exclude from a protection group.

エイリアス

none

必須?

true

位置は?

2

既定値

none

パイプライン入力を許可する

false

ワイルドカード文字を許可する

false

-PassThru

Indicates that the cmdlet generates output. By default, this cmdlet does not generate output. You can use the PassThru parameter in order to use the cmdlet in a pipeline.

エイリアス

none

必須?

false

位置は?

named

既定値

none

パイプライン入力を許可する

false

ワイルドカード文字を許可する

false

-Path<String>

Specifies the path to a folder to add to the inclusion list or remove from the exclusion list.

エイリアス

none

必須?

true

位置は?

2

既定値

none

パイプライン入力を許可する

false

ワイルドカード文字を許可する

false

-PreferredPhysicalNode<String[][]>

Specifies an array of names of servers to protect for Preferred Server topology. This parameter applies only to servers that use cluster continuous replication in Microsoft Exchange Server 2007.

エイリアス

none

必須?

false

位置は?

4

既定値

none

パイプライン入力を許可する

false

ワイルドカード文字を許可する

false

-ProtectionGroup<ProtectionGroup>

Specifies a protection group object.

エイリアス

none

必須?

true

位置は?

1

既定値

none

パイプライン入力を許可する

True (ByValue)

ワイルドカード文字を許可する

false

-Remove

Indicates that the cmdlet performs a remove operation.

エイリアス

none

必須?

true

位置は?

named

既定値

none

パイプライン入力を許可する

false

ワイルドカード文字を許可する

false

-RunEseUtilConsistencyCheck

Indicates that the cmdlet runs Eseutil consistency checking. This parameter applies only to Microsoft Exchange data sources.

エイリアス

none

必須?

false

位置は?

named

既定値

none

パイプライン入力を許可する

false

ワイルドカード文字を許可する

false

-TopologyType<ProtectionTopologyType>

Specifies the topology type. Valid values for this parameter are:

-- Active
-- Passive
-- Active if Passive Not Available

This parameter applies only to Microsoft Exchange Server 2007 installations that run cluster continuous replication.

エイリアス

none

必須?

false

位置は?

3

既定値

none

パイプライン入力を許可する

false

ワイルドカード文字を許可する

false

-Confirm

コマンドレットを実行する前に、ユーザーに確認を求めます。

必須?

false

位置は?

named

既定値

false

パイプライン入力を許可する

false

ワイルドカード文字を許可する

false

-WhatIf

コマンドレットを実行するとどのような結果になるかを表示します。コマンドレットは実行されません。

必須?

false

位置は?

named

既定値

false

パイプライン入力を許可する

false

ワイルドカード文字を許可する

false

<CommonParameters>

このコマンドレットは次の共通パラメーターをサポートします。-Verbose、-Debug、-ErrorAction、-ErrorVariable、-OutBuffer、-OutVariable.詳細については、以下を参照してください。 about_CommonParameters (https://go.microsoft.com/fwlink/p/?LinkID=113216)。

入力

入力型は、コマンドレットにパイプできるオブジェクトの型です。

出力

出力型は、コマンドレットによって生成されるオブジェクトの型です。

  • Datasource

Example 1: Set a consistency check for a protection group

This example sets a consistency check for a protection group.

The first command gets the protection groups from the server named DPMServer02 and stores the result in the $Pg variable.

The second command sets an automatic consistency check to run on all protection groups in $Pg.

PS C:\> $Pg = Get-DPMProtectionGroup –DPMServerName "DPMServer02"C:\> Set-DPMDatasourceProtectionOption -ProtectionGroup $Pg -AutoConsistencyCheck $True

関連トピック

Get-DPMDatasourceProtectionOption