10up / MU-Migration

This WP-CLI plugin makes the process of moving sites from single WordPress sites to a Multisite instance (or vice-versa) much easier. It exports everything into a zip package which can be used to automatically import it within the desired Multisite installation.
MIT License
329 stars 47 forks source link

Using MU-Migration on the WP VIP local environment #102

Closed tahireu closed 1 year ago

tahireu commented 1 year ago

Describe your question

Hello,

I am having difficulties to successfully export a subsite from a local VIP env multisite. This is how my command looks like:

vip dev-env --slug=my-website --debug @automattic/vip:bin:dev-environment exec -- wp mu-migration export all subsite.zip --blog_id=1

Does it maybe have something to do with the location of the wp-config.php file which is unconventional in the WP VIP sites?

Screenshot 2023-02-27 at 15 01 44

Code of Conduct

tahireu commented 1 year ago

There were some plugin tables that were not exportable with this plugin. Excluded them during export with --non-default-tables, and it worked.