Start-VBOJob

In this article

    Short Description

    Starts a backup job.

    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

    Required

    Position

    Accept Pipeline Input

    Accept Wildcard Characters

    Job

    Specifies the backup job you want to start.

    True

    Named

    True (ByValue)

    False

    RunAsync

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

    False

    Named

    False

    False

    Full

    Indicates that the job will create an active full backup.

    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

    This example shows how to start the backup job.

    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.

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

    Start-VBOJob -Job $job

    Example 2

    This example shows how to start an active full backup.

    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.

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

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

    Related Commands