G
G
geocoder2015-02-19 13:56:45
MongoDB
geocoder, 2015-02-19 13:56:45

How to make backups from a MongoDB (Replica-Set) database with a size of more than 100+ GB?

Hello.
We have a MongoDB database running on 3 servers in replication mode, the size of the database is constantly growing (now about 100 GB) and we need to backup it regularly.
I found 3 existing ways:

  1. Backup using the mongodump utility . But it seems to work poorly on large databases, because it greatly slows down the process.
  2. Backup by physical copying of database files. Then there is the problem of uploading them to the storage (for example, S3, because the size is too large)
  3. Backup using lvm snapshots. Everything is fine here, but you need to be able to do it.

Question: What other ways to back up large databases exist? Preferably transparent in use, so that you can fasten different storages, Amazon S3 or similar.
Thank you!

Answer the question

In order to leave comments, you need to log in

1 answer(s)
E
egor_nullptr, 2015-02-19
@gecoder

Add a hidden node to the replica ( docs.mongodb.org/manual/tutorial/configure-a-hidde... ) and backup it with mongodump .

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question