Add-VBRComputerBackupCopyJob (obsolete)
Short Description
Creates Veeam Agent backup copy jobs.
Note |
|
This cmdlet is obsolete and only works for creating a simple mode backup copy job. It is recommended to create a new backup job using the |
Product Edition: Standard, Enterprise, Enterprise Plus, Veeam Universal License
Syntax
This cmdlet provides the following parameter sets:
-
DirectOperationAdd-VBRComputerBackupCopyJob [-Name <String>] [-Description <String>] [-Backup <CBackup[]>]
[-BackupJob <VBRComputerBackupJob[]>] [-SourceRepository <CBackupRepository[]>]
[-Repository <CBackupRepository>] -OSPlatform <VBRAgentType> [-DirectOperation] [-Force]
[-EnableImmediateCopy] [-RecoveryPointObjective <VBRRecoveryPointObjective>]
[-RetentionPolicy <VBRRetentionPolicy>] [-BackupWindowOptions <VBRBackupWindowOptions>]
[-NotificationOptions <VBRNotificationOptions>] [-StorageOptions <VBRBackupCopyJobStorageOptions>]
[-HealthCheckOptions <VBRHealthCheckOptions>] [-ScriptOptions <VBRJobScriptOptions>]
[-RPOWarningOptions <VBRRpoNotificationOption[]>] [-EnableTransactionLogCopy]
[-GFSOptions <VBRComputerGFSOptions>] [-RetentionType <VBRRetentionType>] [-RetentionNumber <Int32>] [<CommonParameters>]
-
WanAcceleratorAdd-VBRComputerBackupCopyJob [-Name <String>] [-Description <String>] [-Backup <CBackup[]>]
[-BackupJob <VBRComputerBackupJob[]>] [-SourceRepository <CBackupRepository[]>]
[-Repository <CBackupRepository>] -OSPlatform <VBRAgentType> -SourceAccelerator <CWanAccelerator>
[-TargetAccelerator <CWanAccelerator>] [-Force] [-EnableImmediateCopy]
[-RecoveryPointObjective <VBRRecoveryPointObjective>] [-RetentionPolicy <VBRRetentionPolicy>]
[-BackupWindowOptions <VBRBackupWindowOptions>] [-NotificationOptions <VBRNotificationOptions>]
[-StorageOptions <VBRBackupCopyJobStorageOptions>] [-HealthCheckOptions <VBRHealthCheckOptions>]
[-ScriptOptions <VBRJobScriptOptions>] [-RPOWarningOptions <VBRRpoNotificationOption[]>]
[-EnableTransactionLogCopy] [-GFSOptions <VBRComputerGFSOptions>] [-RetentionType <VBRRetentionType>]
[-RetentionNumber <Int32>] [<CommonParameters>]
Detailed Description
This cmdlet creates Veeam Agent backup copy jobs.
Parameters
|
Parameter |
Description |
Type |
Required |
Position |
Accept Pipeline Input |
|---|---|---|---|---|---|
|
Backup |
Specifies an array of backups. The cmdlet will add machines from these backups to a Veeam Agent backup copy job. Note: This parameter is available for a Veeam Agent backup copy job that is created with the periodic backup copy mode.
Accepts the |
|
False |
Named |
True (ByPropertyName, ByValue) |
|
BackupJob |
Specifies an array of backup jobs. The cmdlet will add machines processed by these jobs to a Veeam Agent backup copy job.
Accepts the |
|
False |
Named |
True (ByPropertyName) |
|
BackupWindowOptions |
Specifies backup window settings for a Veeam Agent backup copy job. The cmdlet will create the job with these settings.
Accepts the |
False |
Named |
False |
|
|
Description |
Specifies a description of a Veeam Agent backup copy job. |
|
False |
Named |
False |
|
DirectOperation |
Defines that the cmdlet will create a Veeam Agent backup copy job that will transfer data directly from the source backup repository to the target backup repository. |
|
True |
Named |
False |
|
EnableImmediateCopy |
Defines that the cmdlet will enable the immediate copy mode. If you specify this parameter, Veeam Backup & Replication will copy new restore points and transaction logs as soon as they appear. Otherwise, Veeam Backup & Replication will copy data from backups once per backup copy interval. Note:
|
|
False |
Named |
False |
|
EnableTransactionLogCopy |
Defines that the Veeam Agent backup copy job will process transaction logs of the source job. |
|
False |
Named |
False |
|
Force |
Defines that the cmdlet will ADD INFO without showing warnings in the PowerShell console. |
|
False |
Named |
False |
|
GFSOptions |
Specifies a GFS retention. The cmdlet will create Veeam Agent backup copy job with the specified policy. Note: This option is not available for Veeam Agent policies.
Accepts the |
|
False |
Named |
False |
|
HealthCheckOptions |
Specifies the health check schedule for a Veeam Agent backup copy job. The cmdlet will create the job with these settings.
Accepts the |
|
False |
Named |
False |
|
Name |
Specifies a name that you want to assign to a Veeam Agent backup copy job. |
|
False |
Named |
False |
|
NotificationOptions |
Specifies notification settings for a Veeam Agent backup copy job. The cmdlet will create the job with these settings.
Accepts the |
False |
Named |
False |
|
|
OSPlatform |
Specifies the OS of the protected computers:
|
|
True |
Named |
False |
|
RecoveryPointObjective |
Specifies a schedule for a Veeam Agent backup copy job with the periodic backup copy mode. The cmdlet will create the job with these settings.
Accepts the |
|
False |
Named |
False |
|
Repository |
Specifies the target backup repository. The cmdlet will copy the machine data to this repository. Default: Default backup repository.
Accepts the |
|
False |
Named |
False |
|
RetentionNumber |
For the Specifies a number of days for which you want to store backup files in the target location. Default: 7 days. |
|
False |
Named |
False |
|
RetentionPolicy |
Specifies a retention policy for a Veeam Agent backup copy job. The cmdlet will create the job with these settings. You can specify the following types of retention policies:
Accepts the following objects:
|
|
False |
Named |
False |
|
RetentionType |
Specifies retention type for Veeam Agent copy jobs managed by the Veeam Backup server. You can specify one of the following types:
|
|
False |
Named |
False |
|
RPOWarningOptions |
Specifies a period of time when data must be copied from the source repository to the target repository.
Default:
Accepts the |
False |
Named |
False |
|
|
ScriptOptions |
Specifies pre-job and post-job script options for a Veeam Agent backup copy job. The cmdlet will create the job with these settings.
Accepts the |
False |
Named |
False |
|
|
SourceAccelerator |
Specifies the WAN accelerator on the source side. Remember to set the pair of source and target WAN accelerators.
Accepts the |
True |
Named |
False |
|
|
SourceRepository |
Specifies an array of source backup repositories.
Accepts the |
|
False |
Named |
True (ByPropertyName) |
|
StorageOptions |
Specifies the storage settings of the backup repository. The cmdlet will create the Veeam Agent backup copy job with these settings.
Accepts the |
|
False |
Named |
False |
|
TargetAccelerator |
Specifies the WAN accelerator on the target side. Remember to set the pair of source and target WAN accelerators.
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 VBRComputerBackupCopyJob object that contains settings of Veeam Agent backup copy jobs.
Examples
Example 1. Creating Veeam Agent Backup Copy Job to Transfer Data Directly
|
This example shows how to create a Veeam Agent backup copy job that will transfer data directly from the source backup repository to the target backup repository.
Perform the following steps:
|
Example 2. Creating Veeam Agent Backup Copy Job to Transfer Data over WAN Accelerators
|
This example shows how to create a Veeam Agent backup copy job that will transfer data over WAN accelerators.
Perform the following steps:
|
Related Commands
Get-VBRComputerBackupJobReturns Veeam Agent backup jobs and Veeam Agent backup policies.Get-VBRBackupRepositoryReturns a list of backup repositories.Get-VBRWANAcceleratorReturns WAN accelerators.Get-VBRBackupReturns backups.