MongoDB Atlas
Back up a MongoDB Atlas database — send independent, restore-tested backups of your Atlas cluster to storage you control. Which connection string to use, the IP Access List gotcha, and the read-only database user mongodump needs.
To back up a MongoDB Atlas database, Backup connects to your cluster like any
other MongoDB: over the public internet, with TLS, using a standard SRV
connection string and a database user. Atlas is managed, so two things need your
attention before it works: Atlas blocks all inbound traffic until you allow
Backup's egress IP, and you'll want a read-only user scoped for mongodump.
Which connection string
Use the standard SRV connection string — the one Atlas shows under Drivers (formerly "Connect your application"). It looks like:
mongodb+srv://<username>:<password>@<cluster>.<hash>.mongodb.net/?retryWrites=true&w=majorityThe mongodb+srv:// scheme uses a DNS SRV record to discover your cluster's
replica-set nodes, so you don't list individual hosts. Atlas appends
?retryWrites=true&w=majority by default; those are safe to leave in. Backup
accepts this URI as-is. The SRV scheme also implies tls=true, so the
connection is encrypted without any extra flag. Atlas requires TLS on every
cluster; it is always on. The SRV record resolves to your cluster's nodes, which
are reachable over public IPv4.
Find the connection string
- In the Atlas UI, go to Database and click Connect on your cluster.
- Choose Drivers (under "Connect to your application").
- Leave the driver dropdown on the default. Atlas shows the
mongodb+srv://connection string. - Copy it. Atlas shows
<password>as a placeholder — replace it with the database user's password (URL-encode any reserved characters, for example@becomes%40).
Paste the URI into Backup's credentials step.
Network access
This is the step that trips people up. Atlas's IP Access List denies all
inbound connections by default; nothing connects until the source IP is on the
list. You must add Backup's egress IP 18.196.207.101:
- In the Atlas UI, go to Network Access → IP Access List.
- Click Add IP Address.
- In Access List Entry, enter
18.196.207.101/32(the/32scopes it to that single address). - Add a comment like
Norcube Backup egress, then click Confirm.
Wait for the entry to go Active before testing. Don't use 0.0.0.0/0; you
only need Backup's one static IP. See
network access.
Database user
mongodump needs a database user with read access. In Atlas, go to Database
Access → Add New Database User:
- Authentication Method: Password (Atlas uses SCRAM under the hood).
- Set a username and password. These are the credentials that go in the connection string.
- Database User Privileges: grant a read-only built-in role.
Read and write to any database → Only read any database
(
readAnyDatabaseonadmin) covers a full-cluster dump. To scope it tighter, use Specific Privileges and grantreadon just the database you back up.
Read access is all mongodump needs. Don't grant write or admin roles.
Restore tests
Every backup can be restore-tested: Backup replays the archive into a throwaway MongoDB engine and confirms your data comes back. For MongoDB the result is a straight pass/fail — your collections and documents either restore or they don't.
mongodump against Atlas produces a normal dump. --oplog (point-in-time
consistency) requires privileges Atlas doesn't grant a standard user, so Backup
takes a regular dump, which is exactly what restore-tests. The
provider-managed-extension caveat that applies to Postgres platforms like
Supabase doesn't apply to MongoDB; there's nothing platform-specific to skip.
From there, it's the standard flow
Backup runs mongodump on your schedule and writes the
encrypted archive to
storage you control. You can
download any backup and restore it with standard MongoDB tools,
independent of Norcube. When you're ready, follow
connect a database to wire it up.
Heroku Postgres
Back up a Heroku Postgres database — send independent, restore-tested backups of your Heroku Postgres to storage you control, and handle Heroku's rotating credentials.
Backup policies
Reusable schedule + retention + destination templates, and how attachments bind them to your databases.