How to Backup your website files in cPanel

Backup and Restore

In this article I’ll walk you through how to download a home directory backup of your account in cPanel. This is considered a partial backup of your account, and it includes all of the website and email files from your user’s home directory, but does not include any MySQL databases.

This is a great method to use periodically to backup your website when you’re making large changes, such as updating to the latest version of the software you use to run your website. With this partial home directory backup you’ll be able to restore your own website files to a previous date at any time using cPanel.

When you restore a partial home directory backup like we’re creating covering below, this is going to overwrite any existing files currently on your account. So if you have a /public_html/index.htm file on your account, and the backup you created also has that file, the file from the backup will be restored over the current live file.

If you have a new file such as /public_html/index2.htm live on your website that didn’t exist in the backup, or you’ve gotten new emails since you made your partial home directory backup, these files will not be overwritten during the restore.

How to Backup your Site by Downloading files in cPanel

Using the steps below you’ll learn how to download a partial backup of your website including all the files in your home directory.

Login to your cPanel. cpanel click on backupsUnder the files section, click on Backups. cpanel backups click on home directoryUnder Download a Home Directory Backup, click on the Home Directory button. You can now navigate to the folder your web-browser downloaded the backup to, in this case we can see our backup is named You should now have successfully backed up your website files by downloading a partial home directory backup in cPanel. The next step would be learning about how to restore website files in cPanel.

Using this home directory backup you can now restore your website files at anytime in case your files accidentally get deleted or have any issues. You probably would also want to learn how to backup your database in cPanel, and restore your database in cPanel to fully understand how cPanel handles restoring the different parts of your website.

Facebook Comments

Leave a Reply

Your email address will not be published. Required fields are marked *