Skip to content

vip export sql

Export the contents of your database to an SQL file


vip export sql [options]


-a, --app Specify the app
-d, --debug Activate debug output
-e, --env Specify the environment
-g, --generate-backup Exports a freshly created database backup instead of using the latest existing one
-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


- 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

Last updated: February 08, 2024