Start-VBOCopyJob

Short Description

Starts backup copy jobs.

Syntax

Start-VBOCopyJob [-TeamsData] -Job <VBOCopyJob> [-RunAsync] [-Full] [<CommonParameters>]

Detailed Description

This cmdlet allows you to start a backup copy job that is created or stopped.

Run the New-VBOCopyJobSchedulePolicy cmdlet to set the schedule for the job.

Parameters

Parameter

Description

Type

Required

Position

Accept Pipeline Input

Accept Wildcard Characters

Job

Specifies a backup copy job that you want to start.

Accepts the VBOCopyJob object.

To get this object, run the Get-VBOCopyJob cmdlet.

True

Named

True (ByValue)

False

Full

Defines that the backup copy job will copy all backed-up Microsoft Teams data.

SwitchParameter

False

Named

False

False

TeamsData

Defines that the backup copy job will process backed-up Microsoft Teams data.

SwitchParameter

False

Named

False

False

RunAsync

Defines that the command returns immediately without waiting for the task to complete.

SwitchParameter

False

Named

False

False

<CommonParameters>

This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see the About CommonParameters section of Microsoft Docs.

Examples

Start-VBOCopyJobExample 1. Starting Backup Copy Job

This example shows how to start the backup copy job.

$job = Get-VBOJob -Name "ABC Backup"

$copyjob = Get-VBOCopyJob -BackupJob $job

Start-VBOCopyJob -Job $copyjob

Perform the following steps:

  1. Run the Get-VBOJob cmdlet. Specify the Name parameter value. Save the result to the $job variable.
  2. Run the Get-VBOCopyJob cmdlet. Set the $job variable as the BackupJob parameter value. Save the result to the $copyjob variable.
  3. Run the Start-VBOCopyJob cmdlet. Set the $copyjob variable as the Job parameter value.

Related Commands