This is a pre-production deployment of Warehouse, however changes made here WILL affect the production instance of PyPI.
Latest Version Dependencies status unknown Test status unknown Test coverage unknown
Project Description
# oplogutils

Utilities for inspecting and manipulating the MongoDB oplog.

By Dan McKinley - dan@etsy.com - [http://mcfunley.com](http://mcfunley.com)


## Overview

This package contains utilities for manipulating a MongoDB oplog, which can be
necessary 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>


## Installation

The easiest way to install is using [setuptools](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 Tests

oplogutils comes with a fairly complete unit test suite. The suite requires the
mongod program to be somewhere in the $PATH. To run the tests, use:

<pre>
python setup.py test
</pre>


## See Also

* [The MongoDB website](http://www.mongodb.org/)
* See [articles tagged MongoDB on the Etsy developer blog](http://codeascraft.etsy.com/tag/mongodb/) for some use cases.


## Version History

### Version 0.1.2
* 05-30-2010 - Added --version switch to commands. Test fixes.

### Version 0.1.1
* 05-30-2010 - Added oplogutils to cheeseshop.

### Version 0.1
* 05-21-2010 - Initial release.
Release History

Release History

0.1.2

This version

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

0.1.1

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

0.1

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

Download Files

Download Files

TODO: Brief introduction on what you do with files - including link to relevant help section.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
oplogutils-0.1.2-py2.5.egg (11.7 kB) Copy SHA256 Checksum SHA256 2.5 Egg May 30, 2010

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS HPE HPE Development Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting