Cpanel provides a automatic backup tool for your website by means of “Backup” and “Backup Wizard” Links in the files section of the Cpanel.But I do not recommend them as they provide a full home directory backup and that is what you may not need most of the time.The easy way is to do a manual backup of your website files and the mysql database.This article will describe how to do that.
You will need a FTP client.The easily available free FTP Client is Filezilla. Download and install the FTP client.
To make a FTP connection you will need the host name which shall be your domain name, the username and password of your Cpanel account will work for your FTP account as well. You may like to contact your hosting provider for the FTP connection credentials to hour hosting root folder,in case you run into problems there.
Once you have established the FTP connection on the right hand side navigate to the public_html or the www folder and then to the folder containing your website files.
Select all files and folders by clicking on the right side window and pressing CTRL + A
Drag the files and folders to a predesignated folder on the left pane and wait till the file operations are over.
You would have manually backed up your website files by now.
Now you will need to backup the mysql database of your website if there exists one.
From within your Cpanel Go to phpMyAdmin
You will be redirected to the phpMyAdmin window
Click on “Databases”
The list of existing databases will be displayed.Click on the database you want to backup.The table strcuture of the database will be displayed.
Click on the “Export” tab on the top menu.You will see the message ”
Exporting tables from “your db name” database
Leave the “Quick” radio button option as checked and Click on the “Go” button.
Your browser will prompt you to save a .sql file. Save the file.This file contains the backup of your mysql database and can be imported to a empty mysql database (without the table structure) later.
That is all.
If you liked this article please do leave a reply and share it with friends.
Thanks.