One of the tools we have available for you here at Servebolt is a command line tool called
sitecopy. It’s available on all Bolts and it allows you to copy a site from one site to another, or even a different Bolt. We use this script ourselves when we’re migrating your site to a Bolt with a different PHP version, for instance.
We already have a tutorial that explains how to duplicate a WordPress site, but you can use the script for non-WordPress sites as well.
sitecopy is easy from the command line, but using the command line (via SSH) may require a little getting used to if you’ve never done this. You can learn more about how to log into your site with SSH here.
Once you find yourself on the command line and inside the
/public folder, just typing in the following command, which is the same as the name of the script:
After which, you’ll be greeted with all the information needed and it should look like this:
One of the option you have here is choosing which CMS you’d like to copy, for instance. We currently have the option between
wp for WordPress,
mg for Magento, and
m2 for Magento 2.
If you’re looking to make a copy of an existing WordPress site for staging purposes, we also have the option of using the Duplicator plugin for WordPress.
Give us your feedback on this article
Want to speed up your site, easily?
Set up your site on Servebolt, free of charge for 14 days, and see for yourself how fast it can be on our extremely fast hosting.
A faster site converts better, ranks better on Google, and is better for the climate.