Start-VBOJob

In this article

    Short Description

    Starts backup jobs.

    Syntax

    Start-VBOJob -Job <VBOJob> [-RunAsync [<switchparameter>]] [-Full [<switchparameter>]]  [<CommonParameters>]

    Detailed Description

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

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

    Parameters

    Parameter

    Description

    Type

    Required

    Position

    Accept Pipeline Input

    Accept Wildcard Characters

    Job

    Specifies a backup job you want to start.

    Accepts the VBOJob object.

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

    True

    Named

    True (ByValue)

    False

    RunAsync

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

    SwitchParameter

    False

    Named

    False

    False

    Full

    Defines that the job will create an active full backup.

    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

    Example 1. Starting Backup Job

    This example shows how to start the backup job.

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

    Start-VBOJob -Job $job

    Perform the following steps:

    1. Run the Get-VBOJob cmdlet to get the backup job you want to start. Save the result to the $job variable.
    2. Run the Start-VBOJob cmdlet with the $job variable.

    Example 2. Starting Active Full Backup

    This example shows how to start an active full backup.

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

    Start-VBOJob -Job $job -Full:$true

    Perform the following steps:

    1. Run the Get-VBOJob cmdlet to get the backup job you want to start. Save the result to the $job variable.
    2. Run the Start-VBOJob cmdlet with the $job variable. Set the :$true value for the Full parameter.

    Related Commands