Backing Up A Database With MongoDump

Review how to backup a database with a built-in tool in MongoDB: How To Backup With MongoDump. As you can see, we learn how backup a database with the native tool of MongoDump. We'll want to specify a location that we are willing to store files and we should consider that this location will not experience disk corruption, or else or backups may not be valid. You'll also want to ensure that your drive can handle the space required for the backup files that are generated.

Some points that are made in the video:

  • What native tool comes with MongoDB that we can use for backing up a database?
  • How do we specify the database for backing it up?
  • What you should know about the structure of the data in the backup?
  • Outside this video's context, what's a good practice that we should consider when we backup a database? Why?
On the last point, keep in mind that some companies have never tested backups, even though they backup databases regularly. This calls into question why they're backing up a database, if they haven't verified that they can use these backups in an emergency.

Automating ETL
Check out the highest-rated Automating ETL course on Udemy, if you're interested in data.

As a note, just because we backup a database does not mean that it will restore at a later time. For those of you who are familiar with SQL Server, you know that corruption can occur which makes backups invalid. This can occur with MongoDB and we should be careful that we ensure valid backups. I highly recommend restoring backups on a schedule (different server) and running scripts to validate the data. With production level data, we should consider security here and run this on a production level validation server - this will not be appropriate in some contexts without strict security.

YouTube | Automating ETL | T-SQL In 2 Hours | Consumer Guide To Digital Security

H2
H3
H4
3 columns
2 columns
1 column
2 Comments
Ecency