{% extends "admin/dbs/wiki/_layout.html" %} {% block wiki %}

Troubleshooting

The panel logged me out

Run python manage.py dbs security unlock USERNAME, then add your network to the trusted list in setup.

A restore merged when I wanted it to replace

Tick Replace instead of merge, or pass --flush on the command line.

A backup refuses its output path

dbs backup never replaces a file. Choose a new name each run, or let the schedule name them.

A backup stops on files it cannot read

It names each missing or unreadable source file. Restore them, or pass --allow-missing-files to back up without them.

A restore refuses a file

Files land only inside the restore roots. Add the directory to DBS_RESTORE_ROOTS, or map the old root to a new one with DBS_RESTORE_PATH_MAP. A dry run lists every file it would refuse.

The scheduler will not start

It needs an output directory: pass --output-dir or set DBS_BACKUP_DIR.

django_dbs says it needs django-dbs[manager]

The manager is an extra: pip install "django-dbs[manager]" on the machine that runs it.

django_dbs is not recognized / command not found

pip installed the script into a folder that is not on your PATH, common with Windows user installs and pip install --user; pip prints that folder in a warning during the install. Add it to PATH, or run python -m dbs.manager run instead.

{% endblock %}