Set-VBRBackupCopyJobStorageOptions
Short Description
Modifies storage optimization settings for backup copy jobs.
Applies to
Product Edition: Standard, Enterprise, Enterprise Plus
Syntax
Set-VBRBackupCopyJobStorageOptions -Options <VBRBackupCopyJobStorageOptions> [-EnableDataDeduplication] [-CompressionLevel {Auto | None | DedupeFriendly | Optimal | High | Extreme}] [-StorageOptimizationType {Automatic | LocalTarget | LocalTargetHugeBackup | LANTarget | WANTarget}] [-EnableEncryption] [-EncryptionKey <VBREncryptionKey>] [<CommonParameters>] |
Detailed Description
This cmdlet modifies storage optimization settings for backup copy jobs. To modify settings, you need to enter the corresponding parameters with new values. The parameters that you omit will remain unchanged.
Parameters
Parameter | Description | Type | Required | Position | Accept Pipeline Input |
Options | Specifies optimization settings for backup copy jobs. The cmdlet will modify these settings. | Accepts the VBRBackupCopyJobStorageOptions object. To create this object, run the Get-VBRJob cmdlet. | True | Named | True (ByValue) |
EnableDataDeduplication | Defines that the cmdlet will enable the data deduplication option for backup files created with a backup copy job. If you do not provide this parameter, Veeam Backup & Replication will not decrease the size of these backup files. | SwitchParameter | True | Named | False |
CompressionLevel | Specifies a compression level of backup files created with a backup copy job. You can specify either of the following compression level:
Default: Auto. | VBRCompressionLevel | False | Named | False |
StorageOptimizationType | Specifies data deduplication options.
Depending on the selected storage type, the job will use data blocks of different size to optimize the size of backup files. Default: LocalTarget. | VBRStorageOptimizationType | False | Named | False |
EnableEncryption | Defines that the cmdlet will encrypt backup files created with a backup copy job. If you do not provide this parameter, Veeam Backup & Replication will not encrypt these backup files. | SwitchParameter | False | Named | False |
EncryptionKey | For the encryption option. Specifies an encryption key. Veeam Backup & Replication will use this key to encrypt backup files. | VBREncryptionKey | False | Named | False |
<CommonParameters>
This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see the About CommonParameters section of Microsoft Docs.
Output Object
The cmdlet returns the VBRBackupCopyJobStorageOptions object that contains optimization settings for backup copy jobs.
Examples
Example 1. Enabling Data Deduplication for Storage Optimization Settings
This example shows how to enable the data deduplication option for storage optimization settings of a backup copy job.
Perform the following steps:
|
Example 2. Modifying Compression Level of Backup Files
This example shows how to modify compression level of backup files or storage optimization settings of a backup copy jobs. The cmdlet will change it from the dedupe-friendly to the extreme compression level.
Perform the following steps:
|
Related Commands