Remove-VBRUnstructuredBackupJob

Short Description

Removes file backup jobs and object storage backup jobs from the backup infrastructure.

Note

This cmdlet is available starting from Veeam Backup & Replication 12.1 (build 12.1.0.2131).

Note

If the four-eyes authorization is enabled, you cannot run this cmdlet. For more information, see the Four-Eyes Authorization section in the User Guide for VMware vSphere.

Applies to

Product Edition: Standard, Enterprise, Enterprise Plus, Veeam Universal License

Syntax

Remove-VBRUnstructuredBackupJob -Job <VBRUnstructuredBackupJob[]> [-WhatIf] [-Confirm]  [<CommonParameters>]

Detailed Description

This cmdlet removes file backup jobs and object storage backup jobs from the backup infrastructure.

Parameters

Parameter

Description

Type

Required

Position

Accept Pipeline Input

Job

Specifies an array of file backup jobs and object storage backup jobs. The cmdlet will remove these jobs from the backup infrastructure.

Accepts the VBRUnstructuredBackupJob[] object. To get this object, run the Get-VBRUnstructuredBackupJob cmdlet.

True

Named

True (ByValue, ByPropertyName)

WhatIf

Defines that the cmdlet will write a message that describes the effects of running the cmdlet without actually performing any action.

SwitchParameter

False

Named

False

Confirm

Defines that the cmdlet will display a prompt that asks if the user is sure that he wants to continue.

SwitchParameter

False

Named

False

<CommonParameters>

This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see Microsoft Docs.

Output Object

None.

Examples

Remove-VBRUnstructuredBackupJobExample 1. Removing All File Backup and Object Storage Backup Jobs

This example shows how to remove all file backup jobs from the Veeam Backup & Replication infrastructure.

$job = Get-VBRUnstructuredBackupJob

Remove-VBRUnstructuredBackupJob -Job $job

Perform the following steps:

  1. Run the Get-VBRUnstructuredBackupJob cmdlet. Save the result to the $job variable.
  2. Run the Remove-VBRUnstructuredBackupJob cmdlet. Set the $job variable as the Job parameter value.

Remove-VBRUnstructuredBackupJobExample 2. Removing Object Storage Backup Jobs by Name

This example shows how to remove the Azue Job file backup jobs.

$job = Get-VBRUnstructuredBackupJob -Name "Azue Job"

Remove-VBRUnstructuredBackupJob -Job $job

Perform the following steps:

  1. Run the Get-VBRUnstructuredBackupJob cmdlet. Specify the Name parameter value. Save the result to the $job variable.
  2. Run the Remove-VBRUnstructuredBackupJob cmdlet. Set the $job variable as the Job parameter value.

Related Commands

Get-VBRUnstructuredBackupJob