Add-VBRPluginBackupCopyJob
Short Description
Creates plug-in backup copy jobs.
Applies to
Product Edition: Standard, Enterprise, Enterprise Plus, Veeam Universal License
Syntax
Add-VBRPluginBackupCopyJob -TargetRepository <CBackupRepository> [-Name <String>] [-Description <String>] [-SourceJob <VBRPluginBackupJob[]>] [-ExcludedJob <VBRPluginBackupJob[]>] [-SourceRepository <CBackupRepository[]>] [-ApplicationDataRetention <Int32>] [-NotificationOptions <VBRNotificationOptions>] [-StorageOptions <VBRPluginCopyJobStorageOptions>] [-BackupWindowOptions <VBRBackupWindowOptions>] [-RPOWarningOptions <VBRRpoNotificationOption[]>] [-Force] [<CommonParameters>] |
Detailed Description
This cmdlet creates plug-in backup copy jobs. To create plug-in backup copy jobs, you must specify at least one source that contains the data you want to add to the copy job. Plug-in backup copy jobs use one of the following sources:
- The existing plug-in backup job created to back up Oracle RMAN or SAP HANA. Run the Get-VBRPluginJob cmdlet to get the plug-in backup job.
- Backup files that are stored in the source repositories. Run the Get-VBRBackupRepository cmdlet to get the source repository.
Note |
The backup copy job is created in the disabled state. Run the Enable-VBRPluginJob cmdlet to run the job manually. |
Parameters
Parameter | Description | Type | Required | Position | Accept Pipeline Input |
---|---|---|---|---|---|
TargetRepository | Specifies a target backup repository. The cmdlet will copy plug-in backups to this repository. | Accepts the CBackupRepository object. To get this object, run the | True | Named | True (ByValue, ByPropertyName) |
Name | Specifies a name of a plug-in backup copy job. The cmdlet will create the job with this name. | String | False | Named | True (ByValue, ByPropertyName) |
Description | Specifies a description of a plug-in backup copy job. The cmdlet will create the job with this description. | String | False | Named | True (ByValue, ByPropertyName) |
SourceJob | Specifies a plug-in backup job. The cmdlet will add databases processed by this job to the plug-in backup copy job. | Accepts the VBRPluginBackupJob[] object. To get this object, run the Get-VBRPluginJob cmdlet. | False | Named | True (ByValue, ByPropertyName) |
ExcludedJob | Specifies a plug-in backup job that you do not want to process by a plug-in backup copy job. The cmdlet will not add databases processed by this job to the plug-in backup copy job. | Accepts the VBRPluginBackupJob[] object. To get this object, run the Get-VBRPluginJob cmdlet. | False | Named | True (ByValue, ByPropertyName) |
SourceRepository | Specifies a backup repository that contains backups of databases, created by a plug-in backup job. The cmdlet will add backups located on this repository to the plug-in backup copy job. | Accepts the CBackupRepository object. To get this object, run the Get-VBRBackupRepository cmdlet. | False | Named | True (ByValue, ByPropertyName) |
ApplicationDataRetention | Specifies the number of days. The cmdlet will create a plug-in backup copy job with the specified amount of days. | Int32 | False | Named | True (ByValue, ByPropertyName) |
NotificationOptions | Specifies notification settings. The cmdlet will create the plug-in backup copy job with these settings. | Accepts the VBRNotificationOptions object. To create this object, run the New-VBRNotificationOptions cmdlet. | False | Named | True (ByValue, ByPropertyName) |
StorageOptions | Specifies settings for compression and storage optimization of the target backup repository. The cmdlet will create the plug-in backup copy job with these settings. | Accepts the VBRPluginCopyJobStorageOptions object. To create this object, run the New-VBRPluginCopyJobStorageOptions cmdlet. | False | Named | True (ByValue, ByPropertyName) |
BackupWindowOptions | Specifies backup window settings for a job. The cmdlet will create the plug-in backup copy job with these settings. | Accepts the VBRBackupWindowOptions object. To create this object, run the New-VBRBackupWindowOptions cmdlet. | False | Named | True (ByValue, ByPropertyName) |
RPOWarningOptions | Specifies an array of the number of hours when data must be copied from the source repository to the target repository. Default: 1. | Accepts the VBRRpoNotificationOption[] object. To create this object, run the New-VBRRPONotificationOptions cmdlet. | False | Named | True (ByValue, ByPropertyName) |
Force | Defines that the job will be created even if the source repository is located in the different geographic location than the target repository. | SwitchParameter | 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. Creating Plug-In Backup Copy Job Using Existing Plug-In Backup Job
This example shows how to create a plug-in backup copy job using the existing plug-in backup job.
Perform the following steps:
|
Example 2. Creating Plug-In Backup Copy Job Using Source Repository
This example shows how to create a plug-in backup copy job using the source repository.
Perform the following steps:
|
Example 3. Creating Plug-In Backup Copy Job Using Job and Source Repository
This example shows how to create a plug-in backup copy job using the existing backup copy job and a source repository.
Perform the following steps:
|
Related Commands