Stop-VBRCloudTapeRestore
Short Description
This cmdlet stops the restore session of the tenant data from tape.
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-VBRCloudTapeRestoreStarts a restore session of the tenant data from tape. cmdlet to start the restore session.
Parameters
|
Parameter |
Description |
Type |
Required |
Position |
Accept Pipeline Input |
|---|---|---|---|---|---|
|
Session |
Specifies the tape restore session that you want to stop.
Accepts the |
True |
Named |
False |
<CommonParameters>
This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see Microsoft Docs.
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-VBRCloudTapeBackupTenantRepositoryReturns tenant cloud repositories. cmdlet. Save the result to the$repositoryvariable. - Run the
Start-VBRCloudTapeRestoreStarts a restore session of the tenant data from tape. cmdlet. Set the$repositoryvariable as theBackupObjectparameter value. Specify thePointInTimeparameter value. Provide theRunAsyncparameter. - Run the
Get-VBRCloudTapeRestoreSessionReturns active restore sessions of the tenant data from tape. cmdlet. Specify theIdparameter value. Save the result to the$sessionvariable. - Run the
Set-VBRNDMPServercmdlet. Set the$sessionvariable as theSessionparameter value.
Related Commands
Get-VBRCloudTapeBackupTenantRepositoryReturns tenant cloud repositories.Start-VBRCloudTapeRestoreStarts a restore session of the tenant data from tape.Get-VBRCloudTapeRestoreSessionReturns active restore sessions of the tenant data from tape.