Support » Plugin: MultiSite Clone Duplicator » Provided WP-CLI command is a godsend for limited sharing hosting environments

  • At first, I tried another multisite duplicator, only to find out that the cheap shared hosting (Sitegrounds) does not support increasing the PHP max_execution_time. So the duplication could not finish running.

    I tried this plugin, which also ran into the same barrier when using it through the admin (SUGGESTION TO DEVS; you may want to provide a warning about low max_execution_time, because users will hit a white screen and the site won’t duplicate).

    BUT…this plugin also provides a WP-CLI command to duplicating the site. So if you can SSH in, you can run a command that will successfully duplicate the site!

    On Sitegrounds, I was only able to follow the first part of the WP-CLI installation that downloaded the .phar file. Permissions were not available to move it to the bin. But I was able to run it from where it was downloaded, passing in the path of the WP installation:

    php wp-cli.phar site duplicate --path="/opt/var/www/foobar-example/public" --slug=newsubdomain --source=2 --title=“New Site Name“
    Success: Site 5 created:

    (Note that “source” here is the ID of the multisite site you are duplicating. See plugin docs for full list of arguments)

    • This topic was modified 2 months, 2 weeks ago by  forthewinn.
    • This topic was modified 2 months, 2 weeks ago by  forthewinn.
  • You must be logged in to reply to this review.