New-VBOCopyJobSchedulePolicy
Short Description
Creates a backup copy job schedule.
Syntax
This cmdlet provides the following parameter sets:
-
Immediate (Default)New-VBOCopyJobSchedulePolicy [-Type <VBOCopyJobFrequencyType>]
[-BackupWindowSettings <VBOBackupWindowSettings>] [<CommonParameters>]
-
PeriodicallyNew-VBOCopyJobSchedulePolicy [-Type <VBOCopyJobFrequencyType>] [-PeriodicallyEvery <VBOPeriodicInterval>]
[-BackupWindowSettings <VBOBackupWindowSettings>] [<CommonParameters>]
-
DailyNew-VBOCopyJobSchedulePolicy [-Type <VBOCopyJobFrequencyType>] [-DailyTime <TimeSpan>]
[-DailyType <VBODailyType>] [-BackupWindowSettings <VBOBackupWindowSettings>] [<CommonParameters>]
Detailed Description
This cmdlet creates a backup copy job schedule.
Parameters
|
Parameter |
Description |
Type |
Required |
Position |
Accept Pipeline Input |
|---|---|---|---|---|---|
|
BackupWindowSettings |
Specifies the backup window within which the backup copy job must be completed.
Accepts the
To create this object, run the |
False |
Named |
False |
|
|
DailyTime |
Specifies the time to start the backup copy job. Default: 15:00:00 |
|
False |
Named |
False |
|
DailyType |
Specifies the days when the backup copy job will run:
Default: Everyday |
|
False |
Named |
False |
|
PeriodicallyEvery |
Specifies the time interval between the job runs:
Default: Minutes5 |
|
False |
Named |
False |
|
Type |
Specifies a type of the backup copy job schedule:
|
|
False |
Named |
False |
<CommonParameters>
This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see the About Common Parameters section of Microsoft Learn.
Output Object
The cmdlet returns the VBOCopyJobSchedulePolicy object that contains the backup copy job schedule settings.
Examples
Example 1: Creating Daily Schedule for Backup Copy Job
|
This example shows how to configure a daily job schedule for a backup copy job. A backup copy job schedule will have the following settings:
Perform the following steps:
|
Example 2: Creating Periodical Schedule for Backup Copy Job
|
This example shows how to configure a periodical job schedule for a backup copy job. A backup copy job will run every 8 hours.
Perform the following steps:
|
Related Commands
Get-VBOCopyJobReturns backup copy jobs.New-VBOBackupWindowSettingsCreates a backup window.Set-VBOCopyJobModifies settings of a backup copy job.