--- title: "Start-VEMDBDataRestore" description: "Restores MongoDB collections or the entire MongoDB instance. Product: Veeam Backup & Replication Product Edition: Enterprise Plus, Veeam Universal License This cmdlet provides the following parameter sets: This cmdlet restores backed-up and publi" canonical: "https://helpcenter.veeam.com/docs/vbr/explorers_powershell/start-vemdbdatarestore.html" breadcrumb: "Veeam Explorers PowerShell Reference > Veeam Explorers PowerShell Reference > Veeam Explorer for MongoDB > Start-VEMDBDataRestore" dateModified: "2026-08-18" --- # Start-VEMDBDataRestore ## Short Description Restores MongoDB collections or the entire MongoDB instance. **Product**: Veeam Backup & Replication **Product Edition**: Enterprise Plus, Veeam Universal License ## Syntax This cmdlet provides the following parameter sets:
LogicalRestoreParameterSet
PhysicalRestoreParameterSet
|
Parameter |
Description |
Type |
Required |
Position |
Accept Pipeline Input |
|---|---|---|---|---|---|
|
CertificateAuthorityPemFilePath |
For collections restore. Specifies the path to the custom Certificate Authority (CA) PEM file used to verify the certificate issued to the MongoDB deployment. You can use this parameter with the Note: If you use this parameter, do not specify the |
|
False |
Named |
False |
|
ClientCertificateAndKeyPemFilePath |
For collections restore. Specifies the path to the PEM file containing the client certificate and the related private key. You can use this parameter with the |
|
False |
Named |
False |
|
ClientKeyPassword |
For collections restore. Defines the password used to decrypt the private key specified in the |
|
False |
Named |
False |
|
Collections |
For collections restore. Specifies the collections and their restore options. Accepts the |
True |
0 |
False |
|
|
Credential |
Specifies credentials for authenticating to the primary node of the MongoDB deployment or the target MongoDB server. Note: The user must have root privileges on the target server. Accepts the |
True |
Named |
False |
|
|
DataFolderPath |
For instance restore. Specifies the path to which the cmdlet will restore the MongoDB instance. Note: If you do not specify this parameter, the instance will be restored to the original location. |
|
False |
1 |
False |
|
Force |
Defines that the cmdlet will overwrite existing MongoDB data with data from the backup. Note: The cmdlet will show no prompt before executing the command. |
|
False |
Named |
False |
|
InstanceCredentials |
For collections restore. Specifies the credentials for the target MongoDB instance. Consider the following:
Accepts the |
|
False |
1 |
False |
|
InstancePort |
Specifies the port of the target MongoDB instance. Default: 27017 |
|
False |
Named |
False |
|
RestoreAdminDatabase |
For collections restore. Defines that the cmdlet will restore the admin database. |
|
False |
Named |
False |
|
Server |
Specifies DNS name or IP address of the primary node of the target MongoDB deployment or the target MongoDB server. |
|
False |
Named |
False |
|
Session |
For instance restore. Specifies a restore session initiated to perform operations with MongoDB data. Accepts the |
True |
0 |
False |
|
|
SshPort |
Specifies the SSH port number that the cmdlet will use to connect to the Linux machine. Default: 22 |
|
False |
Named |
False |
|
ToPointInTimeUTC |
For instance restore. Specifies a point in time in the UTC format within the restore interval of the MongoDB instance. The cmdlet will restore the instance to the state of the specified point in time. If you do not use this parameter, the cmdlet will restore the instance to the point in time when the restore point for which you started the restore session was created. |
|
False |
Named |
False |
|
UseSystemCertificateAuthority |
Defines that the cmdlet will use the Certificate Authority (CA) store of the mount server associated with the backup repository to verify the certificate issued to the MongoDB deployment. You can use this parameter with the Note: If you use this parameter, do not specify the |
|
False |
Named |
False |
|
UseTLS |
For collections restore. Defines that the cmdlet will connect to the target MongoDB deployment using a secure TLS protocol. Note: This parameter is obligatory if you use the |
|
False |
Named |
False |
|
UseX509Authentication |
For collections restore. Defines that the cmdlet will use X.509 authentication to connect to the target MongoDB deployment. Note: If you use this parameter, do not specify the |
|
False |
Named |
False |