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

New-VBOCopyJobSchedulePolicy

Short Description

Creates a backup copy job schedule.

Syntax

This cmdlet provides parameter sets that allow you to:

  • Run a backup copy job immediately.

New-VBOCopyJobSchedulePolicy [-Type {Immediate | Periodically | Daily}] [-BackupWindowSettings <VBOBackupWindowSettings>] [<CommonParameters>]

  • Create periodical job schedule.

New-VBOCopyJobSchedulePolicy [-Type {Immediate | Periodically | Daily}] [-PeriodicallyEvery {Minutes5 | Minutes10 | Minutes15 | Minutes30 | Hours1 | Hours2 | Hours4 | Hours8}] [-BackupWindowSettings <VBOBackupWindowSettings>] [<CommonParameters>]

  • Create daily job schedule.

New-VBOCopyJobSchedulePolicy [-Type {Immediate | Periodically | Daily}] [-DailyTime <timespan>] [-DailyType {Everyday | Workdays | Weekends | Monday | Tuesday | Wednesday | Thursday | Friday | Saturday | Sunday}] [-BackupWindowSettings <VBOBackupWindowSettings>] [<CommonParameters>]

Detailed Description

This cmdlet creates a backup copy job schedule.

Parameters

Parameter

Description

Type

Required

Position

Accept Pipeline Input

Accept Wildcard Characters

Type

Specifies a type of the backup copy job schedule:

  • Immediate: runs the backup copy job right after the backup job creates the latest restore point.  
  • Daily: runs the backup copy job on specific days at the specified hours.
  • Periodically: runs the backup copy job repeatedly throughout a day with a specific time interval.

VBOCopyJobFrequencyType

False

Named

False

False

DailyType

Specifies the days when the backup copy job will run:

  • Everyday
  • Weekends
  • Workdays
  • Monday
  • Tuesday
  • Wednesday
  • Thursday
  • Friday
  • Saturday
  • Sunday

Default: Everyday

VBODailyType

False

Named

False

False

DailyTime

Specifies the time to start the backup copy job.

Default: 15:00:00

TimeSpan

False

Named

False

False

PeriodicallyEvery

Specifies the time interval between the job runs:

  • Minutes5
  • Minutes10
  • Minutes15
  • Minutes30
  • Hours1
  • Hours2
  • Hours4
  • Hours8

Default: Minutes5

VBOPeriodicInterval

False

Named

False

False

BackupWindowSettings

Specifies the backup window within which the backup copy job must be completed.

Accepts the VBOBackupWindowSettings object.

To create this object, run the New-VBOBackupWindowSettings cmdlet.

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.

Output Object

The cmdlet returns the VBOCopyJobSchedulePolicy object that contains the backup copy job schedule settings.

Examples

New-VBOCopyJobSchedulePolicyExample 1. Creating Daily Schedule for Backup Copy Job

New-VBOCopyJobSchedulePolicyExample 2. Creating Periodical Schedule for Backup Copy Job

Related Commands