Skip to content

Installation

1. Install the package

pip install django-recovery

2. Install restic

restic must be installed on the system (>= 0.16, for --stdin-from-command) and available on PATH. django-recovery does not bundle restic:

sudo apt-get install restic
brew install restic
choco install restic

Grab a release binary from restic.net and put it on PATH, or point RECOVERY["BINARY"] at its location.

Verify:

restic version

3. Add the app

INSTALLED_APPS = [
    # ...
    "django_recovery",
]

Continue with the Quickstart.