Backing Up A Database With MongoDump

in #development3 years ago

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

Sort:  

Dear One

Would you consider consulting (initially pro-bono, but i will drop you some hive-engine @giftgiver $GIFT tokens) by joinng The Matrix-8 Solution Dev team currently led by @Snider of #Lethean @DVPN?

#matrix8 is a decentralised #humanitarian project to help #savetheworld from the #powersthatshouldntbe (and as a bonus you get to have fun and get rich while doing so).

You can
learn more here
about this #peoplepowered #bottomup #decentralisedgovernance and #anonymous #concentratedconsensus system

Sat Nam
Atma