New-VBRObjectStorageBackupContainerPathMask

Short Description

Defines an exclusion mask for objects in object storage.

Note

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

Applies to

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

Syntax

New-VBRObjectStorageBackupContainerPathMask -Container <String> [-Path <String>]  [<CommonParameters>]

Detailed Description

This cmdlet creates the VBRObjectStorageBackupContainerPathMask object. This object defines an exclusion mask for objects in object storage. You can exclude either an entire bucket, container, or an object.

Parameters

Parameter

Description

Type

Required

Position

Accept Pipeline Input

Container

Specifies a bucket or a container. The cmdlet will exclude this bucket or container.

If you specify the Path parameter, the cmdlet will exclude certain objects from the bucket or container.

String

True

Named

False

Path

Specifies a path to an object that you want to exclude.

String

False

Named

False

<CommonParameters>

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

Output Object

The cmdlet returns the VBRObjectStorageBackupContainerPathMask object that defines an exclusion mask for objects in object storage.

Examples

Defining Exclusion Mask for Objects Within Object Storage

This command defines that all objects that start with files/old will be excluded from the Monthly Backups container.

$ExclusionMask = New-VBRObjectStorageBackupContainerPathMask -Container "Monthly Backups" -Path "files/old"

Page updated 4/8/2024

Page content applies to build 12.1.1.56