Help Center
Choose product document...
Veeam Backup & Replication 9.5
PowerShell Reference

New-VBRTapeMediaSetCreationPolicy

Short Description

Creates a new VBRTapeMediaSetCreationPolicy object.

Applies to

Platform: VMware, Hyper-V

Product Edition: Standard, Enterprise, Enterprise Plus

Syntax

New-VBRTapeMediaSetCreationPolicy [-DailyOptions <VBRDailyOptions>] [-Type <VBRTapeMediaSetCreationPolicyType> {Never | Always | Daily | Monthly}] [<CommonParameters>]

Detailed Description

This cmdlet creates a new VBRTapeMediaSetCreationPolicy object. This object contains the set of rules for creating media sets. The media set creation policy in applied to media pools configuration.

Parameters

Parameter

Description

Required

Position

Accept
Pipeline
Input

Accept
Wildcard
Characters

DailyOptions

Specifies the schedule settings you want to apply to the media set.

Accepts VBRDailyOptions type.

Default: Selected Days, 18 hours, Saturday.

False

Named

False

False

Type

Specifies the type of policy for creating media sets:

  • Never: new media sets are not created. All data archived to tape is written to the same media set.
  • Always: new media set is created for each tape job session.
  • Daily: new media set is created on particular days. Use the DailyOptions parameter to set days on which you want the media sets to be created.
  • Monthly: not supported.

Default: Never.

False

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.

Return Type

VBRTapeMediaSetCreationPolicy

Example 1

This command creates a set of media set creation rules allowing to create a new media set for every backup session.

PS C:\PS> New-VBRTapeMediaSetCreationPolicy -Type Always

Example 2

This command creates a set of media set creation rules. A new media set will be created every Sunday at 22:00.

  1. Run New-VBRDailyOptions to configure schedule for creating media sets. Save the result to the $dailyoptions variable.
  2. Run New-VBRTapeMediaSetCreationPolicy with this variable. Set the Type parameter to Daily.

PS C:\PS> $dailyoptions = New-VBRDailyOptions -DayOfWeek Sunday -Period 22:00 -Type SelectedDays

PS C:\PS> New-VBRTapeMediaSetCreationPolicy -DailyOptions $dailyoptions -Type Daily

Related Commands

New-VBRDailyOptions

Veeam Large Logo

User Guide for VMware vSphere

User Guide for Microsoft Hyper-V

Enterprise Manager User Guide

Veeam Cloud Connect Guide

Veeam Backup Explorers User Guide

PowerShell Reference

RESTful API Reference

Veeam Backup FREE Edition User Guide

Veeam Backup for Microsoft Office 365

Veeam ONE Documentation

Veeam Agent for Windows Documentation

Veeam Agent for Linux Documentation

Veeam Management Pack Documentation