/oss · 1 merged

Archmonger/django-dbbackup

A Django app that backs up and restores a site's database and media files.

the project on GitHub (opens in a new tab)
  1. 2 Dec 2026

    Restoring a SQLite backup really brings the old data back

    What was broken
    On a SQLite database in WAL mode, a restore copied the backup over the file, then SQLite replayed its leftover log on top. The command said it worked, but the data stayed unchanged.
    What I changed
    The restore now goes through SQLite's own backup feature into the live connection, the same way backups are made.
    Why it matters
    A restore after a mistake gives back the saved data instead of quietly keeping the bad state.

    see the code, #690 (opens in a new tab)

← every project