Get-VEMDBRestoreInterval
Short Description
Returns details on the available restore period for a backed-up MongoDB instance.
Product: Veeam Backup & Replication
Product Edition: Enterprise Plus, Veeam Universal License
Syntax
|
Get-VEMDBRestoreInterval [-Session] <VEMDBRestoreSession> [<CommonParameters>] |
Detailed Description
This cmdlet returns details on the available restore period for a backed-up MongoDB instance. You can use the output of this cmdlet to determine the required point-in-time state that you will specify in the Start-VEMDBDataRestoreRestores MongoDB collections or the entire MongoDB instance. and Start-VEMDBPublishJobPublishes a backed-up MongoDB instance. cmdlets.
Parameters
|
Parameter |
Description |
Type |
Required |
Position |
Accept Pipeline Input |
|---|---|---|---|---|---|
|
Session |
Specifies a Veeam Explorer for MongoDB restore session. The cmdlet will return details on the available restore period for the MongoDB instance.
Accepts the |
True |
0 |
True (ByValue) |
<CommonParameters>
This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see the About Common Parameters section of Microsoft Learn.
Output Object
The cmdlet returns the VEMDBRestoreInterval object that contains details on available restore period in the Veeam Explorer for MongoDB restore session.
Examples
Getting Details on Available Restore Period for MongoDB Instance
This example shows how to get details on the available restore period for a MongoDB instance.
|
$session = Get-VEMDBRestoreSession -SessionId "b7ced612-1259-4221-810b-f62c21b1c159" Get-VEMDBRestoreInterval -Session $session |
Perform the following steps:
- Run the
Get-VEMDBRestoreSessionReturns active restore sessions started to perform restore operations with backed-up MongoDB data. cmdlet. Specify theSessionIdparameter value. Save the result to the$sessionvariable. - Run the
Get-VEMDBRestoreIntervalcmdlet. Set the$sessionvariable as theSessionparameter value.
Related Commands
Get-VEMDBRestoreSessionReturns active restore sessions started to perform restore operations with backed-up MongoDB data.Start-VEMDBDataRestoreRestores MongoDB collections or the entire MongoDB instance.Start-VEMDBPublishJobPublishes a backed-up MongoDB instance.