My site is running on an sqlite3 db file in ../database/.ht.sqlite (relative to the site root directory). SqlBase::dumpFile() is using the whole database name, including the path, to create the "auto" filename for sql:dump. That fails as a bad path.
If I add a line to set $database = basename($database) it works. That's hardly likely the right way to fix it, I'm sure.
System Configuration
| Q |
A |
| Drush version? |
11.0.0 |
| Drupal version? |
9.x |
| PHP version |
7.4 |
| OS? |
Mac & Linux |
Additional information
Add any other context about the problem here.