/django-s3-backup

Backup all applications to Amazon S3 in INSTALLED_APPS of django project like loaddata/dumpdata.

Primary LanguagePython

django-s3-backup

Backup all applications to Amazon S3 in INSTALLED_APPS of django project like loaddata/dumpdata.

Authors

Features

  • backup and restore command for django-admin.py and manage.py. It's like a loaddata/dumpdata.
  • Transfer backups to Amazon S3 as JSON format.
  • It can be also used as database migration tool from Postgresql to Mysql, for example.
  • Memory Efficient stream JSON encoder/decoder are involved.
  • can dump and restore huge table.
  • thread base parallel upload are supported (python27+).
  • restore all dump data on S3 to local database transaction safely.

License

Distributed under the [MIT License][mit]. [MIT]: http://www.opensource.org/licenses/mit-license.php

Copyright © 2013 Shuichi Mitarai.

Supported options

--exclude=[table_names] exclude to backup or restore.

How to User

  • backup

    $ python manage.py backup

  • restore

    $ python manage.py restore