wp-cli on a Multisite with 1 Data Base and 2 different Table Prefixex
-
Hi, I have a multisite with 2 sites and 1 DB. The directory is only one for both sites.
In the DB the 2 websites have tables in common and tables with a different prefix.
if I run
wp sweep --all
does it clean all the websites?Considering that probably the command line will clean only the master website, is there a way to clean the second website via command line?
If it is not supported, kindly could you implement a feature to manage the multisite?
For example, if I want to install a plugin I can use
wp plugin install <name-plugin> --activate-network
The option
--activate-network
manages the activation for the multisite.Let me show you what I get for the multisite
wp sweep --all Success: 1 Auto Drafts Processed Success: 61 Transient Options Processed Success: 42 Orphaned Post Meta Processed Success: 51 Tables Processed Success: 1 oEmbed Caches In Post Meta Processed Success: Sweep Complete
The number of Tables processed is the total for all the websites.
Thank you very much for your support.
Kind regards
G. Aloe
- The topic ‘wp-cli on a Multisite with 1 Data Base and 2 different Table Prefixex’ is closed to new replies.