Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options not deleted user 9345

Making copies of data which may be restored after a data loss event or to recover data from some earlier point in time.

1 vote
Accepted

Does local.oplog.rs hold all data in mongodb replication?

You can use the oplog for incremental backup and point-in-time restoration for a replica set, but note that an oplog backup is only valid to apply against an existing full data backup of the same replica … See Cloud Manager Backup Preparations for some background. The MongoDB manual is the best reference for supported backup methods for your version of MongoDB server. …
Stennie's user avatar
  • 10.3k
1 vote

mongodump with readpref nearest

If you have specific secondaries in your DR data centre for backup purposes, you can use these mongod nodes in your backup procedure. … Recommended backup strategies are included in the MongoDB manual: Stop the balancer and backup all components of the sharded cluster with mongodump Stop the balancer and backup all components of the …
Stennie's user avatar
  • 10.3k
24 votes
Accepted

Mongodump affects app performance really bad

A standalone server limits your backup options if you also want to keep your deployment available while taking a backup. … Download & install the Cloud Manager Backup Agent. …
Stennie's user avatar
  • 10.3k
2 votes
Accepted

What synchronizes two delayed replicas, which is part of the replica set, included in sharde...

For more information see the Backup and Restore Sharded Cluster tutorials in the MongoDB documentation. … If you have a large amount of data, you will typically want to use the Filesystem snapshot approach to create an approximate point-in-time backup. …
Stennie's user avatar
  • 10.3k
1 vote
Accepted

How to confirm that chunk transfer is completed on a DB

To ensure there are no migrations in progress while taking your backup, you should stop the balancer via sh.stopBalancer(). … sh.isBalancerRunning() After taking your backup, you need to remember to start the balancer again. …
Stennie's user avatar
  • 10.3k
2 votes
Accepted

Converting MongoDB instance from Standalone to Replica Set and Backing Up

testing a backup. … For example, Linux has LVM (Logical Volume Manager) which enables taking a consistent backup of a block device. …
Stennie's user avatar
  • 10.3k
3 votes

How do I define the frequency of my mongo backup

MongoDB doesn't have an automatic backup feature built-in -- you have to choose an appropriate backup strategy using command-line or third party tools. … The backup procedure will vary depending on your deployment type (standalone, replica set, sharded cluster), disk/dbpath configuration, and backup requirements. …
Stennie's user avatar
  • 10.3k
3 votes
Accepted

MongoDB Restore / Snapshot Schedule - Point In Time vs. Oplog Timestamp

A snapshot is a full backup of your data captured at a specific interval. … It depends what level of backup/restore granularity you want to offer your customers. …
Stennie's user avatar
  • 10.3k
1 vote
Accepted

mongodump: are 4 shards with total datasize 575 GB consider a Small Sharded Cluster?

For a more complete sharded backup procedure using mongodump, see: Back Up a Sharded Cluster with Database Dumps. … You also need to have enough disk space to save a complete backup (or compressed backup for MongoDB 3.2+) of the data dumped via a single mongos, enough network bandwidth to cope with the increased traffic …
Stennie's user avatar
  • 10.3k