--- title: "Stop-VEMDBDataRestore" description: "Stops the restore process for backed-up MongoDB data. Product: Veeam Backup & Replication Product Edition: Enterprise Plus, Veeam Universal License This cmdlet stops an ongoing restore job for backed-up MongoDB data." canonical: "https://helpcenter.veeam.com/docs/vbr/explorers_powershell/stop-vemdbdatarestore.html" breadcrumb: "Veeam Explorers PowerShell Reference > Veeam Explorers PowerShell Reference > Veeam Explorer for MongoDB > Stop-VEMDBDataRestore" dateModified: "2026-08-18" --- # Stop-VEMDBDataRestore ## Short Description Stops the restore process for backed-up MongoDB data. **Product**: Veeam Backup & Replication **Product Edition**: Enterprise Plus, Veeam Universal License ## Syntax ``` Stop-VEMDBDataRestore -RestoreJob [-Force] [] ``` ## Detailed Description This cmdlet stops an ongoing restore job for backed-up MongoDB data. ::: note Restore jobs will not stop automatically if you close the PowerShell console. To stop the restore session, you must run the `Stop-VEMDBDataRestore` cmdlet. ::: ## Parameters

Parameter

Description

Type

Required

Position

Accept Pipeline Input

Force

Defines that the cmdlet will show no prompt before executing the command.

SwitchParameter

False

Named

False

RestoreJob

Specifies an initiated MongoDB restore job. The cmdlet will stop this job.

Accepts the VEMDBRestore object. To get this object, run the Get-VEMDBDataRestore cmdlet.

VEMDBRestore

True

Named

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. ## Examples ::: example ### Stopping Restore Job This example shows how to stop a MongoDB restore job. ``` $restore = Get-VEMDBDataRestore Stop-VEMDBDataRestore -RestoreJob $restore[3] -Force ``` Perform the following steps: 1. Run the [`Get-VEMDBDataRestore`](get-vemdbdatarestore.md) cmdlet. Save the result to the `$restore` variable. The cmdlet will return an array of active restore jobs. Note the ordinal number of the necessary restore job (in this example, it is the fourth restore job in the array). 2. Run the `Stop-VEMDBDataRestore` cmdlet. Set the `$restore` variable as the `RestoreJob` parameter value and select the necessary restore job. Note that the `Force` parameter is also provided, which will cause the restore job to be stopped without any additional prompts or warnings. ::: ## Notes `Stop-VEMDBDataRestore` replaces the deprecated cmdlet `Stop-VEMDBRestoreJob`. The old cmdlet still works (as an alias of the new cmdlet, with identical functionality), but it may be removed in a future version. ## Related Commands [`Get-VEMDBDataRestore`](get-vemdbdatarestore.md)