Set-VBREntraIDTenantBackupJob
Short Description
Modifies a backup job that protects a Microsoft Entra ID tenant.
Product Edition: Standard, Enterprise, Enterprise Plus, Veeam Universal License
Syntax
|
Set-VBREntraIDTenantBackupJob -Job <VBREntraIDTenantBackupJob> [-Name <String>] [-Description <String>] [-RetentionPolicy <Int32>] [-NotificationOptions <VBRNotificationOptions>] [-EnableSchedule] [-ScheduleOptions <VBRServerScheduleOptions>] [-EncryptionOptions <VBREncryptionOptions>] [-EnableSecondaryTarget] [-SecondaryTarget <VBREntraIDBackupSecondaryTarget[]>] [-TargetBackup <VBREntraIDTenantBackup>] [<CommonParameters>] |
Detailed Description
This cmdlet modifies an Entra ID tenant backup job.
Parameters
|
Parameter |
Description |
Type |
Required |
Position |
Accept Pipeline Input |
|---|---|---|---|---|---|
|
Description |
Specifies the description of the tenant backup job. |
|
False |
Named |
False |
|
EnableSchedule |
Defines that the cmdlet will enable the custom schedule for the tenant backup job.
If you provide this parameter, the tenant backup job will run according to the schedule specified in |
|
False |
Named |
False |
|
EnableSecondaryTarget |
Enables copying tenant backups to the secondary backup repository. |
|
False |
Named |
False |
|
EncryptionOptions |
Specifies encryption options.
Accepts the |
False |
Named |
False |
|
|
Job |
Specifies the tenant backup job that you want to modify.
Accepts the |
True |
Named |
True (ByPropertyName, ByValue) |
|
|
Name |
Specifies the name of the tenant backup job. |
|
False |
Named |
False |
|
NotificationOptions |
Specifies notification options. The cmdlet will create the log backup job with these notification options.
Accepts the |
False |
Named |
False |
|
|
RetentionPolicy |
Specifies the retention policy in days for backups created by the tenant backup job. |
|
False |
Named |
False |
|
ScheduleOptions |
Specifies schedule options.
Accepts the |
|
False |
Named |
True (ByPropertyName, ByValue) |
|
SecondaryTarget |
Specifies secondary repository settings.
Accepts the |
False |
Named |
False |
|
|
TargetBackup |
Specifies Entra ID backup copy settings. The cmdlet will use data of this backup to create a backup chain instead of creating the chain anew.
Accepts the |
False |
Named |
False |
<CommonParameters>
This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see Microsoft Docs.
Output Object
The cmdlet returns the VBREntraIDTenantBackupJob object that contains setting of the created tenant backup job.
Examples
Changing Settings of Entra ID Backup Job
This example shows how to change the settings of the Tenant Backup backup job and disable encryption.
|
$backupJob = Get-VBREntraIDTenantBackupJob -Name "Tenant Backup" $encOptions = New-VBREncryptionOptions -EnableEncryption:$false Set-VBREntraIDTenantBackupJob -Job $backupJob -Description "Backup of Entra ID tenant" -RetentionPolicy 12 -EncryptionOptions $encOptions |
Perform the following steps:
- Run the
Get-VBREntraIDTenantBackupJobReturns backup jobs that protect Microsoft Entra ID tenants. cmdlet. Specify theNameparameter value. Save the result to the$backupJobvariable. - Run the
New-VBREncryptionOptionsDefines encryption settings. cmdlet. Set theEnableEncryptionparameter value to$false. Save the result to the$encOptionsvariable. - Run the
Set-VBREntraIDTenantBackupJobcmdlet. Specify the following:- Set the
$backupJobvariable as theJobparameter value. - Specify the
DescriptionandRetentionPolicyparameter values. - Set the
$encOptionsvariable as theEncryptionOptionsparameter value.
- Set the
Related Commands
Get-VBREntraIDTenantBackupJobReturns backup jobs that protect Microsoft Entra ID tenants.New-VBREncryptionOptionsDefines encryption settings.New-VBREntraIDBackupSecondaryTargetDefines secondary repository settings.