django-dbdump 1.1

Database backup management command.

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.

Usage:

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:

DATABASES = {
    'default': {
        'ENGINE': 'mysql',
        ...
        'DB_DUMP_EMPTY_TABLES': ['table1', 'table2'],
    }
}

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

See http://github.com/vitaliyf/django-dbdump for more information.

BSD

Author

Vitaliy Fuks

Pip

django-dbdump==1.1

Classifiers

  • Programming Language :: Python
  • Operating System :: OS Independent
  • License :: OSI Approved :: BSD License
  • Intended Audience :: System Administrators
  • Intended Audience :: Developers
  • Framework :: Django
File Type Python Version Uploaded On Downloads
django-dbdump-1.1.tar.gz Source April 16, 2014 2,307
Version Release Date
1.1 April 16, 2014
1.0.1 April 13, 2013
1.0 April 10, 2013
0.1 Sept. 4, 2011
Date Package Version Action
Nov. 4, 2014, 1:05 p.m. django-dbdump 1.0.1 Release Created
Nov. 4, 2014, 1:05 p.m. django-dbdump 1.1 Release Created
Nov. 4, 2014, 1:05 p.m. django-dbdump 1.0 Release Created
Nov. 4, 2014, 1:05 p.m. django-dbdump 0.1 Release Created
Nov. 4, 2014, 1:05 p.m. django-dbdump Package Created