Set-VBRJobAdvancedStorageOptions
Short Description
Customizes advanced job storage settings.
Platform: VMware, Hyper-V
Product Edition: Standard, Enterprise, Enterprise Plus, Veeam Universal License
Syntax
|
Set-VBRJobAdvancedStorageOptions -Job <CBackupJob[]> [-EnableDeduplication <Boolean>] [-CompressionLevel <Int32>] [-StorageBlockSize <EKbBlockSize>] [-EnableEncryption <Boolean>] [-EncryptionKey <PSCryptoKey>] [-KMSServer <VBRKMSServer>] [<CommonParameters>] |
Detailed Description
This cmdlet sets storage options for the selected job.
You can enable backup data deduplication and customize data units compression level and size.
Read more about job storage settings in Veeam Backup & Replication User Guide.
Note |
|
To modify settings, specify new values for the necessary parameters. The cmdlet will overwrite the previous parameters values with new values. The parameters that you omit will remain unchanged. |
Parameters
|
Parameter |
Description |
Type |
Required |
Position |
Accept Pipeline Input |
|---|---|---|---|---|---|
|
CompressionLevel |
Specifies the compression level for the created backup:
Default: |
|
False |
Named |
False |
|
EnableDeduplication |
Defines whether the job will deduplicate.
|
|
False |
Named |
False |
|
EnableEncryption |
Defines whether the job must use encryption. Use the |
|
False |
Named |
False |
|
EncryptionKey |
Used to specify the encryption key for the
Accepts the |
False |
Named |
False |
|
|
Job |
Specifies the array of jobs. The cmdlet will modify advanced storage options of these jobs.
Accepts the |
|
True |
Named |
True (ByPropertyName, ByValue) |
|
KMSServer |
Specifies KMS servers added to the Veeam Backup & Replication console. The cmdlet will decrypt data encrypted by this server.
Accepts the |
False |
Named |
False |
|
|
StorageBlockSize |
Specifies the integer defining the data blocks size. Larger sized blocks provide faster procession but lower deduplication level.
Default: |
|
False |
Named |
False |
<CommonParameters>
This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see Microsoft Docs.
Examples
Example 1. Editing Advanced Storage Settings for Backup Job [Using Pipeline]
|
This example shows how to edit advanced storage settings for the
Perform the following steps:
|
Example 2. Applying Optimal Compression Level to all Jobs [Using Pipeline]
|
This example shows how to apply the optimal compression level (=5) to all jobs.
Perform the following steps:
|
Related Commands
Get-VBRJobReturns existing jobs.Get-VBREncryptionKeyReturns encryption keys.