ddev import-db

Import a sql file into the project

Options

NameDescription
--extract-path <extract-path>If provided asset is an archive, provide the path to extract within the archive
--no-dropSet if you do NOT want to drop the db before importing
--progress, -pDisplay a progress bar during import
--src, -f <src>Provide the path to a sql dump in .sql or tar/tar.gz/tgz/zip format
--target-db, -d <target-db>If provided, target-db is alternate database to import into