--- title: "VBRSelectedFilesBackupOptions" description: "Contains the backup scope settings for Veeam Agent backup jobs. Note: Starting from Veeam Backup & Replication 13.2, the IncludeMask and ExcludeMask properties of the String[] type are replaced with the InclusionMask and ExclusionMask properties..." canonical: "https://helpcenter.veeam.com/docs/vbr/powershell/vbrselectedfilesbackupoptions.html" breadcrumb: "Veeam PowerShell Reference > Veeam PowerShell Reference > Veeam PowerShell Types > VBRSelectedFilesBackupOptions" dateModified: "2026-11-09" --- # VBRSelectedFilesBackupOptions Contains the backup scope settings for Veeam Agent backup jobs. ## Properties

Property

Type

Description

OSPlatform

VBRAgentType

OS of the protected computer:

  • Windows — Microsoft Windows computers
  • Linux — Linux computers
  • Mac — macOS computers
  • Unix — Unix computers

BackupOS

Boolean

Defines whether the backup scope includes the OS related data. Applies to Windows computers only.

BackupPersonalFiles

Boolean

Defines whether the backup scope includes user profile folders. Applies to Windows and macOS computers only.

BackupSelectedFiles

Boolean

Defines whether the backup scope includes the volumes, folders or directories specified in the SelectedFiles property.

SelectedPersonalFolders

VBRSelectedPersonalFolders

Scope of personal data included in the backup.

SelectedFiles

String[]

Array of volumes, folders or directories included in the backup scope.

InclusionMask

VBRSelectedFilesMask[]

Array of masks for files and folders included in the backup scope.

ExclusionMask

VBRSelectedFilesMask[]

Array of masks for files and folders excluded from the backup scope.

**Note**: Starting from Veeam Backup & Replication 13.2, the `IncludeMask` and `ExcludeMask` properties of the `String[]` type are replaced with the `InclusionMask` and `ExclusionMask` properties of the [`VBRSelectedFilesMask`](vbrselectedfilesmask.md)`[]` type. Update scripts that read these properties. ## Related Commands - [`New-VBRSelectedFilesBackupOptions`](new-vbrselectedfilesbackupoptions.md) - [`Set-VBRSelectedFilesBackupOptions`](set-vbrselectedfilesbackupoptions.md)