Set-VBRConfigurationBackupJob
Short Description
Modifies the configuration backup job.
Platform: VMware, Hyper-V
Product Edition: Standard, Enterprise, Enterprise Plus, Veeam Universal License
Syntax
|
Set-VBRConfigurationBackupJob [-Enable] [-Repository <CBackupRepository>] [-ScheduleOptions <VBRConfigurationBackupScheduleOptions>] [-RestorePointsToKeep <Int32>] [-EnableEncryption] [-EncryptionKey <VBREncryptionKey>] [-NotificationOptions <VBRNotificationOptions>] [-PassThru] [<CommonParameters>] |
Detailed Description
This cmdlet modifies settings of the configuration backup job.
Note |
|
To modify settings, specify new values for the necessary parameters. The cmdlet will overwrite the previous parameter values with new values. The parameters that you omit will remain unchanged. |
Parameters
|
Parameter |
Description |
Type |
Required |
Position |
Accept Pipeline Input |
|---|---|---|---|---|---|
|
Enable |
Defines that the job will run automatically on schedule.
If set to
Default:
Note: To disable the configuration job schedule, specify the |
|
False |
Named |
False |
|
EnableEncryption |
If set to
Use the Note: if you have created at least one password in the Password Manager on the backup server, you must enable encryption for the configuration backup. |
|
False |
Named |
False |
|
EncryptionKey |
Used to set the encryption key for the Specifies the encryption key you want to use to encrypt the data.
Accepts the |
|
False |
Named |
False |
|
NotificationOptions |
Specifies email notification options for the configuration backup job.
Accepts the |
False |
Named |
False |
|
|
PassThru |
Defines that the command returns the output object to the Windows PowerShell console. |
|
False |
Named |
False |
|
Repository |
Specifies the backup repository where you want to store the configuration backups. You cannot specify a cloud repository that is created on base of scale-out backup repository.
Accepts the |
|
False |
Named |
False |
|
RestorePointsToKeep |
Specifies the number of restore points you want to keep on disk.
You can set |
|
False |
Named |
False |
|
ScheduleOptions |
Specifies the schedule for the configuration backup job.
Accepts the |
False |
Named |
False |
<CommonParameters>
This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see Microsoft Docs.
Output Object
Examples
Example 1. Disabling Configuration Backup Job
|
This command disables the configuration backup job.
|
Example 2. Modifying Configuration Backup Schedule and Enabling Encryption
|
This command modifies the configuration backup schedule and enables encryption. The job is set to run at 00:00 every Saturday.
Perform the following steps:
|
Related Commands
Get-VBRBackupRepositoryReturns a list of backup repositories.New-VBRConfigurationBackupScheduleOptionsCreates a new VBRConfigurationBackupScheduleOptions object.Get-VBREncryptionKeyReturns encryption keys.