Start-VBOCopyJob
Short Description
Starts backup copy jobs.
Syntax
|
Start-VBOCopyJob [-TeamsData] [-SharePointData] -Job <VBOCopyJob> [-RunAsync] [-Full] [<CommonParameters>] |
Detailed Description
This cmdlet allows you to start a backup copy job that is created or stopped.
Run the New-VBOCopyJobSchedulePolicyCreates a backup copy job schedule. cmdlet to set the schedule for the job.
Note |
|
You do not need to manually start a backup copy job with the |
Parameters
|
Parameter |
Description |
Type |
Required |
Position |
Accept Pipeline Input |
|---|---|---|---|---|---|
|
Full |
Defines that the backup copy job will copy backed-up data in full instead of copying changes only. Default: False
Note: If you want to use this parameter, you must also set the |
|
False |
Named |
False |
|
Job |
Specifies a backup copy job that you want to start.
Accepts the
To get this object, run the |
True |
Named |
True (ByValue) |
|
|
RunAsync |
Defines that the command returns immediately without waiting for the task to complete. Default: False |
|
False |
Named |
False |
|
SharePointData |
For the Defines that the backup copy job will copy backed-up Microsoft SharePoint data in full. Default: False |
|
False |
Named |
False |
|
TeamsData |
For the Defines that the backup copy job will copy backed-up Microsoft Teams data in full. Default: False |
|
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.
Examples
Starting Backup Copy Job
This example shows how to start the backup copy job.
|
$job = Get-VBOJob -Name "ABC Backup" $copyjob = Get-VBOCopyJob -BackupJob $job Start-VBOCopyJob -Job $copyjob |
Perform the following steps:
- Run the
Get-VBOJobReturns backup jobs. cmdlet. Specify theNameparameter value. Save the result to the$jobvariable. - Run the
Get-VBOCopyJobReturns backup copy jobs. cmdlet. Set the$jobvariable as theBackupJobparameter value. Save the result to the$copyjobvariable. - Run the
Start-VBOCopyJobcmdlet. Set the$copyjobvariable as theJobparameter value.
Related Commands
Get-VBOJobReturns backup jobs.Get-VBOCopyJobReturns backup copy jobs.New-VBOCopyJobSchedulePolicyCreates a backup copy job schedule.