Breaking Changes
This section contains information on breaking changes in Veeam PowerShell v12.1. These changes cause Veeam PowerShell v12.1 to function differently and could affect the code.
Backup Infrastructure Components
Object Storage Repositories
In this version, you can no longer enable immutability for an already configured object storage repository since it may result in data loss. Therefore, the EnableBackupImmutability parameter is removed from the following cmdlets:
Set-VBRAmazonS3CompatibleRepositoryModifies settings for S3 compatible object storage added as a backup repository.Set-VBRAmazonS3GlacierRepositoryModifies settings for Amazon S3 Glacier archive storage added as a backup repository.Set-VBRS3GlacierCompatibleRepositoryModifies settings of S3 compatible object storage with data archiving.Set-VBRAzureBlobRepositoryModifies Azure Blob storage added as a backup repository to the backup infrastructure.Set-VBRAzureArchiveRepositoryModifies settings for Azure Archive repository added to the backup infrastructure.
File Backup
In this version, Veeam PowerShell covers functionality related to the unstructured data backup. This feature allows you to back up and restore unstructured data: content of various file shares and object storage repositories. To support this functionality, the following changes have been done for cmdlets related to file backup jobs:
- A number of cmdlets that were used to work with file backup jobs are deprecated. For more information, see Deprecated Cmdlets.
- The following parameter types have been changed for the
Add-VBRNASBackupJobCreates file backup jobs. andSet-VBRNASBackupJobModifies file backup jobs. cmdlets:
|
Parameter |
Old Type |
New Type |
|---|---|---|
|
LongTermArchivalOptions |
VBRNASBackupArchivalOptions |
VBRUnstructuredBackupArchivalOptions |
|
ShortTermRetentionType |
VBRNASBackupShortTermRetentionType |
VBRUnstructuredBackupShortTermRetentionType |
|
LongTermRetentionType |
VBRNASBackupLongTermRetentionType |
VBRUnstructuredBackupLongTermRetentionType |
|
VersionRetentionOptions |
VBRNASBackupVersionRetentionOptions |
VBRUnstructuredBackupVersionRetentionOptions |
|
SecondaryTarget |
VBRNASBackupSecondaryTarget[] |
VBRUnstructuredBackupSecondaryTarget[] |
SureBackup
In this version, the type for the Job parameter is changed from the VBRSureBackupJob to VBRSureBackupJobBase for the following cmdlets:
Enable-VBRSureBackupJobEnables stopped SureBackup jobs.Disable-VBRSureBackupJobDisables running SureBackup jobs.Start-VBRSureBackupJobStarts the SureBackup job.Stop-VBRSureBackupJobStops the SureBackup job.Remove-VBRSureBackupJobRemoves SureBackup jobs.