Skip to main content

Management commands to help backup and restore a project database to AmazonS3, Dropbox or local disk.

Project description

Django Database Backup

https://api.travis-ci.org/django-dbbackup/django-dbbackup.svg Documentation Status https://coveralls.io/repos/django-dbbackup/django-dbbackup/badge.svg?branch=master&service=github

This Django application provides management commands to help backup and restore your project database and media files with various storages such as Amazon S3, DropBox or local file storage.

It is made for:

  • Ensure yours backup with GPG signature and encryption

  • Archive with compression

  • Use Crontab or Celery to setup automated backups.

  • Great to keep your development database up to date.

Docs

See our offical documentation at Read The Docs.

Management Commands

dbbackup

Backup your database to the specified storage. By default this will backup all databases specified in your settings.py file and will not delete any old backups. You can optionally specify a server name to be included in the backup filename.

dbbackup [-s <servername>] [-d <database>] [–clean] [–compress] [–encrypt] [–backup-extension <file-extension>]

dbrestore

Restore your database from the specified storage. By default this will lookup the latest backup and restore from that. You may optionally specify a servername if you you want to backup a database image that was created from a different server. You may also specify an explicit local file to backup from.

dbrestore [-d <database>] [-s <servername>] [-f <localfile>] [–uncompress] [–backup-extension <file-extension>]

mediabackup

Backup media files. Default this will backup the files in the MEDIA_ROOT. Optionally you can set the DBBACKUP_MEDIA_PATH setting.

mediabackup [–encrypt] [–clean] [–servername <servername>]

Contributing

All contribution are very welcomed, propositions, problems, bugs and enhancement are tracked with GitHub issues system and patch are submitted via pull requests.

We use Travis coupled with Coveralls as continious integration tools.

https://ga-beacon.appspot.com/UA-87461-7/django-dbbackup/home

Project details


Download files

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

Source Distribution

django-dbbackup-2.5.0.tar.gz (28.5 kB view details)

Uploaded Source

File details

Details for the file django-dbbackup-2.5.0.tar.gz.

File metadata

File hashes

Hashes for django-dbbackup-2.5.0.tar.gz
Algorithm Hash digest
SHA256 b2ba6851e0b90f15e3e12716cadd974c3519d5f914f1f2c01bcbeccf459a42c9
MD5 66bfb091643a6805f8ca441695193607
BLAKE2b-256 4f595e4013aa919b0f70b2b2147b8c50c02766dae346821a572bc6841078770d

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page