MongoDB
Create a MongoDB restore schedule for packaged mongodump directories and validate data with typed operations.
Loading documentation…
A MongoDB schedule restores a packaged mongodump directory into the exact MongoDB version you select, then runs typed validation operations.
| Series | Exact version | Tier |
|---|---|---|
| 4.2 | 4.2.24 | Legacy |
| 4.4 | 4.4.30 | Legacy |
| 5.0 | 5.0.33 | Legacy |
| 6.0 | 6.0.28 | Legacy |
| 7.0 | 7.0.40 | Supported |
| 8.0 | 8.0.29 | Supported |
| 8.2 | 8.2.12 | Legacy |
| 8.3 | 8.3.8 | Supported |
These are the versions currently available in RestoreTrust. The console and the database-engine catalog are authoritative if the catalog changes. Prefer a Supported version for a new schedule unless your recovery target requires an exact Legacy version.
A mongodump produces a directory, so package it in a tar or ZIP container before the worker downloads it. You can select:
MongoDB schedules do not accept None as a container and do not use a SQL file.
Package the ordinary mongodump directory, with its .bson and .metadata.json files and database folders. mongodump --archive and per-file mongodump --gzip output are not supported. To compress the backup, tar the uncompressed directory first and then compress the tar. ZIP can use its own internal compression, with the schedule's separate compression layer set to None or Detect automatically. See Supported artifact layouts.
Choose the exact version required for this backup.
Choose automatic detection or enforce the expected tar/ZIP and compression settings. Add the matching decryption secret metadata when the artifact is protected.
MongoDB has no target-database field. Add one or more typed probes against a restored database and collection instead of arbitrary JavaScript.
Select boolean, integer, or string comparison as appropriate. Use equality/inequality or ordered comparisons supported for that type, and add duration gates where needed.
Available MongoDB operations include:
Filters use the structured JSON field shown in the console. System databases are not valid probe targets.
An exact count reads every matching document, so on a large collection it can take minutes. If the order of magnitude is enough, estimate the count instead; it takes no filter and reads only collection metadata. Otherwise raise the probe's time limit (300 seconds by default, at most 3,600), see Validation gates.
A restored process and an existing collection do not prove that the required records are present. Combine existence checks with stable counts, fields, or statistics that represent your recovery requirements, without exposing sensitive values.
Run a manual check after saving and review each probe result on the check page.