Get-VEMDBRestoreInterval
Short Description
Returns details on the available restore period for a backed-up MongoDB instance.
Applies to
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-VEMDBDataRestore and Start-VEMDBPublishJob 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 VEMDBRestoreSession object. To get this object, run the Get-VEMDBRestoreSession cmdlet. | True | 0 | True (ByValue) |
<CommonParameters>
This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see the About CommonParameters section of Microsoft Docs.
Output Object
The cmdlet returns the VEMDBRestoreInterval object that contains details on available restore period in the Veeam Explorer for MongoDB restore session.
Example
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-VEMDBRestoreSession cmdlet. Specify the SessionId parameter value. Save the result to the $session variable.
- Run the Get-VEMDBRestoreInterval cmdlet. Set the $session variable as the Session parameter value.
Related Commands