Amongst which of the following is / are used to create backup of database in MongoDB?

39. Amongst which of the following is / are used to create backup of database in MongoDB?

  1. mongodump command
  2. mongodelete command
  3. mongotruncate command
  4. None of the mentioned above

Answer: A) mongodump command

Explanation:

It is necessary to use the mongodump command in order to create a backup of a MongoDB database. This command will dump all of the data on our server into a directory named "dump" on our computer. There are numerous options available for limiting the amount of data that can be stored on our remote server or creating backups of our remote server. Creating a binary export of the contents of a database is made possible by the mongodump utility. It is possible to export data from mongod or mongos instances; that is, data can be exported from standalone, replica set, and sharded cluster deployments of the two databases.

Comments and Discussions!

Load comments ↻






Copyright © 2024 www.includehelp.com. All rights reserved.