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 |
|---|---|---|---|---|---|
|
BackupJob |
Specifies a backup job for which you want to create backup copies.
Accepts the
To get this object, run the |
True |
Named |
False |
|
|
Repository |
Specifies an object storage repository. Veeam Backup for Microsoft 365 will copy backed-up data to this object storage repository.
Accepts the
To get this object, run the |
True |
Named |
False |
|
|
SchedulePolicy |
Specifies schedule settings for a backup copy job. Default: Immediate
Accepts the
To create this object, run the |
False |
Named |
False |
<CommonParameters>
This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see the About Common Parameters section of Microsoft Learn.
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: |
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: |
Related Commands
Get-VBOJobReturns backup jobs.Get-VBORepositoryReturns backup repositories.New-VBOCopyJobSchedulePolicyCreates a backup copy job schedule.New-VBOBackupWindowSettingsCreates a backup window.