This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
#Plesk to cPanel | |
echo "" | |
echo "Plesk To Cpanel Migration Script \n=======================================\n" | |
echo "Make sure that the cPanel user has shell access enabled and an sshe key is setup for the same. \nAdd the private key in the location where the script is executing with name key\n=================================================================================================\n" | |
echo "Before executing this script, create three files in the directory where your are executing the script \nThe file names should be 'dblist', 'emaillist', 'sdomainlist' dblist \nshould contain the name of all dbs, emaillist should contain all the email account without @ and domain name, \nsdomain list should contain the subdomain name individual names should be written in sperate lines\n=====================================================================\n\n" | |
echo "Enter the domain domain name in the source server:" | |
read d; | |
echo "Enter the domain domain name in the destination server:" | |
read d2; |