Add-VBRPluginBackupCopyJob
Short Description
Creates plug-in backup copy jobs.
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-VBRPluginJobReturns backup jobs that were created with standalone Veeam Plug-ins and backup copy jobs of backups created with Veeam Plug-ins. cmdlet to get the plug-in backup job. - Backup files that are stored in the source repositories. Run the
Get-VBRBackupRepositoryReturns a list of backup repositories. cmdlet to get the source repository.
Note |
|
The backup copy job is created in the disabled state. Run the |
Parameters
|
Parameter |
Description |
Type |
Required |
Position |
Accept Pipeline Input |
|---|---|---|---|---|---|
|
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 create 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 create the job with this description. |
|
False |
Named |
False |
|
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 |
|
False |
Named |
False |
|
Force |
Defines that the job will be created even if the source repository is located in the different geographic location than the target repository. |
|
False |
Named |
False |
|
Name |
Specifies a name of a plug-in backup copy job. The cmdlet will create the job with this name. |
|
False |
Named |
False |
|
NotificationOptions |
Specifies notification settings. The cmdlet will create the plug-in backup copy 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 add databases processed by this job to the plug-in backup copy 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 will add backups located on this repository to the plug-in backup copy job.
Accepts the |
|
False |
Named |
False |
|
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 |
|
False |
Named |
False |
|
TargetRepository |
Specifies a target backup repository. The cmdlet will copy plug-in backups to this repository.
Accepts the |
|
True |
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
Get-VBRPluginJobReturns backup jobs that were created with standalone Veeam Plug-ins and backup copy jobs of backups created with Veeam Plug-ins.Get-VBRBackupRepositoryReturns a list of backup repositories.