Skip to main content

Database backup management command.

Project description

This tiny Django application provides a “dbdump” management command that wraps mysqldump or pg_dump and allows you to create SQL dumps of your configured databases.

To use, add ‘dbdump’ to your INSTALLED_APPS.


  • $ dbdump
  • $ dbdump –db-name=mydb –debug –compress=gzip

You can dump only table schema without data or exclude tables completely using DB_DUMP_EMPTY_TABLES and DB_DUMP_EXCLUDED_TABLES settings inside your settings.DATABASES definition. For example:

    'default': {
        'ENGINE': 'mysql',
        'DB_DUMP_EMPTY_TABLES': ['table1', 'table2'],

will not include contents of table1 and table2 in your output.

See for more information.

Project details

Release history Release notifications

History Node


This version
History Node


History Node


History Node


Download files

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

Filename, size & hash SHA256 hash help File type Python version Upload date
django-dbdump-1.0.1.tar.gz (3.5 kB) Copy SHA256 hash SHA256 Source None Apr 13, 2013

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page