New-VBRIrisInstancePathMappingRule
Short Description
Defines path mapping rules for InterSystems IRIS instance restore.
Applies to
Product Edition: Enterprise Plus, Veeam Universal License
Syntax
|
New-VBRIrisInstancePathMappingRule -OriginalPath <String> -TargetPath <String> [<CommonParameters>] |
Detailed Description
This cmdlet creates the VBRIrisInstancePathMappingRule object that maps an original path of an InterSystems IRIS instance to a target path.
Use this object as the PathMapping parameter value when you run the Start-VBRIrisInstanceRestore cmdlet to restore an InterSystems IRIS instance to a different location. To get the original paths of a restore point, run the Get-VBRIrisInstanceOriginalPath cmdlet.
Parameters
|
Parameter |
Description |
Type |
Required |
Position |
Accept Pipeline Input |
|---|---|---|---|---|---|
|
OriginalPath |
Specifies the original path of the InterSystems IRIS instance data. To get original paths of a restore point, run the Get-VBRIrisInstanceOriginalPath cmdlet. |
String |
True |
Named |
False |
|
TargetPath |
Specifies the target path to which you want to restore the InterSystems IRIS instance data. |
String |
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 VBRIrisInstancePathMappingRule object that contains a path mapping rule.
Examples
Creating a Path Mapping Rule for InterSystems IRIS Instance Restore
This example shows how to create a path mapping rule that redirects InterSystems IRIS instance data to a new target path.
|
$rule = New-VBRIrisInstancePathMappingRule -OriginalPath "/usr/irissys/mgr" -TargetPath "/mnt/restore/mgr" |
Run the New-VBRIrisInstancePathMappingRule cmdlet. Specify the OriginalPath and TargetPath parameter values. Save the result to the $rule variable to use with other cmdlets.
Related Commands