adspace


How can you take database backup in mongodb?

Answer Posted / Neeraj Semwal

MongoDB provides a built-in command to create backups, called db.dump(). This command generates a tarball file containing the entire database and any specified options, such as compression and encryption. Additionally, MongoDB Atlas offers automated backups, and there are third-party tools like Mongodump for more advanced backup functionality.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to define array in mongoose schema?

79


How did mongodb get its name?

60


what is the command syntax for inserting a document?

63