Add-VBOBackupItem - Veeam Backup for Microsoft Office 365 PowerShell Reference
Help Center
Choose product document...
Veeam Backup for Microsoft Office 365 2.0
PowerShell Reference

Add-VBOBackupItem

Short Description

Adds a backup item to the specified backup job.

Syntax

Add-VBOBackupItem -Job <VBOJob> [-BackupItem]  [<CommonParameters>]

Detailed Description

This cmdlet adds a backup item to the Veeam Backup for Microsoft Office 365 backup job.

Add-VBOBackupItem Note:

Before adding a backup item to the backup job, make sure you are familiar with the following restrictions:

  • Only one job can back up an entire organization.
  • Several jobs cannot back up same items.

If you add a backup item again to the same job, the fresh backup item will fully replace the old one.

Parameters

Parameter

Description

Required

Position

Accept
Pipeline
Input

Accept
Wildcard
Characters

BackupItem

Specifies a backup item. The backup job will back up this backup item.

False

Named

false

False

Job

Specifies the backup job that will back up this backup item.

True

Named

False

False

<CommonParameters>

This cmdlet supports Microsoft PowerShell common parameters. For more information about common parameters, see http://go.microsoft.com/fwlink/p/?LinkID=113216.

Example

This example shows how to add an organization user "UserAlpha" backup item to the "TestJob" backup job.

You will need to perform the following steps:

  1. Run Get-VBOOrganization to get an organization. Save the result to the $org variable.
  2. Run Get-VBOOrganizationUser to get an organization user. In this case we will use it as a backup item. Save the result to the $user variable.
  3. Run New-VBOBackupItem to select the item for the backup job. Save the result to the $backupItemUser variable.
  4. Run Get-VBOJob to select the backup job for modification. Save the result to the $job variable.
  5. Run Add-VBOBackupItem with the $job and $backupItemUser variables to add the selected user to the specified backup job.

PS C:\PS> $org = Get-VBOOrganization -Name "ABC Company"

PS C:\PS> $user = Get-VBOOrganizationUser -Organization $org -Name "UserAlpha"

PS C:\PS> $backupItemUser = New-VBOBackupItem -User $user -Mailbox:$True -ArchiveMailbox:$False -OneDrive:$False

PS C:\PS> $job = Get-VBOJob -Name "TestJob"

PS C:\PS> Add-VBOBackupItem -Job $job -BackupItem $backupItemUser

Veeam Large Logo

User Guide

RESTful API Reference

PowerShell Reference