vip export sql [options]
Export an environment’s database to the user’s local machine.
Options
Argument | Description |
---|---|
-a , --app | Specify the application |
-d , --debug | Activate debug output |
-e , --env | Specify the environment |
-h , --help | Output the help for the (sub)command |
-o , --output | Specify the location where you want to save the export file |
-v , --version | Output 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
Argument | Description |
---|---|
-a , --app=<app> | Specify the app |
-d , --debug | Activate debug output |
-e , --env=<env> | Specify the environment |
-h , --help | Output the help for the (sub)command |
-v , --version | Output the version number |
-y , --yes | Run the command in production without a confirmation prompt |
Last updated: May 25, 2023