Skip to content

vip export sql [options] 

Export an environment’s database to the user’s local machine.

Options

ArgumentDescription
-a, --appSpecify the application
-d, --debugActivate debug output
-e, --envSpecify the environment
-h, --helpOutput the help for the (sub)command
-o, --outputSpecify the location where you want to save the export file
-v, --versionOutput the version number

Examples

   # Export SQL file from your site and save it to the current directory
    $ vip export sql @mysite.develop

   # The output file can be specified with the --output flag
    $ vip export sql @mysite.develop --output=~/Desktop/export.sql.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: May 25, 2023