Stop-VBRCloudTapeRestore
Short Description
This cmdlet stops the restore session of the tenant data from tape.
Applies to
Product Edition: Enterprise
Requires Cloud Connect license
Syntax
Stop-VBRCloudTapeRestore -Session <VBRBackupSession> [<CommonParameters>] |
Detailed Description
This cmdlet stops the restore session of the tenant data from tape.
Run the Start-VBRCloudTapeRestore cmdlet to start the restore session.
Parameters
Parameter | Description | Type | Required | Position | Accept |
---|---|---|---|---|---|
Session | Specifies the tape restore session that you want to stop. | Accepts the VBRBackupSession object. To get this object, run the Get-VBRCloudTapeRestoreSession cmdlet. | True | Named | False |
<CommonParameters>
This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see Microsoft Docs.
Output Object
None.
Examples
Starting and Stopping Restore Session for Tenant Backups
This example shows how to start a restore session of the tenant backups and then to stop the running session of backups restore from the tape.
$repository = Get-VBRCloudTapeBackupTenantRepository Start-VBRCloudTapeRestore -BackupObject $repository -PointInTime "11/26/23" -RunAsync CreationTime : 11/26/2023 5:47:38 PM EndTime : 1/1/1900 12:00:00 AM JobId : 3d6c6bc4-fca3-4815-854a-3e5095a2f452 Result : None State : Starting Id : aae753f4-bcbf-427b-9cb8-bc9ee92acb6b $session = Get-VBRCloudTapeRestoreSession -Id aae753f4-bcbf-427b-9cb8-bc9ee92acb6b Stop-VBRCloudTapeRestore -Session $session |
Perform the following steps:
- Run the Get-VBRCloudTapeBackupTenantRepository cmdlet. Save the result to the $repository variable.
- Run the Start-VBRCloudTapeRestore cmdlet. Set the $repository variable as the BackupObject parameter value. Specify the PointInTime parameter value. Provide the RunAsync parameter.
- Run the Get-VBRCloudTapeRestoreSession cmdlet. Specify the Id parameter value. Save the result to the $session variable.
- Run the Set-VBRNDMPServer cmdlet. Set the $session variable as the Session parameter value.
Related Commands