Skip to content

Browse: Home / VIP-CLI Commands / vip dev-env / vip dev-env import / vip dev-env import sql

vip dev-env import sql [options]

Import SQL to your dev-env database from a file

Options

ArgumentDescription
-d, --debugActivate debug output
-h, --helpOutput the help for the (sub)command
-i, --in-placeSearch and Replace explicitly on the given input file
-r, --search-replacePerform Search and Replace on the specified SQL file
-S, --skip-validateDo not perform file validation.
-s, --slugCustom name of the dev environment
-v, --versionOutput the version number

Examples

   # Import the contents of a WordPress database from an SQL file
    $ vip dev-env import sql some-wp-db-file.sql

Global Options

ArgumentDescription
-a, --app=<app>Specify the app
-d, --debugActivate debug output
-e, --env=<env>Specify the environment
-h, --helpOutput the help for the (sub)command
-v, --versionOutput the version number
-y, --yesRun the command in production without a confirmation prompt

Last updated: October 04, 2022