Set-VBRConfigurationBackupJob
Short Description
Modifies the configuration backup job.
Applies to
Platform: VMware, Hyper-V
Product Edition: Standard, Enterprise, Enterprise Plus, Veeam Universal License
Syntax
|
Set-VBRConfigurationBackupJob [-Enable] [-Repository <CBackupRepository>] [-ScheduleOptions <VBRConfigurationBackupScheduleOptions>] [-RestorePointsToKeep <int>] [-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 $False, you will need to run the job manually. Default: True. Note: To disable the configuration job schedule, specify the $false value for the Enable parameter. |
SwitchParameter |
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 CBackupRepository object or string (repository name). To get this object, run the Get-VBRBackupRepository cmdlet. |
False |
Named |
False |
|
ScheduleOptions |
Specifies the schedule for the configuration backup job. |
Accepts the VBRConfigurationBackupScheduleOptions object. To get this object, run the New-VBRConfigurationBackupScheduleOptions cmdlet. |
False |
Named |
False |
|
RestorePointsToKeep |
Specifies the number of restore points you want to keep on disk. You can set 1 to 255. |
Int32 |
False |
Named |
False |
|
EnableEncryption |
If set to true, the configuration backup will be encrypted. Use the EncryptionKey parameter to specify the encryption key. 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. |
SwitchParameter |
False |
Named |
False |
|
EncryptionKey |
Used to set the encryption key for the EnableEncryption parameter. Specifies the encryption key you want to use to encrypt the data. |
Accepts the VBREncryptionKey object. To get this object, run the Get-VBREncryptionKey cmdlet. |
False |
Named |
False |
|
NotificationOptions |
Specifies email notification options for the configuration backup job. |
Accepts the VBRNotificationOptions object. Run the New-VBRNotificationOptions cmdlet to create this object. |
False |
Named |
False |
|
PassThru |
Defines that the command returns the output object to the Windows PowerShell console. |
SwitchParameter |
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