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 | Accept |
---|---|---|---|---|---|
Type | Specifies the backup creation schedule type:
Default: Daily. | False | Named | False | False |
DailyOptions | Used to set days for the Type parameter (Daily option). Accepts VBRDailyOptions type. Default:
| False | Named | False | False |
MonthlyOptions | Used to set months for the Type parameter (Monthly option). Accepts VBRMonthlyOptions type. Default:
| 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
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