Start-VBRTapeRestoreAllContent
Short Description
Starts restoring all content of the specified tapes.
Product Edition: Standard, Enterprise, Enterprise Plus, Veeam Universal License
Syntax
|
Start-VBRTapeRestoreAllContent -TapeMedium <VBRTapeMedium[]> [-DependentTapeMedium <VBRTapeMedium[]>] [-SkipDependencyCheck] [-AddDependentMediumAutomatically] -Server <CHost> -Path <String> [-Security] [-RunAsync] [<CommonParameters>] |
Detailed Description
This cmdlet starts restoring all content of the specified tapes.
Parameters
|
Parameter |
Description |
Type |
Required |
Position |
Accept Pipeline Input |
|---|---|---|---|---|---|
|
AddDependentMediumAutomatically |
Defines that the cmdlet will automatically add tapes that are dependent on the media added to tape restore job. If you do not provide this parameter and you have dependent tapes, the cmdlet will not be able to copy files written to dependent tapes and will return a warning. |
|
False |
Named |
False |
|
DependentTapeMedium |
Specifies an array of dependent tapes. The cmdlet will add this array of dependent tapes to the entire tape restore job. When a backup file does not fit on one tape, it is divided into parts and written to several tapes. These tapes are considered dependent.
Note: If you do not specify the
Accepts the |
False |
Named |
False |
|
|
Path |
Specifies the path to the folder. The cmdlet will restore the content of the tapes to this folder. |
|
True |
Named |
False |
|
RunAsync |
Defines that the command returns immediately without waiting for the task to complete. |
|
False |
Named |
False |
|
Security |
Defines that the files will be restored with the original security settings. Otherwise the file/folder security settings will be inherited from the parent item. |
|
False |
Named |
False |
|
Server |
Specifies the target server. The cmdlet will restore the content of the tapes to this server.
Accepts the |
|
True |
Named |
False |
|
SkipDependencyCheck |
Defines that the existence of dependent tapes is not checked.
Note: If you do not specify the |
|
False |
Named |
False |
|
TapeMedium |
Specifies an array of tapes. The cmdlet will add this array of tapes to the tape restore job.
Accepts the |
True |
Named |
False |
<CommonParameters>
This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see Microsoft Docs.
Output Object
The cmdlet returns the CRestoreSession object that contains the following details on the started tape restore session: Restore Type, State, Start Time, End Time, Description.
Examples
Restoring All Tape Content
This example shows how to start a tape job for restoring all content of the tape with the following settings:
- The tape restore job will process data that is stored on the
0021000Ctape and all dependent tapes. Dependent tapes will be found and added to the job automatically. - The tape restore job will restore the entire tape content to
qa10.tech.localserver and will store it atC:\Restored Backup\Tapespath. - The tape restore job will apply security settings of the original content to the restored content.
- The copy job will run with the enabled hardware compression option.
|
$tape = Get-VBRTapeMedium -Name "0021000C" Start-VBRTapeRestoreAllContent -TapeMedium $tape -Server "qa10.tech.local" -Path "C:\Restored Backup\Tapes" -AddDependentMediumAutomatically -Security |
Perform the following steps:
- Run the
Get-VBRTapeMediumReturns tapes. cmdlet. Specify theNameparameter value. Save the result to the$tapevariable. - Run the
Start-VBRTapeRestoreAllContentcmdlet. Specify the following settings:- Set the
$tapevariable as theTapeMediumparameter value. - Specify the
Serverparameter value. - Specify the
Pathparameter value. - Provide the
AddDependentMediumAutomaticallyparameter. - Provide the
Securityparameter.
- Set the
Related Commands
Get-VBRTapeMediumReturns tapes.