ddev import-db
Import a sql file into the project
Options
Name | Description |
---|---|
--extract-path <extract-path> | If provided asset is an archive, provide the path to extract within the archive |
--no-drop | Set if you do NOT want to drop the db before importing |
--progress, -p | Display 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 |