Closed rob-gordon closed 3 years ago
This will be a highly useful add-on, and I too am wondering when and if it will become production ready.
I second (third) this.
+1
I know the comments are a little old on this thread, but I'd like to chip in as I've just spent a little time finding the commands for this.
The plugin is to be installed as a standard plugin, ensure you have wp-sync-db installed as well and have WP-CLI installed on your server.
Firstly, you'll want to set up a profile for the sync. So go ahead in your WP backend and set up the migration. Save the profile. You can have multiple profiles if you'd like.
Profiles are numerical, saved in order of how they're listed in the backend.
Commands for WP-CLI are:
wp wpsdb migrate [profile-number]
Example:
wp wpsdb migrate 1
Hey, I'm just wondering what the status of this project is. Is this still a functioning wp-cli plugin? I ask because I don't see it in the wp-cli package repository, and there isn't much documentation here about how to install it. Let me know how to install it if so, otherwise I may fork and keep working on it.
Thanks!