Pre-Requisites
- Access to cPanel with Softaculous installed.
- Basic knowledge of managing installations via Softaculous.
- Note that clone functionality is available only for specific scripts.
This guide will help you clone an installation, allowing you to test upgrades or changes before applying them to the main installation. For a list of applications you can clone, visit this page.
Important Notes
- Clone functionality is currently supported for a limited number of scripts.
- If your site is installed manually, you will need to import it into Softaculous first.
Cloning a WordPress Installation
We will take the example of cloning a WordPress installation to a subdirectory called clone.
1. Login to Your Panel
- Go to your cPanel login page (e.g., https://example_domain.com:2083) and log in with your credentials.
- Click on the Softaculous icon or link.
- The Softaculous Enduser Panel will be displayed.
- Navigate to the All Installations page.
2. Choose the Installation to Clone
- Click on the Clone icon next to the installation you wish to clone.
- The Clone page will appear with the current installation details and a form for the cloned installation.
3. Fill in the Clone Installation Details
- Fill in the required clone installation details, such as the domain, directory, and database name.
- Click on the Clone Installation button. The time taken may vary based on the size of your installation, so please be patient.
Final Steps
That's it! You can now use the cloned installation to test updates or any other changes you wish to try out.
NOTE: You will receive the clone installation details via email if email notifications are enabled. The admin/user account login details will be the same as those for the source installation.
Gotchas to Avoid
- Ensure that you have sufficient disk space for the cloned installation.
- Be aware that some scripts may have limitations on cloning functionality.
- Test your cloned installation thoroughly to ensure it functions as expected before applying changes to the main installation.
Linux Command for Importing a Manual Installation (Optional)
If you have a manual installation that you want to import into Softaculous, you can use the following command:
# Navigate to the installation directory
cd ~/public_html/your_manual_installation_directory
# For WordPress, use the WP-CLI to import
wp core install --url="your_domain.com" --title="Your Site Title" --admin_user="admin" --admin_password="password" --admin_email="email@example.com"
This command will help you set up your manual installation in Softaculous.