Code Element Ve
Export Vagrant Database using WP-CLI
Replace:
example.com: with your domain
# Login into vagrant
$ vagrant ssh
# Navigate to your WordPress site
$ cd ../../srv/www/example.com/current/
# Use wp-cli to export your database
$ wp db export
# Download sql export from server
$ scp user@server:../../srv/www/example.com/current/db.sql /local/path