Get-VBRInstantRecoveryMigration
Short Description
Returns running migration sessions launched during Instant Recovery.
Platform: VMware
Product Edition: Standard, Enterprise, Enterprise Plus, Veeam Universal License
Syntax
|
Get-VBRInstantRecoveryMigration [-Id <Guid[]>] [<CommonParameters>] |
Detailed Description
This cmdlet returns migration sessions launched during Instant Recovery (including Instant Recovery for first class disks, file shares and so on) and running at the moment.
If you do not specify cmdlet parameters, the cmdlet will return all running migration sessions launched during Instant Recovery.
Parameters
|
Parameter |
Description |
Type |
Required |
Position |
Accept Pipeline Input |
|---|---|---|---|---|---|
|
Id |
Specifies IDs of migration sessions that you want to return. Tip: You can find the session ID in an object returned by the cmdlet that launched the migration session. |
|
False |
Named |
True (ByPropertyName) |
<CommonParameters>
This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see Microsoft Docs.
Output Object
The cmdlet returns the InstantRecoveryMigration[] object that defines settings of migration sessions.
Examples
Getting Migration Sessions for NAS Instant Recovery
This example shows how to get the migration session.
|
$nasInstantRecovery = Get-VBRNASInstantRecovery -Id "49664A5F-9C55-4A1F-8E6A-1CD5705A684B" $session = Start-VBRNASInstantRecoveryMigration -InstantRecovery $nasInstantRecovery $migrationsession = Get-VBRInstantRecoveryMigration -Id $session.Id |
Perform the following steps:
- Run the
Get-VBRNASInstantRecoveryReturns active instant restore sessions started to recover backups created by file backup jobs. cmdlet. Specify theIdparameter value. Save the result to the$nasInstantRecoveryvariable. - Run the
Start-VBRNASInstantRecoveryMigrationStarts migration to production for the running instant file share recovery session. cmdlet. Set the$nasInstantRecoveryvariable as theInstantRecoveryparameter value. Save the result to the$sessionvariable. - Run the
Get-VBRInstantRecoveryMigrationcmdlet. Set theIdproperty of the$sessionvariable as theIdparameter value. Save the result to the$migrationsessionvariable.