Set-VBRPluginBackupCopyJob
Short Description
Modifies plug-in backup copy jobs.
Product Edition: Standard, Enterprise, Enterprise Plus, Veeam Universal License
Syntax
|
Set-VBRPluginBackupCopyJob -Job <VBRPluginBackupCopyJob> [-Name <String>] [-Description <String>] [-SourceRepository <CBackupRepository[]>] [-SourceJob <VBRPluginBackupJob[]>] [-ExcludedJob <VBRPluginBackupJob[]>] [-TargetRepository <CBackupRepository>] [-ApplicationDataRetention <Int32>] [-NotificationOptions <VBRNotificationOptions>] [-StorageOptions <VBRPluginCopyJobStorageOptions>] [-BackupWindowOptions <VBRBackupWindowOptions>] [-RPOWarningOptions <VBRRpoNotificationOption[]>] [-Force] [-AnyTime] [<CommonParameters>] |
Detailed Description
This example modifies plug-in backup copy jobs.
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 |
|---|---|---|---|---|---|
|
AnyTime |
Defines that the job will run continuously. If you provide this parameter, the job will run at any time. Otherwise, the job will run only during permitted hours. |
|
False |
Named |
False |
|
ApplicationDataRetention |
Specifies the number of days. The cmdlet will create a plug-in backup copy job with the specified amount of days. |
|
False |
Named |
False |
|
BackupWindowOptions |
Specifies backup window settings for a job. The cmdlet will modify the plug-in backup copy job with these settings.
Accepts the |
False |
Named |
False |
|
|
Description |
Specifies a description of a plug-in backup copy job. The cmdlet will assign this description to the job. |
|
False |
Named |
False |
|
ExcludedJob |
Specifies an array of plug-in backup jobs that you do not want to process by a plug-in backup copy job. The cmdlet will replace an existing list of excluded plug-in backup jobs with the array of specified excluded plug-in backup jobs.
Accepts the |
|
False |
Named |
False |
|
Force |
Defines that the job will be created even if the source repository is located on the different from the target repository host. |
|
False |
Named |
False |
|
Job |
Specifies a plug-in backup copy job. The cmdlet will modify this job.
Accepts the |
|
True |
Named |
True (ByPropertyName, ByValue) |
|
Name |
Specifies a name of a plug-in backup copy job. The cmdlet will assign this name to the job. |
|
False |
Named |
False |
|
NotificationOptions |
Specifies notification settings. The cmdlet will modify a plug-in backup job with these settings.
Accepts the |
False |
Named |
False |
|
|
RPOWarningOptions |
Specifies an array of the number of hours when data must be copied from the source repository to the target repository.
Default:
Accepts the |
False |
Named |
False |
|
|
SourceJob |
Specifies a plug-in backup job. The cmdlet will replace the existing source plug-in backup job with the specified plug-in backup job.
Accepts the |
|
False |
Named |
False |
|
SourceRepository |
Specifies a backup repository that contains backups of databases, created by a plug-in backup job. The cmdlet replace the existing source repository with the specified backup repository.
Accepts the |
|
False |
Named |
False |
|
StorageOptions |
Specifies settings for compression and storage optimization of the target backup repository. The cmdlet will modify a plug-in backup job with these settings.
Accepts the |
|
False |
Named |
False |
|
TargetRepository |
Specifies a target backup repository. The cmdlet will copy plug-in backups to this repository.
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 VBRPluginBackupCopyJob object that contains settings for plug-in backup copy jobs.
Examples
Example 1. Modifying Target Repository of Plug-In Backup Copy Job
|
This example shows how to change the target repository for a plug-in backup copy job.
Perform the following steps:
|
Example 2. Excluding Jobs from Plug-In Backup Copy Job
|
This example shows how to exclude the
Perform the following steps:
|
Example 3. Modifying Storage Optimization Settings of Plug-In Backup Copy Job
|
This example shows how to modify storage optimization settings for a plug-in backup copy job. The plug-in backup copy job will run with the following storage optimization settings:
Perform the following steps:
|
Related Commands
Get-VBRPluginJobReturns backup jobs that were created with standalone Veeam Plug-ins and backup copy jobs of backups created with Veeam Plug-ins.New-VBRPluginCopyJobStorageOptionsDefines storage optimization settings for plug-in backup copy jobs.