Hello! I’m having an issue exporting a database using wp-cli from my local development server to a remote staging server.
I’ve run vagrant ssh, and am in the /srv/www/{mysite.com}/current
folder - i’m trying to run:
wp db export --ssh=root@vas.mysite.com.au /srv/www/mysite.com.au/current/
but it’s returning the following error:
Error: This does not seem to be a WordPress install. Pass --path=`path/to/wordpress` or run `wp core download`.
I’m able to successfully run other wp-cli commands like wp db check
which returns green across the board.
I’m just trying to export my local database to my remote staging server. I assume that once it’s exported the remote location above, I should just be able to run wb db import mysite_dbase.sql
?
Any help would be great, thank you.