Start-VBRNASInstantRecoveryMigration
Short Description
Starts migration to production for the running instant file share recovery session.
Applies to
Product Edition: Standard, Enterprise, Enterprise Plus, Veeam Universal License
Syntax
This cmdlet provides parameter sets that allow you to:
- Start migration to production for the NAS instant recovery session to the original location.
Start-VBRNASInstantRecoveryMigration -InstantRecovery <VBRNASInstantRecovery> [-ReplaceAll] -SwitchOverOptions <VBRNASInstantRecoveryMigrationSwitchOverOptions> [-RunAsync] [<CommonParameters>] |
- Start migration to production for the NAS instant recovery session to a different location.
Start-VBRNASInstantRecoveryMigration -InstantRecovery <VBRNASInstantRecovery> -NASServer <VBRUnstructuredServer> [-Path] <String> [-ReplaceAll] -SwitchOverOptions <VBRNASInstantRecoveryMigrationSwitchOverOptions> [-RunAsync] [<CommonParameters>] |
Detailed Description
This cmdlet starts migration to production for the running instant file share recovery session. It supports migration to the original or different location.
Parameters
Parameter | Description | Type | Required | Position | Accept Pipeline Input |
---|---|---|---|---|---|
InstantRecovery | Specifies an instant recovery session. The cmdlet will start migration to production for this session. | Accepts the VBRNASInstantRecovery object. To get this object, run the Get-VBRNASInstantRecovery cmdlet. | True | 0 | True (ByPropertyName, ByValue) |
NASServer | Specifies a server where the mounted file share will be migrated to production. This parameter is specified for the migration to a different location type. | Accepts the VBRUnstructuredServer object. To get this object, run the Get-VBRUnstructuredServer cmdlet. | True | 1 | False |
Path | Specifies a path at the NASServer where the mounted file share will be migrated to production. This parameter is specified for the migration to a different location type. | String | True | 2 | False |
ReplaceAll | Enables the Replace All option. If you provide this parameter, the cmdlet will restore the whole file share and overwrite the existing files with the restored files. Otherwise, the cmdlet will overwrite the existing files only if they are older than the restored files. | SwitchParameter | False | Named | False |
RunAsync | Defines that the command returns immediately without waiting for the task to complete. Note: If the switchover is started with option Manual or Scheduled, the cmdlet will wait endlessly or for a long time. Before starting waiting, the cmdlet will display a warning. | SwitchParameter | False | Named | False |
SwitchOverOptions | Specifies switchover options for the specified instant recovery session. The cmdlet will start migration to production for the session with the specified switchover options. | Accepts the VBRNASInstantRecoveryMigrationSwitchOverOptions object. To create this object, run the New-VBRNASInstantRecoveryMigrationSwitchOverOptions cmdlet. | True | Named | True (ByValue) |
<CommonParameters>
This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see Microsoft Docs.
Output Object
The cmdlet returns the VBRNASInstantRecoveryMigration object that defines settings of the migration to production session.
Examples
Example 1. Starting File Share Migration to Original Location
This command starts the file share migration to the original location.
Perform the following steps:
|
Example 2. Starting File Share Migration to Different Location
This command starts the file share migration to a location different from the original one.
Perform the following steps:
|
Related Commands