This article describes a method to take a backup of your website and database only, using cPanel. Read how to make a backup of your entire cPanel account here.
If you would like support, we can carry out this entire task for you for a very reasonable cost - please contact us for more information.
- Log in to your cPanel - see this article on how to access your cPanel for more details
- Check that there is enough disk space available to store a copy of the files before proceeding - on the right side, Statistics section.
- Files: to backup the website files, go to Files > File Manager.
- Website files (e.g. HTML files, PHP files for CMS) are typically located in the public_html directory.
- In some cases files are in a subdirectory or directory outwith public_html. Check if this is the case before proceeding.
- Click once to select the public_html directory, then on the toolbar at top right, click Compress and select a compression type.
- Allow cPanel to generate the archive, then click once on the new archive file to select, then click Download on the top toolbar.
- Save the file somewhere safe on your computer.
- Once downloaded, the archive can be deleted on cPanel to save disk space.
- Database: to backup the database, go back to the main Tools page in cPanel.
- Go to Files > Backup.
- Under Download a Database Backup, click the name of the database to download a copy.
- If more than one database appears, you may wish to verify which is in active use on your website.
- To do this, as an example, go back into File Manager, go into the public_html directory, and edit the relevant configuration file, which should contain details of the database used. E.g. in WordPress this is information is in the wp-config.php file. In other systems it may be index.php or config.php etc.
- Save the database file somewhere safe on your computer.