You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Andy Byers edited this page Jul 19, 2017
·
2 revisions
Admin - Backups
You can run backups manually, by dumping out the relevent database and copying the files directory or, alternatively you can use the builtin backup command which has options of moving a zip file to a target location or uploading it into a S3 bucket.
Settings
There are three settings.py constants for the management of backups.
If BACKUP TYPE is set to directory you must set BACKUP DIR to an existing directory.
Management Command
Janeway comes with a builtin backup command, which calls the dumpdata command to output a JSON representation of your database and then zipping it together with a copy of the files and media directories. It can be called with: