Add-VBOCopyJob
Short Description
Creates a backup copy job.
Syntax
Add-VBOCopyJob -Repository <VBORepository> -BackupJob <VBOJob> [-SchedulePolicy <VBOCopyJobSchedulePolicy>] [<CommonParameters>] |
Detailed Description
This cmdlet creates a backup copy job that will protect backups created by Veeam Backup for Microsoft 365 using the specified backup job. The backup copy job will copy backed-up data to one of the following cloud-based or on-premises object storage repositories:
- Azure Blob Storage Hot access tier
- Azure Blob Storage Cool access tier
- Azure Blob Storage Archive access tier
- Amazon S3 Standard storage class
- Amazon S3 Standard-Infrequent Access storage class
- Amazon S3 One Zone-Infrequent Access storage class
- all Amazon S3 Glacier storage classes: Glacier Instant Retrieval, Glacier Flexible Retrieval, Glacier Deep Archive
- S3 Compatible object storage repository (if applicable)
Note |
Before creating a backup copy job, make sure you are familiar with the following restrictions:
|
Parameters
Parameter | Description | Type | Required | Position | Accept Pipeline Input |
---|---|---|---|---|---|
Repository | Specifies object storage repository. Veeam Backup for Microsoft 365 will copy backed-up data to this object storage repository. | Accepts the VBORepository object. To get this object, run the Get-VBORepository cmdlet. | True | Named | False |
BackupJob | Specifies a backup job for which you want to create backup copies. | Accepts the VBOJob object. To get this object, run the Get-VBOJob cmdlet. | True | Named | False |
SchedulePolicy | Specifies schedule settings for a backup copy job. Default: Immediate | Accepts the VBOCopyJobSchedulePolicy object. To create this object, run the New-VBOCopyJobSchedulePolicy cmdlet. | False | Named | False |
<CommonParameters>
This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see the About CommonParameters section of Microsoft Docs.
Output Object
The cmdlet returns the VBOCopyJob object that contains settings for a backup copy job.
Examples
Example 1. Creating Backup Copy Job
This example shows how to create a backup copy job for the backup job with the name ABC Backup.
Perform the following steps:
The cmdlet output will contain the following details on the backup copy job: Id, Name, Description, Repository, BackupJob, SchedulePolicy, IsEnabled, LastStatus, LastRun and NextRun. |
Example 2. Creating Backup Copy Job and Setting Schedule
This example shows how to create a backup copy job for the backup job with the name ABC Backup and configure a backup copy job schedule. A backup copy job schedule will have the following settings:
Perform the following steps:
The cmdlet output will contain the following details on the backup copy job: Id, Name, Description, Repository, BackupJob, SchedulePolicy, IsEnabled, LastStatus, LastRun and NextRun. |
Related Commands