--- title: "Get-VEMDBRestoreInterval" 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 This cmdlet returns details on the available restore period for a back" canonical: "https://helpcenter.veeam.com/docs/vbr/explorers_powershell/get-vemdbrestoreinterval.html" breadcrumb: "Veeam Explorers PowerShell Reference > Veeam Explorers PowerShell Reference > Veeam Explorer for MongoDB > Get-VEMDBRestoreInterval" dateModified: "2026-08-18" --- # 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] [] ``` ## 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`](start-vemdbdatarestore.md) and [`Start-VEMDBPublishJob`](start-vemdbpublishjob.md) 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.

VEMDBRestoreSession

True

0

True (ByValue)

`` This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see the [About Common Parameters](http://go.microsoft.com/fwlink/p/?LinkID=113216) section of Microsoft Docs. ## Output Object The cmdlet returns the [`VEMDBRestoreInterval`](vemdbrestoreinterval.md) object that contains details on available restore period in the Veeam Explorer for MongoDB restore session. ## Examples ::: 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: 1. Run the [`Get-VEMDBRestoreSession`](get-vemdbrestoresession.md) cmdlet. Specify the `SessionId` parameter value. Save the result to the `$session` variable. 2. Run the `Get-VEMDBRestoreInterval` cmdlet. Set the `$session` variable as the `Session` parameter value. ::: ## Related Commands - [`Get-VEMDBRestoreSession`](get-vemdbrestoresession.md) - [`Start-VEMDBDataRestore`](start-vemdbdatarestore.md) - [`Start-VEMDBPublishJob`](start-vemdbpublishjob.md)