Set-VBRRepositoryExtent

Short Description

Modifies extents of scale-out backup repositories.

Applies to

Platform: VMware, Hyper-V

Product Edition: Enterprise, Enterprise Plus, Veeam Universal License

Syntax

Set-VBRRepositoryExtent -Extent <VBRRepositoryExtent[]> [-StoreFull] [-StoreIncrement] [-Data] [-Metadata]  [<CommonParameters>]

Detailed Description

This cmdlet modifies selected extents of a scale-out repository. You can change the backup placement mode for a selected extents to store only full backups, only incremental backups or full and incremental backups. By default, the extents are created with full and incremental backups placement mode.

Parameters

Parameter

Description

Required

Position

Accept
Pipeline
Input

Accept
Wildcard
Characters

Extent

Specifies the array of extents you want to modify.

Accepts VBRDataLocalityExtent or VBRPerformanceExtent, GUID or string (name of the backup repository that is used as extent) type.

All extents must belong to the same scale-out repository.

True

Named

True (ByValue,
ByProperty
Name)

False

StoreFull

For extents with Performance policy.

Indicates that the extent will store only full backups.

False

Named

True (ByProperty
Name)

False

StoreIncrement

For extents with Performance policy.

Indicates that the extent will store only incremental backups.

False

Named

True (ByProperty
Name)

False

Data

Indicates that the extent will store only backup data.

This parameter can be used together with the Metadata parameter.

For more information, see the Scale-Out Repository with Extents in Metadata and Data Roles section in the Veeam Backup & Replication User Guide.

False

Named

True (ByValue,
ByProperty
Name)

False

Metadata

Indicates that the extent will store only backup metadata.

Note, that an extent with the metadata role can be used for storing NAS backup jobs metadata only.

This parameter can be used together with the Data parameter.

For more information, see the Scale-Out Repository with Extents in Metadata and Data Roles section in the Veeam Backup & Replication User Guide.

False

Named

True (ByValue,
ByProperty
Name)

False

<CommonParameters>

This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see the About CommonParameters section of Microsoft Docs.

Return Type

VBRDataLocalityExtent or VBRPerformanceExtent

Example 1

This command changes the storing mode to store only full backups for the extent named "Backup Repository 1".

Set-VBRRepositoryExtent –Extent “Backup Repository 1” –StoreFull

Example 2

This command enables storing of full and incremental backups on extents “Backup Repository 1” and “Backup Repository 4”.

Set-VBRRepositoryExtent –Extent “Backup Repository 1”, “Backup Repository 4” –StoreFull –StoreIncrement

Example 3

This command enables assigning the metadata role to extent "NAS Backup Repository on SSD" and data role to extent “Backup Repository 1”.

Set-VBRRepositoryExtent –Extent “NAS Backup Repository on SSD” -Metadata

Set-VBRRepositoryExtent –Extent “Backup Repository 1” –Data

Related Commands

Get-VBRRepositoryExtent