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

django-dumpdb saves and restored the contents of the database in a simple database-independent format.

It is designed to be fast and memory efficient, and can handle a database of ANY size, in a reasonable time, with a fixed memory footprint.

Features

  • Stream-oriented file format.
  • Accesses the database directly, bypassing the ORM layer for better performance.
  • Uses server-side database cursors to preserve memory.
  • Can hanldle data with ForeignKey('self') and forward references.

Supported database backends

django-dumpdb uses server-side cursors and deferred foreign key checks, which is not supported by Django as of now. Therefore, it has to use some DB-specific code. The following database backends are currently supported:

  • postgresql_psycopg2
  • mysql
  • sqlite

Installation

Add django_dumpdb to your INSTALLED_APPS.

Usage

manage.py dumpdb > db.dump
manage.py restoredb < db.dump

Or even:

ssh remotehost /var/www/myproject/manage.py dumpdb | manage.py restoredb

django-dumpdb can also be used to migrate the data to another database (for example, from MySQL to PostgreSQL).

Disclaimer

USE THIS AT YOUR OWN RISK! THIS SOFTWARE MAY CONTAIN BUGS, AND MAY DESTROY YOUR DATA AND KILL YOUR PARENTS, EVEN IF USED CORRECTLY. YOU HAVE BEEN WARNED!

Release History

Release History

0.1

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

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
django-dumpdb-0.1.tar.gz (8.5 kB) Copy SHA256 Checksum SHA256 Source Jun 10, 2011

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