--- id: django-dbbackup version: "5.3.0" license: BSD-3-Clause license_treatment: permissive maintenance: active --- # django-dbbackup — Management commands to help backup and restore a project database and media. License: permissive · Maintenance: active · Downloads: 298.6K/mo ## What it is and what it does Django DBBackup is a Django application that wraps database and media backup/restore operations into management commands, replacing the need to write custom scripts or use complex database tools directly. It sits between your Django project and storage systems, using each database's native backup procedures rather than Django's dumpdata/loaddata commands, which the documentation notes are less efficient. The package supports multiple storage backends and can optionally encrypt backups with GPG and compress them before transmission. You trigger backups either manually via management commands, or set them up to run automatically through Crontab or Celery. The main appeal is simplicity: instead of writing shell scripts or database-specific commands, you call a single Django command and let the package handle storage routing, encryption, and compression. It supports Django versions 5.0 through 6.0 and Python 3.10 and later. Use it for: - Automate daily database backups to S3 or Dropbox without writing custom scripts or cron jobs. - Encrypt sensitive database backups with GPG before storing them on remote or untrusted storage. - Restore a development database from a production backup to keep local testing data current. - Compress and archive both database and media files together for efficient off-site storage. - Integrate backup scheduling with Celery for distributed task management in larger deployments. ## Worth the install? AI-flagged interpretation of the facts above — verify before relying. Provides Django management commands to backup and restore project databases and media files to various storage backends (S3, Dropbox, local storage) with optional GPG encryption and compression. Yes. The package is actively maintained, has no known vulnerabilities, low install friction, and solves a common operational need with a clean interface. It's production-stable and well-suited for any Django project that needs reliable, automated backups with encryption and flexible storage options. ## Install pip install django-dbbackup uv add django-dbbackup poetry add django-dbbackup ## Installing django-dbbackup Before you install: Low install friction with a single dependency on django. Active maintenance with recent commits and a stable production-ready status. License in practice: BSD-3-Clause is permissive; you can use this package in commercial and proprietary projects with minimal restrictions. Quickstart: pip install django-dbbackup # In Django settings.py, add 'dbbackup' to INSTALLED_APPS # Then run: python manage.py dbbackup python manage.py dbrestore Requires Django as a runtime dependency and Python 3.10 or later. Verify before relying: - Whether compression formats and storage backends beyond S3/Dropbox are documented or supported. - Performance characteristics when backing up very large databases or media collections. - Whether Celery integration is built-in or requires additional configuration. ## Package facts - License: BSD-3-Clause (permissive) - Python support: supports_current - Install friction: low - Maintenance: active - Downloads: 298.6K/month (top 15,000 on PyPI) - Known vulnerabilities: none known ## Tags django database backup, backup restore django, database encryption backup, s3 dropbox backup django, automated database backup, media files backup django, gpg encrypted backup, backup-restore, encryption, django-admin [View on SkillFed](https://skillfed.io/packages/django-dbbackup) · [View on PyPI](https://pypi.org/project/django-dbbackup/)