oplogutils

A oplog editing utility for mongodb
Download

oplogutils Ranking & Summary

Advertisement

  • Rating:
  • License:
  • GPL v3
  • Price:
  • FREE
  • Publisher Name:
  • Dan McKinley
  • Publisher web site:
  • http://etsy.com

oplogutils Tags


oplogutils Description

A oplog editing utility for mongodb The oplogutils package contains utilities for inspecting and manipulating the MongoDB oplog.OverviewThis package contains utilities for manipulating a MongoDB oplog, which can benecessary in recovery scenarios. The tools are:< pre > oplog-count - counts the number of events in the oplog after a certain date and time. oplog-trim - deletes events from the oplog after a certain date and time.< /pre >InstallationThe easiest way to install is using (http://pypi.python.org/pypi/setuptools).< pre >$ easy_install oplogutils< /pre >To install from source, extract the tarball and use the following commands.< pre > $ python setup.py build $ sudo python setup.py install< /pre >Examples< pre >oplog-trim --host=myhost.domain.com --port=27017 --remove-after="2010-05-22 03:42:00"< /pre >Unit Testsoplogutils comes with a fairly complete unit test suite. The suite requires themongod program to be somewhere in the $PATH. To run the tests, use:< pre >python setup.py test< /pre > Requirements: · Python What's New in This Release: · Added --version switch to commands. Test fixes.


oplogutils Related Software