Start-VBRTapeCopy
Short Description
Starts tape copy jobs.
Product Edition: Enterprise, Enterprise Plus, Veeam Universal License
Syntax
|
Start-VBRTapeCopy -TapeMedium <VBRTapeMedium[]> [-Wait] [-DependentTapeMedium <VBRTapeMedium[]>] [-EnableHardwareCompression] [-SkipDependencyCheck] [-SkipEncryptedBackups] [-AddDependentMediumAutomatically] [-PreserveOriginalRetention] [-ExportSourceTape] [-ExportTargetTape] -TargetMediaPool <VBRTapeMediaPoolBase> [-TargetLibrary <VBRTapeLibrary>] [<CommonParameters>] |
Detailed Description
This cmdlet starts tape copy jobs.
Parameters
|
Parameter |
Description |
Type |
Required |
Position |
Accept Pipeline Input |
|---|---|---|---|---|---|
|
AddDependentMediumAutomatically |
Defines that the cmdlet will add dependent tapes to the tape copy job automatically. If you do not provide this parameter and there are dependent tapes, the cmdlet cannot 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 tape copy 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 |
|
|
EnableHardwareCompression |
Enables the hardware compression option. If set to If you do not provide this parameter, the hardware compression option is still enabled. |
|
False |
Named |
False |
|
ExportSourceTape |
Defines that the source tapes will be exported after the tape copy job finishes. If you do not provide this parameter, the source tapes will not be exported after the tape copy job finishes. |
|
False |
Named |
False |
|
ExportTargetTape |
Defines that the target tapes will be exported after the tape copy job finishes. If you do not provide this parameter, the target tapes will not be exported after the tape copy job finishes. |
|
False |
Named |
False |
|
PreserveOriginalRetention |
Defines that retention settings of the source media pool are copied to the target media pool. If set to If you do not provide this parameter, retention settings are still copied from the source media pool to the target media pool. |
|
False |
Named |
False |
|
SkipDependencyCheck |
Defines that the existence of dependent tapes is not checked.
Note: If you do not specify the |
|
False |
Named |
False |
|
SkipEncryptedBackups |
Defines that the cmdlet will skip encrypted backups stored on the source tape from the tape copy job. If you do not provide this parameter and there are encrypted backups on tapes to copy, the cmdlet cannot copy these encrypted backups and will return a warning. |
|
False |
Named |
False |
|
TapeMedium |
Specifies an array of tapes. The cmdlet will add this array of tapes to the tape copy job.
Accepts the |
True |
Named |
False |
|
|
TargetLibrary |
Specifies a tape library. The cmdlet will copy the tape data to this tape library. Note: This parameter is required if the target media pool contains several tape libraries.
Accepts the |
False |
Named |
False |
|
|
TargetMediaPool |
Specifies a media pool. The cmdlet will copy the tape data to this media pool.
Note: If the target media pool contains several tape libraries, the
Accepts the |
True |
Named |
False |
|
|
Wait |
Defines that the command waits for the process to complete before accepting more input. |
|
False |
Named |
False |
<CommonParameters>
This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see Microsoft Docs.
Examples
Starting Tape Copy Job
This example shows how to start a tape copy job with the following settings:
- The copy job will process data that is stored on the
0021000Ctape and all dependent tapes. - The copy job will copy data to the
Copymedia pool. - The copy job will apply retention settings of the original medial pool to the target media pool.
- The copy job will run with the enabled hardware compression option.
|
$tape = Get-VBRTapeMedium -Name "0021000C" $pool = Get-VBRTapeMediaPool -Name "Copy" Start-VBRTapeCopy -TapeMedium $tape -TargetMediaPool $pool -Wait -EnableHardwareCompression -AddDependentMediumAutomatically -PreserveOriginalRetention |
Perform the following steps:
- Run the
Get-VBRTapeMediumReturns tapes. cmdlet. Specify theNameparameter value. Save the result to the$tapevariable. - Run the
Get-VBRTapeMediaPoolReturns media pools. cmdlet. Specify theNameparameter value. Save the result to the$poolvariable. - Run the
Start-VBRTapeCopycmdlet. Specify the following settings:- Set the
$tapevariable as theTapeMediumparameter value. - Set the
$poolvariable as theTargetMediaPoolparameter value. - Provide the
Waitparameter. - Provide the
EnableHardwareCompressionparameter. - Provide the
AddDependentMediumAutomaticallyparameter. - Provide the
PreserveOriginalRetentionparameter.
- Set the
Related Commands
Get-VBRTapeMediumReturns tapes.Get-VBRTapeMediaPoolReturns media pools.