Set-WBPerformanceConfiguration
Set-WBPerformanceConfiguration
Sets the current volume backup performance settings.
構文
Parameter Set: OverallSetting
Set-WBPerformanceConfiguration [-OverallPerformanceSetting] [-PerformanceSetting] <WBPerformanceConfiguration> [ <CommonParameters>]
Parameter Set: Volume
Set-WBPerformanceConfiguration [-Volume] <WBVolume> [-PerformanceSetting] <WBPerformanceConfiguration> [ <CommonParameters>]
詳細説明
The Set-WBPerformanceSetting cmdlet sets the current volume backup performance settings. The settings are applicable only for volume backups; these settings are not applicable for files, folders, system state, or applications. The settings apply globally to all volumes in a backup, or to specific volumes.
パラメーター
-OverallPerformanceSetting
If present, specifies that the changes affect the global performance setting. If not present, then the Volume parameter must be specified.
エイリアス |
なし |
必須? |
true |
位置は? |
1 |
既定値 |
なし |
パイプライン入力を許可する |
false |
ワイルドカード文字を許可する |
false |
-PerformanceSetting<WBPerformanceConfiguration>
The valid settings are:
--AlwaysFull: The time to create a backup is proportional to the size of volume being backed up. This can be set at a global level for all volumes or specific for some volumes.
--AlwaysIncremental: Increase the backup speed by just tracking the changes between the last and current backup. This option is not recommended for servers with disk-intensive operation which may experience reduced disk throughput on volumes included in the backup. This can be set at a global level for all volumes or specific for some volumes.
エイリアス |
なし |
必須? |
true |
位置は? |
2 |
既定値 |
なし |
パイプライン入力を許可する |
false |
ワイルドカード文字を許可する |
false |
-Volume<WBVolume>
Specifies the object for the current performance settings.
エイリアス |
なし |
必須? |
true |
位置は? |
1 |
既定値 |
なし |
パイプライン入力を許可する |
false |
ワイルドカード文字を許可する |
false |
<CommonParameters>
このコマンドレットは次の共通パラメーターをサポートします。-Verbose、-Debug、-ErrorAction、-ErrorVariable、-OutBuffer、-OutVariable.詳細については、以下を参照してください。 about_CommonParameters (https://go.microsoft.com/fwlink/p/?LinkID=113216)。
入力
入力型は、コマンドレットにパイプできるオブジェクトの型です。
SwitchParameter, WBVolume
Indicates either a global setting or the per volume performance setting.
出力
出力型は、コマンドレットによって生成されるオブジェクトの型です。
- None
例
Example 1: Set the global performance setting
This command sets the global performance settings as incremental for volume backups.
PS C:\> Set-WBPerformanceConfiguration -OverallPerformanceSetting AlwaysIncremental
Example 2: Set a specific volume performance setting
This example sets the performance settings for a specific volume.
The first command stores the result of the Get-WBBackupSet cmdlet in the variable named $Backup.
The second command sets the AlwaysFull performance setting on the second volume of $Backup.
PS C:\> $Backup = Get-WBBackupSet
PS C:\> Set-WBPerformanceConfiguration -Volume $Backup.Volume[1] AlwaysFull