Skip to content

vip import

Import media or SQL database files to an environment.

Usage

vip-import [options]

Options

OptionDescription
-h, --help Retrieve a description, examples, and available options for a (sub)command. (default: false)
-v, --version Retrieve the version number of VIP-CLI currently installed on the local machine. (default: false)
-d, --debug [value] Generate verbose output during command execution to help identify or fix errors or bugs.

Examples

- Import the local SQL database file "example-file.sql" to the develop environment.
$ vip @example-app.develop import sql example-file.sql

- Import an archived file from a publicly accessible URL to the production environment.
$ vip @example-app.production import media https://www.example.com/uploads.tar.gz

Subcommands

NameDescription
sql Import a SQL database file to an environment.
validate-sql Validate a local SQL database file prior to import.
validate-files Validate that the directory structure and contents of a local media file directory can be successfully imported.
media Import media files to a production environment from an archived file at a local path or a publicly accessible remote URL.

Last updated: July 07, 2026