Skip to main content

MongoDB oplog replay utility.

Project description

OplogReplay provides a simple tool that can replay MongoDB oplogs from one cluster to another. Useful for admin operations, or to keep multiple copies of the same data in different mongo clusters.

The included bin/oplogreplay script should cover most of the usecases:

oplogreplay source:27017 destination:27017 --logpath=oplogreplay.log

(see oplogreplay –help for more details)

Advanced usage

The package contains only two classes:
  • OplogWatcher

  • OplogReplayer

More advanced use-cases can be achieved by extending the OplogReplayer (e.g.: you can choose to skip replaying deletes, or modify the operations before replaying them into the destination cluster, etc.).

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

OplogReplay-0.1.3.tar.gz (7.1 kB view details)

Uploaded Source

File details

Details for the file OplogReplay-0.1.3.tar.gz.

File metadata

  • Download URL: OplogReplay-0.1.3.tar.gz
  • Upload date:
  • Size: 7.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for OplogReplay-0.1.3.tar.gz
Algorithm Hash digest
SHA256 726d9ede5fc5f29d1594c70fc9b2e3387a57f753bbb3406703e5df9ab67cdb09
MD5 2d2e26653ed98bed6e0eafc3eec3f45b
BLAKE2b-256 6447846023499f9173dfac17b5d786fd84faa0e0666824b2275b5bbf1624260e

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page