I started working with Docker and need to set-up a website project. I also need to import the database via command ddev import-db --file=dumpfile.sql.gz
but where do I need to put this dumpfile.sql.gz file? I tried putting it in root folder of project but after running the above mentioned command, I get this error:
Failed to import database db for webproject: Unable to validate import asset dumpfile.sql.gz: invalid asset: file not found
Sorry if maybe I'm missing some key concept understanding about Docker and import of files, but I don't understand the issue and googling this error (even parts of the error) returns absolutely no troubleshooting results.
In older ddev versions is "src" instead of "file". Thus, for instance in ddev 19.2:
ddev import-db --src=./dumpfile.sql.gz