Over a million developers have joined DZone.
{{announcement.body}}
{{announcement.title}}

MongoDB Backups: A Comparison of 3 Approaches

DZone's Guide to

MongoDB Backups: A Comparison of 3 Approaches

· Java Zone
Free Resource

Download Microservices for Java Developers: A hands-on introduction to frameworks and containers. Brought to you in partnership with Red Hat.

If you're working with the scale of data that requires a solution like MongoDB, you probably have a lot invested in your data. It goes without saying, then, that backups should be an integral part of any NoSQL offering, and it's important to know how best to approach them. To that end, the MongoDB Management Service (MMS) blog has published a comparison of three MongoDB backup strategies:

  • mongodump
  • Copying the underlying files
  • MongoDB Management Service

As one might expect, given the source, the comparison leans in favor of the third option, but the overview of the three strategies remains a concise resource for understanding what options are availalbe. mongodump, for example, is a tool bundled with MongoDB that allows the creation of straightforward, filterable backups, while file copying (with Linux VM, for example) creates a somewhat inflexible filesystem snapshot. MMS, on the other hand, provides continuous backups as a service.

For a look at the three primary options for MongoDB backups, check out the full post.

Download Building Reactive Microservices in Java: Asynchronous and Event-Based Application Design. Brought to you in partnership with Red Hat

Topics:

Opinions expressed by DZone contributors are their own.

THE DZONE NEWSLETTER

Dev Resources & Solutions Straight to Your Inbox

Thanks for subscribing!

Awesome! Check your inbox to verify your email so you can start receiving the latest in tech news and resources.

X

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}