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

Windows 10 + Local by Flywheel - Can't locate the .zip #63

Open aabergkvist opened 5 years ago

aabergkvist commented 5 years ago

Hi!

I've managed to install MU-migration without problems on my win10 + local by flywheel setup.

The export works fine, tells me a .zip has been generated. However, I can't find it, anywhere.

Been using different types of windows search applications, included hidden folders/files etc.

Any ideas?

nicholasio commented 5 years ago

Did you run it inside local by flywheel? what was the path that you specified? if you just specify the file name it should create the zip file in the current directory

It might be that you're creating the zip inside the VM in a location that is not mounted in your windows host.

Likwix commented 4 years ago

@aabergkvist , Hello I am also interested in this question. Just once MU-migration is installed (wp package install 10up/mu-migration), when I run the command "wp mu-migration export all mysite.zip --themes --plugins --uploads", I get the following error:

'grep' is not recognized as an internal command.
or external, an executable program or a command file.
mysqldump: Got error: 2003: Can't connect to MySQL server on 'localhost' (10061) when trying to connect

Could you tell me how you managed to overcome this issue?

jitendrabanjara1991 commented 4 years ago

Hello @Likwix

mysqldump: Got error: 2003: Can't connect to MySQL server on 'localhost' (10061) when trying to connect - Please add mysql path in environment variable.(ex: G:\wamp64\bin\mysql\mysql5.7.28\bin added to control pannel -> system -> advanced ->Environment Variables -> Select Path -> Edit and add this (G:\wamp64\bin\mysql\mysql5.7.28\bin) ).

'grep' is not recognized as an internal command. - You need to install Cygwin64 Terminal for windows

I hope this will work for you.

jeffpaul commented 4 years ago

@aabergkvist and @Likwix have you tried installing Cygwin64 Terminal for Windows as noted by @jitendrabanjara1991?