fairdm.backups.management.commands.backup#
Back up the database and the media now, in the foreground.
Writes the same backups the scheduled tasks write, to the same place, and removes the oldest
beyond BACKUP_KEEP. A failure ends the command with an error.
Usage::
python manage.py backup
python manage.py backup --database-only
python manage.py backup --media-only
Module Contents#
Classes#
Write a database backup, a media backup, or both. |