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

  1. Install django-dbbackup application:
    >> cd django-dbbackup
    >> python setup.py install
  2. Add 'dbbackup' to INSTALLED_APPS in your settings.py file.
  3. Include the required settings below.
    DBBACKUP_STORAGE = 'dbbackup.storage.filesystem_storage'
    DBBACKUP_FILESYSTEM_DIRECTORY = '<local_directory_path>'
  4. Now you're ready to use the backup management commands.

Available Settings

DBBACKUP_FILESYSTEM_DIRECTORY (required)

The directory on your local system you wish to save your backups.