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

Create a clone of multisite #83

Open alex8276 opened 4 years ago

alex8276 commented 4 years ago

Hi, I want to create a preprod environment of my network. (clone of porduction environment) Is it possible with your plugin or we can just export one to one the subsites ?

Regards

nicholasio commented 4 years ago

@alex8276 if you want to clone the whole network you don't need this plugin, you can clone the network as is and do a search-replace.

However, if you want to clone just a subset of the sites then yes, this plugin is for you.

alex8276 commented 4 years ago

Hello @nicholasio Thanks for your answer ! So just a copy/paste folders and update the URLs in the database ?

Later I will need this plugin to export just one subsite :)

nicholasio commented 4 years ago

@alex8276 Correct, move folders and export and import the database.