vip import
Import media or SQL database files to an environment.
Usage
vip import [options] [command]
Options
| Option | Description |
|---|---|
-d, --debug |
Generate verbose output during command execution to help identify or fix errors or bugs. |
-h, --help |
Retrieve a description, examples, and available options for a (sub)command. |
-v, --version |
Retrieve the version number of VIP-CLI currently installed on the local machine. |
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
| Name | Description |
|---|---|
media |
Import media files to an environment from an archived file located at a publicly accessible URL. |
sql |
Import a SQL database file to an environment. |
validate-files |
Validate the directory structure and contents of a local media file directory prior to archiving and uploading it to a publicly accessible URL. |
validate-sql |
Validate a local SQL database file prior to import. |
Last updated: January 07, 2026