This is an archive version of the document. To get the most up-to-date information, see the current version.

New-VBRFileToTapeBackupPolicy

Short Description

Creates a new VBRFileToTapeBackupPolicy object.

Applies to

Platform: VMware, Hyper-V

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

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

DailyOptions

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

MonthlyOptions

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 on common parameters, see the About CommonParameters section of Microsoft Docs.

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.

$monthlyoptions = New-VBRMonthlyOptions -DayNumberInMonth Last -DayOfWeek Sunday -Period 22:00

New-VBRFileToTapeBackupPolicy -Type Monthly -MonthlyOptions $monthlyoptions -Enabled

Related Commands

New-VBRDailyOptions

New-VBRMonthlyOptions