Skip to main content

OplogReplay

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)

Installing

Installing is as easy as:

pip install oplogreplay

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.).

Metadata

Release files for OplogReplay 0.1.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for OplogReplay 0.1.4
File Size Uploaded Provenance Actions
OplogReplay-0.1.4.tar.gz 7.5 kB Without provenance Details for OplogReplay-0.1.4.tar.gz

Release files / OplogReplay-0.1.4.tar.gz

Download URL OplogReplay-0.1.4.tar.gz
Size 7.5 kB
Tags Source
SHA-256 checksum
How to use checksums
5a34cd29b84e7d4ed9fd832e4c650ddb2fb68aeb7590ba7fb99d9ef30201985a
BLAKE2b-256 checksum
How to use checksums
cd895ea9e9b3e3454b8b403f5224084b24256575417ffa347774f136e57b3870
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for OplogReplay 0.1.4

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page