Skip to content

1.0.44

Choose a tag to compare

@Natshah Natshah released this 27 Nov 07:47
· 53 commits to 1.0.x since this release
568ae90

What changed since 1.0.43

  • A Restore from the backups list puts back a platform's own database. A project whose database its platform's plugin keeps (a FastAPI app's PostgreSQL, an Immich library's, Wekan's MongoDB) now gets that database back when it is restored from the backups list, on every runtime. Before, only the row's Import did. This closes the known gap of 1.0.43.
  • Deleting a backup deletes its dump, whatever its kind. The platform's own dump beside an archive goes with it, so it no longer shows in a later Import panel.

Upgrading from 1.0.43

  • Nothing to do. An ordinary DDEV project is restored and deleted exactly as before.

Fixed

  • Restore from the backups list (#951, #954): the archive is unpacked, then the core's database script starts the project and imports the dump beside the archive through the runtime layer, so the platform's plugin answers on DDEV as on the other runtimes.
    • The dump is the platform's own (<archive>-db<extension>), else the SQL forms, which a platform's import reads too.
    • An empty dump is named and skipped. A project with no dump is only started. A dump only a missing plugin could read is named for the row's Import, not imported into a database the project does not have.
    • Proven by backing up, changing, removing and restoring from the list: Immich on DDEV and Docker Compose, FastAPI on DDEV, and an ordinary DDEV PHP site with MariaDB as the regression, each with its counts back.
  • Deleting a backup (#955, #956) removes the archive and every <archive>-db.* beside it: .dump, .archive.gz, .sql.gz and .sql. Another backup of the same project, a project whose name starts the same, and an export taken before an import all stay.

Changed

  • The Node chooser of a backup's dump (restore-dump.mts) is gone: the choice is made in the shell, after the archive is unpacked, where the platform's plugin can be asked. Its cases are now tests of the shell function.