DBBackup to Local Disk¶
To store your database backups on the local filesystem, simply setup the required settings below. Storing backups to local disk may also be useful for Dropbox if you already have the offical Dropbox client installed on your system.
Setup Your Django Project¶
- Install django-dbbackup application:
>> cd django-dbbackup >> python setup.py install
- Add 'dbbackup' to INSTALLED_APPS in your settings.py file.
- Include the required settings below.
DBBACKUP_STORAGE = 'dbbackup.storage.filesystem_storage' DBBACKUP_FILESYSTEM_DIRECTORY = '<local_directory_path>'
- Now you're ready to use the backup management commands.