Get-VBOCopyJob
Short Description
Returns backup copy jobs.
Syntax
This cmdlet provides the following parameter sets:
-
ByIdParameterSetGet-VBOCopyJob -Id <Guid> [<CommonParameters>]
-
AllParameterSetGet-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 |
|---|---|---|---|---|---|
|
BackupJob |
Specifies a backup job for which you have created a backup copy job.
Accepts the
To get this object, run the |
False |
Named |
False |
|
|
Id |
Specifies an ID of the backup copy job. The cmdlet will return the backup copy job with this ID. |
|
True |
Named |
False |
|
Repository |
Specifies an object storage repository. Veeam Backup for Microsoft 365 uses this object storage repository as a target for backup copy jobs.
Accepts the
To get 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: 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
Get-VBOJobReturns backup jobs.Get-VBORepositoryReturns backup repositories.