--- title: "VBRNASBackupSecondaryTarget" description: "Contains settings of secondary backup repositories. New-VBRNASBackupSecondaryTarget Set-VBRNASBackupSecondaryTarget" canonical: "https://helpcenter.veeam.com/docs/vbr/powershell/vbrnasbackupsecondarytarget.html" breadcrumb: "Veeam PowerShell Reference > Veeam PowerShell Reference > Veeam PowerShell Types > VBRNASBackupSecondaryTarget" dateModified: "2026-08-19" --- # VBRNASBackupSecondaryTarget Contains settings of secondary backup repositories. ## Properties
|
Property |
Type |
Description |
|---|---|---|
|
BackupRepository |
CBackupRepository |
Secondary backup repository. |
|
CustomRetentionEnabled |
Bool |
Defines if the custom retention policy is enabled:
|
|
CustomRetentionType |
VBRNASBackupShortTermRetentionType |
Retention policy for the secondary repository. |
|
CustomRetentionPeriod |
Int32 |
Time period for the custom retention policy. |
|
UseCustomEncryptionKey |
Bool |
Defines if the custom encryption key is used to encrypt data:
|
|
CustomEncryptionKey |
VBREncryptionKey |
Encryption key used to encrypt data. |
|
BackupWindowEnabled |
Bool |
Defines if the backup window option is enabled:
|
|
BackupWindow |
Backup window settings. |