Database syncing

So I would vagrant ssh in order to export the database? Is there a guide that you know of to show examples of steps involved?

Thank you!