Django specific database backup system
Project description
Django Database Backup to Git
A Django app, which makes a database backup in JSON format, commits and pushes it to a dedicated Git repository. Intended to be run in deployment scripts and as a scheduled task.
Installation and Setup
- Install with pip:
pip install django-database-backup-to-git
- Set up a Git repository outside of your application's main Git repository.
- Add
dbbackup_git
to yourINSTALLED_APPS
. - In you settings file, specify the
DATABASE_BACKUP_FILENAME
setting. (Recommendably relative toBASE_DIR
.) - Run
manage.py help
, check thatdbbackup_git
is listed as available command.
Usage
Typing manage.py dbbackup_git
will also display output. When running it from cron, use manage.py dbbackup_git --silent
.
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
Built Distribution
Close
Hashes for django-database-backup-to-git-1.1.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | ace3d185b9d35f3d0f6b4557d2bd956b22ab5ff8610ee1bd443117fe649da10e |
|
MD5 | 7b5fea081bafab26cb24650c958496ef |
|
BLAKE2b-256 | e182dca9c431b75792926f881c6f4c16232aa0614cc5ca2852e24fc46b817103 |
Close
Hashes for django_database_backup_to_git-1.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 454ab93055fc989dcb437d62a7bc44ac706c1c3092c04bea27abf987af1c927a |
|
MD5 | cc5b75106bff3eb4071d89a1351b3e42 |
|
BLAKE2b-256 | 16328d40918062f3de1537060dacada5c1b485480edc89bb2a1d6d441dc0c5e7 |