Skip to content

vip import [options] [command]

Import media or SQL files to an environment

Commands

NameDescription
mediaImport media files from a compressed web archive to your production environment
sqlImport a SQL database file to your VIP Platform environment
validate-sqlValidate your SQL dump

Options

ArgumentDescription
-d, --debugActivate debug output
-h, --helpOutput the help for the (sub)command
-v, --versionOutput the version number

Examples

   # Import a SQL database file to an environment
    $ vip @mysite.develop import sql /local/path/to/file.sql

   # Import an archive file of media files to the VIP File System for an environment
    $ vip @mysite.production import media "https://www.example.com/uploads.tar.gz"

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: December 17, 2022