Get-VBOCopyJob
Short Description
Returns backup copy jobs.
Syntax
This cmdlet provides parameter sets that allow you to:
- Get all backup copy jobs configured in Veeam Backup for Microsoft 365.
Get-VBOCopyJob [<CommonParameters>] |
- Get a backup copy job by the backup copy job ID.
Get-VBOCopyJob -Id <Guid> [<CommonParameters>] |
- Get backup copy job by the associated backup job or backup repository.
Get-VBOCopyJob [-BackupJob <VBOJob>] [-Repository <VBORepository>] [<CommonParameters>] |
Detailed Description
This cmdlet returns backup copy jobs configured in Veeam Backup for Microsoft 365. You can get all backup copy jobs or query a backup copy job by ID or associated backup job and backup repository.
Parameters
Parameter | Description | Type | Required | Position | Accept Pipeline Input |
---|---|---|---|---|---|
Id | Specifies an ID of the backup copy job. The cmdlet will return the backup copy job with this ID. | Guid | True | Named | False |
BackupJob | Specifies a backup job for which you have created a backup copy job. | Accepts the VBOJob object. To get this object, run the Get-VBOJob cmdlet. | False | Named | False |
Repository | Specifies object storage repository. Veeam Backup for Microsoft 365 uses this object storage repository as a target for backup copy jobs. | Accepts the VBORepository object. To get this object, run the Get-VBORepository 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. Getting Backup Copy Job by ID
This command returns a backup copy job by ID.
|
Example 2. Getting Backup Copy Job by Backup Job
This example shows how to get a backup copy job created for the backup job with the name ABC Backup.
Perform the following steps:
|
Example 3. Getting Backup Copy Job by Backup Repository
This example shows how to get backup copy jobs that transfer backed-up data to the specified backup repository.
Perform the following steps:
|
Related Commands