MongoDB is a general purpose NoSQL database developed by MongoDB, Inc.
Anti-Cloud Backup & Restore supports backing up MongoDB databases as a Protected Item type.
No temporary disk space is required: database content is streamed directly from the MongoDB server into Anti-Cloud's chunking deduplication engine without requiring any temporary disk space. All backup jobs require only incremental storage using Anti-Cloud's chunking technology.
Backing up data from your MongoDB server will cause some additional load on the MongoDB server for the duration of the backup job.
The underlying technology is mongodump
. Anti-Cloud will use your system installed mongodump
version for best compatibility with the exact feature set of your MongoDB server. This is the officially supported mechanism for backing up a MongoDB database.
This technology is also compatible with MongoDB forks, variants and cloud services, including but not limited to
Anti-Cloud will search the PC for the system installed mongodump
and mongo
shell binaries. If your binaries are installed in a normal system location, Anti-Cloud will find and use the most recent available binary. If you have special requirements, or if Anti-Cloud is unable to automatically detect the binary path, you can override the binary path to use a custom mongodump
and mongo
shell binary.
Connection details should be set before picking databases for backup. Enter your MongoDB connection details in the lower part of the window.
Anti-Cloud supports connecting to MongoDB in different ways:
mongod
/ mongos
). The default port is 27017.mongodump
binary against the forwarded port connection. The use of SSH as a transport layer is independent of whether SSL is also enabled (described below).rs0
)Anti-Cloud supports the following transport layers:
Anti-Cloud supports the following authentication mechanisms:
SCRAM
)
admin
.MONGODB-X509
)
.pem
file that contains the client SSL (TLS) certificate, intermediates, and private key in text X.509
format.Other authentication mechanisms are not currently supported in Anti-Cloud (e.g. neither Kerberos / LDAP when using MongoDB Enterprise; nor, custom authentication mechanisms used by MongoDB software variants).
Anti-Cloud can backup a MongoDB replica set with a consistent point-in-time snapshot.
Anti-Cloud can back up a sharded MongoDB cluster, but depending on your MongoDB server version, there are some limitations:
To back up a sharded cluster in Anti-Cloud, enter the mongos
front-end server in the Anti-Cloud connection details.
When backing up from a mongos
server, Anti-Cloud cannot make use of the "read preference" selection as data is proxied through mongos
. The backup will read from the primary replica set member of each shard replica set.
Use the plus button on the right to open a database browser, allowing you to select individual MongoDB databases for backup.
Anti-Cloud will back up all MongoDB collections within the selected MongoDB databases.
Anti-Cloud's MongoDB Protected Item type produces a .bson
file for each selected MongoDB database. You can restore all databases, or selected databases only.
When restoring, you can choose to either
.bson
files on disk, and then import them into your MongoDB server; or