This is an archive version of the document. To get the most up-to-date information, see the current version.

Set-VBOFolderExclusions

Short Description

Modifies folder exclusion settings.

Syntax

Set-VBOFolderExclusions [-DeletedItems] [-Drafts] [-JunkEmail] [-Outbox] [-SyncIssues] [-LitigationHold] [-InPlaceHold]  [<CommonParameters>]

Detailed Description

This cmdlet modifies folder exclusion settings. Per these settings backup jobs will not process selected mailbox folder types. Veeam Backup for Microsoft Office 365 will not store excluded data.

By default, backup jobs will back up all folders from user mailboxes.

Set-VBOFolderExclusions Note

Folder exclusion settings are global and will be applied to all backup jobs configured in Veeam Backup for Microsoft Office 365.

Parameters

Parameter

Description

Required

Position

Accept Pipeline Input

Accept Wildcard Characters

DeletedItems

Indicates that the cmdlet will make backup jobs not to process Deleted Items and Recoverable Items mailbox folders.

False

Named

False

False

Drafts

Indicates that the cmdlet will make backup jobs not to process the Drafts mailbox folder.

False

Named

False

False

JunkEmail

Indicates that the cmdlet will make backup jobs not to process the Junk Email mailbox folder.

False

Named

False

False

Outbox

Indicates that the cmdlet will make backup jobs not to process the Outbox mailbox folder.

False

Named

False

False

SyncIssues

Indicates that the cmdlet will make backup jobs not to process the Sync Issues mailbox folder.

False

Named

False

False

LitigationHold

Indicates that the cmdlet will make backup jobs not to process items of mailboxes placed on Litigation Hold.

False

Named

False

False

InPlaceHold

Indicates that the cmdlet will make backup jobs not to process preserved items of mailboxes placed on In-Place Hold.

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 exclude the Junk Email and Drafts mailbox folders from the backup job.

Set-VBOFolderExclusions -JunkEmail -Drafts