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

New-VBRFileToTapeBackupPolicy

Short Description

Creates a new VBRFileToTapeBackupPolicy object.

Applies to

Platform: VMware, Hyper-V

Product Edition: Standard, Enterprise, Enterprise Plus

Syntax

New-VBRFileToTapeBackupPolicy [-Type <VBRFileToTapeBackupPolicyType>] [-DailyOptions <VBRDailyOptions>] [-MonthlyOptions <VBRMonthlyOptions>] [-Enabled] [-WarningAction <ActionPreference>] [-WarningVariable <String>] [<CommonParameters>]

Detailed Description

This cmdlet creates the VBRFileToTapeBackupPolicy object. This object contains backup creation schedule settings for file to tape job and is used further to apply these settings to an existing file to tape job.

Parameters

Parameter

Description

Required

Position

Accept
Pipeline
Input

Accept
Wildcard
Characters

Type

Specifies the backup creation schedule type:

  • Daily: the target files will be archived on selected days. Use the DailyOptions parameter to set the days.
  • Monthly: the target files will be archived on selected months. Use the MonthlyOptions parameter to set the months.

Default: Daily.

False

Named

False

False

Daily
Options

Used to set days for the Type parameter (Daily option).

Accepts VBRDailyOptions type.

Default:

  • Type: SelectedDays
  • Period: 18:00
  • DayOfWeek: Saturday

False

Named

False

False

Monthly
Options

Used to set months for the Type parameter (Monthly option).

Accepts VBRMonthlyOptions type.

Default:

  • Period: 22:00
  • DayNumberInMonth: Fourth,
  • DayOfWeek: Saturday,
  • Months: January, February, March, April, May, June, July, August, September, October, November, December.

False

Named

False

False

Enabled

Indicates if this schedule is enabled.

Default: False.

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

VBRFileToTapeBackupPolicy

Example

This command creates file to tape job schedule to run on last Sunday on 22:00 every month. The schedule is enabled.

PS C:\PS>  $monthlyoptions = New-VBRMonthlyOptions -DayNumberInMonth Last -DayOfWeek Sunday -Period 22:00

PS C:\PS> New-VBRFileToTapeBackupPolicy -Type Monthly -MonthlyOptions $monthlyoptions -Enabled

Related Commands

New-VBRDailyOptions

New-VBRMonthlyOptions

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