Level 88
You can run this command (replace databasename with your databasename)
mysqldump -uhomestead -psecret databasename > dump.sql
Note: if you changed the username or password of homestead then you need to update that here as well! I used the default database settings from homestead in the command above
2 likes