Skip to content

vip dev-env import

Import data into a local WordPress environment

Usage

vip dev-env-import [options] [command]

Options

OptionDescription
-d, --debug Activate debug output
-h, --help Output the help for the (sub)command
-v, --version Output the version number

Examples

- Import the given SQL file to your site
$ vip dev-env import sql file.sql

- Import contents of the given WP uploads folder file into the media library of the default dev environment
$ vip dev-env import media path/to/wp-content/uploads

Subcommands

NameDescription
media Import media files to the dev environment of your application from a compressed web archive. This command will copy the contents of a folder to the `uploads` folder of the target dev environment.
sql Import SQL to your dev-env database from a file

Last updated: February 29, 2024