Use the export all command to package a site into a .zip file. This package includes users, tables, and optionally plugins, themes, and uploads. This zip can then be moved to a Multisite network for import.
Common Flags
--plugins: Include the plugins folder in the zip.--themes: Include the themes folder in the zip.--uploads: Include the uploads folder in the zip.--blog_id=<id>: Export a specific subsite from an existing Multisite instance instead of the main site.--tables=<comma_separated_list>: Export only the specified tables (must include default tables).--non-default-tables=<comma_separated_list>: Include specific custom tables during a subsite export.
# Export everything including files
wp mu-migration export all site.zip --plugins --themes --uploads
# Export a specific subsite from a multisite
wp mu-migration export all subsite.zip --blog_id=2
# Export a subsite with specific custom tables
wp mu-migration export all subsite.zip --blog_id=1 --non-default-tables=wp_my_custom_table,wp_my_custom_table_2