These migration scripts are provided as-is and should be used with caution. Before executing the scripts, make sure to review and understand the code to ensure it aligns with your specific requirements and environment.
Please note that APIs and CLI commands may vary or change between different versions of Plesk, CyberPanel, and CloudPanel. It is recommended to review and modify the scripts accordingly to match the versions you are using.
Make sure to test the scripts in a non-production environment first and have proper backups of your data to mitigate any potential risks or data loss.
Before running the migration scripts, ensure that you have the following prerequisites in place:
-
Access to the source server (Plesk server) with the necessary permissions to retrieve files and databases.
-
SSH key for connecting to the source server securely.
-
Temporary FTP user and password with appropriate permissions to access and download files from the Plesk server.
-
PHP version supported by the destination server (CyberPanel or CloudPanel).
-
Output directory for storing downloaded files and databases.
To use the migration scripts, follow these steps:
-
Clone or download the migration script to your local machine.
-
Open the script file in a text editor.
-
Review the script and ensure that the configuration variables (such as server details, PHP version, file paths, etc.) are correctly set for your environment.
-
Update any other necessary variables or settings, such as email addresses, account/package details, and database passwords.
-
Save the changes to the script file.
-
Open a terminal or command prompt and navigate to the directory where the script file is located.
-
Run the script using the appropriate command. For example, if the script file is named
transfer_cyberpanel.sh
, you can run it by enteringbash transfer_cyberpanel
in the terminal or command prompt. -
Follow the prompts and provide the required information when prompted by the script.
-
Wait for the script to complete the migration process. The duration of the migration may vary depending on the size of the files and databases being transferred.
-
Once the migration is complete, review the output and logs generated by the script to ensure that there are no errors or issues reported.
-
Verify that the migrated websites are functioning correctly on the destination server (CyberPanel or CloudPanel).
Note: It is important to thoroughly test the migrated websites and ensure that all functionalities are working as expected.
These migration scripts are provided "as is" without any warranty of fitness for a particular purpose or suitability for any specific requirements. It is your responsibility to thoroughly review, test, and modify the scripts to meet your specific needs and ensure the safe migration of your data.
Under no circumstances shall the developers or contributors to these scripts be held liable for any damages or losses arising from the use or misuse of these scripts.
Always ensure that you have proper backups of your data before performing any migration or data transfer operations.