I am attempting to export a site’s database through command line (for practice; I know this can be done via UIs). The steps I am taking:
- Right-click on site > “Open Site SSH”
- Run command:
wp db export
I do receive a success message:
Success: Exported to 'local-2019-01-31-e26d535.sql'.
But—I can’t seem to locate this file. If I right-click on the site > “Reveal in Finder,” the .sql file isn’t placed in the /app/public or /app/sql folders, and I can’t seem to scp the file out of the container.
(Similarly, if I wanted to import a .sql file this way [wp db import], where would I place it?)
Thanks!