Hi Guys and gals. First of all let me thank the Forum and you guys for the great support I'm getting. IM is a very difficult skill to acquire especially as you need to be trained up on a lot of technical processes. I have just sold a php video script site and need to transfer from my host to the clients different hosting company. I would be indebted for the best and easy way to transfer without any technical difficulties. For example, what I need to back up, files, databases and so on. Thank you
Step 1 - Backing up using SSH Connect to your host via SSH, login and run: mysqldump --opt -u user -p dbname > {path}/backup.sql You will be asked to type out your password once you run that command, do so and click enter. It may take some time for it to respond, but once completed you should be brought back to where you started (bash/command line). Congratulations! You successfully backed up your database using SSH. Restoring using SSH Note: Some hosts do not offer SSH access, I suggest contacting your host and asking him/her if SSH access is enabled and if so the details. A good program to use for connecting via SSH is PuTTY (Get it at: http://www.chiark.greenend.org.uk/~sgtatham/putty/). Don't know how to use it? Search on Google for a tutorial. Connect to your host via SSH, login & run: mysql -u user -p dbname < {path}/backup.sql You will be asked to type out your password once you run that command, do so and click enter. It may take some time for it to respond, but once completed you should be brought back to where you started (bash/command line). Congratulations! You have successfully restored your database using SSH. For Files , Download all the file from the current host , and upload it to the New host Done ....
Thank you very much Anil. I really appreciate your advice on an excellent way to back up and transfer files and database to another host.
Check if the client is using cpanel or plesk or similar. There are built in tool in these to auto transfer websites without any hiccups.
Yes,first confirm which control panel you are using on both the servers because if both the servers using the same control panel then you can easily migrate the hosting account from one server to another server......but if you are using two different control panel then migration job will be much more difficult
You need to take a backup of the php files and other folder which is required then take the backup of mysql Take the backup of mysql and run that sql on new server it will install the database and upload the file...........change the user name and password on the connection file of mysql it will work
Yep. Contact your web host before you transfer the site. Sometimes, they may give you web site transfer service for free.