--- title: "Backup Website Files in cPanel: Complete Guide" description: How to backup and restore website files in cPanel. Complete guide to protecting your website data with automatic and manual backups. canonical: https://penasihathosting.com/en/backup-website-files-in-cpanel-complete-guide type: chapter locale: en updated: 2025-05-23 author: Willya Randika --- # Backup Website Files in cPanel: Complete Guide ## Overview - **Summary:** How to backup and restore website files in cPanel. Complete guide to protecting your website data with automatic and manual backups. - **Author:** Willya Randika ([profile](/penulis/willya-randika)) ## Article Once you understand how to [manage website files in cPanel](/en/managing-website-files-in-cpanel-file-manager-and-ftp/), the next important step is to learn how to perform backups. Backups are one of the most important aspects of managing a website because they protect your data from loss due to human error, malware attacks, or server failure. ## The Importance of Website Backups If you have ever lost your cellphone, computer/laptop, or other valuable item, you must have felt annoyed, hurt, confused or whatever emotion you are feeling, but besides losing valuable items, you also lost important data on them that you may not have backed up. So that such a tragedy does not happen to your website, cPanel has made everything easy by providing a bakcup feature, so you can restore your website files if you lose a file or the entire contents of your website files. Several reasons why website backups are very important: 1. **Protection from human error** - Errors when editing files can damage the website 2. **Recovery from malware attack** - Restores the website to its pre-infected state 3. **Website migration** - Simplifies the process of moving a website to a new hosting 4. **Testing changes** - Allows you to test major changes without risk 5. **Peace of mind** - Knowing your data is safe if something goes wrong ## Types of Backups in cPanel In cPanel, there are several types of backups you can perform: 1. **Full Backup** - Backs up the entire hosting account, including files, database and email settings** 2. **Partial Backup** - Backs up specific components only: * Home Directory (website files) * MySQL Databases (databases) * Email Forwarders & Filters (email settings) ## Automatic Backup in cPanel Well, in cPanel itself, hosting providers usually include an automatic backup feature, where your website will be backed up automatically by the system and stored on the server, so you don't need to back it up manually by downloading it. The automatic backup feature that is quite widely used is JetBackup.![Menu JetBackup untuk backup otomatis di cPanel](https://img.penasihathosting.com/2025/cpanel/JetBackup-1024x445.webp) With JetBackup, you even have access to view full backup files, databases, cron jobs and even email backups. Depending on the hosting provider you use, some will back up your website once a day, some once a week, some once every three days. ### How to Use JetBackup If your hosting provides JetBackup, here's how to use it: 1. **Access JetBackup** - Click the JetBackup icon in cPanel 2. **Select backup type** - Full Backup, Home Directory, MySQL Databases, or Email 3. **Select backup version** - Backups are sorted by date 4. **Select file or folder** - For partial restore 5. **Click Restore** - To restore the selected files or folders JetBackup typically stores multiple backup versions, so you can select a specific point in time to restore. ## Manual Backup in cPanel However, if the cPanel you are using does not have an automatic backup feature, you may need to backup manually. For example, through the Softaculous feature in cPanel. **Or if you are a WordPress user, you can use a backup plugin such as** [**UpDraftPlus**](https://id.wordpress.org/plugins/updraftplus/) **which can back up your website to the cloud directly to your Google Drive account, Dropbox, etc.** If you want to do it manually in cPanel, you can follow the following tutorial:First, click “Backup Wizard” in your cPanel as shown below (you can also click “Backup”, but to make the process easier, choose “Backup Wizard”).![Menu Backup Wizard di cPanel](https://img.penasihathosting.com/2025/cpanel/Backup-wizard-1024x658.webp) Then you will be directed to the following page:![Langkah-langkah Backup Wizard di cPanel](https://img.penasihathosting.com/2025/cpanel/Backup-wizard-steps-1024x633.webp) From here, click the “Backup” button to start the process of backing up your website files. Then you will be faced with a choice where you have to choose between backing up the entire file (full backup) or partial backup (Home Directory, MySQL Databases, Email Forwarders & Filters). For your convenience in the future, choose a full backup and save it in a safe place such as on your external HDD or flash disk, or if you are not too paranoid about security, you can save it on your computer/laptop.![Pilihan Full Backup di Backup Wizard cPanel](https://img.penasihathosting.com/2025/cpanel/Full-backups-1024x553.webp) Finally, you are asked to choose a backup place/destination, for which you simply select "Home Directory".![Halaman untuk generate full backup di cPanel](https://img.penasihathosting.com/2025/cpanel/Generate-backup-1024x909.webp) You can also enter an email address if you want to receive an email notification when the backup process has been completed and to complete the backup process, click the "Generate Backup" button. ### Partial Backup Apart from full backups, you can also perform partial backups for certain components: #### Backup Home Directory 1. Click “Backup” in cPanel 2. In the “Partial Backups” section, click “Download a Home Directory Backup” 3. Wait for the backup process to complete 4. Click the download link that appears #### Backup MySQL Databases 1. Click “Backup” in cPanel 2. In the “Partial Backups” section, click “Download a MySQL Database Backup” 3. Select the database you want to back up 4. Click "Generate Backup" #### Backup Email Forwarders 1. Click “Backup” in cPanel 2. In the “Partial Backups” section, click “Download Email Forwarders” 3. Wait for the backup process to complete 4. Click the download link that appears ## Restore Backup in cPanel Having backups is useless if you don't know how to restore them. Here's how to restore a backup in c Panel: ### Restore Full Backup 1. Click “Backup Wizard” in cPanel 2. Click "Restore" 3. Select the type of backup you want to restore 4. Upload a backup file or select from the server 5. Click "Restore" ### Partial Restore For a partial restore, the steps are similar to a full backup restore, but you need to select the specific components you want to restore: 1. Click “Backup Wizard” in cPanel 2. Click "Restore" 3. Select the partial backup type (Home Directory, MySQL Database, or Email Forwarders) 4. Upload a backup file or select from the server 5. Select the specific files or folders you want to recover 6. Click "Restore" ## Recommended Backup Schedule How often you should backup depends on how often your website is updated: 1. **Frequently updated website** (active blog, e-commerce): * Full backup: Weekly * Database backup: Daily * File backup: Whenever there are significant changes 2. **Websites that are rarely updated** (static websites, portfolios): * Full backup: Monthly * Database backup: Weekly * File backup: Whenever there are changes ## Website Backup Best Practices Here are some best practices for website backups: 1. **Follow the 3-2-1 rule** - Make 3 backup copies, store them on 2 different media, and 1 in an offsite location 2. **Automate the backup process** - Use an automatic backup feature or plugin 3. **Verify backup** - Make sure the backup can be restored properly 4. **Backup encryption** - Protect sensitive data with encryption 5. **Document the process** - Note down the backup and restore steps 6. **Backup rotation** - Delete old backups to save space 7. **Backup before major changes** - Always backup before updates or significant changes ## Checking Disk Space No matter what your hosting provider tells you, disk space will NEVER be unlimited. There are always limitations to its use, and as a new webmaster, you need to know how much space you are using. It's also important to check your disk space periodically to see which parts of your website are taking up the most space. Click “Disk Usage”.![Menu Disk Usage di cPanel](https://img.penasihathosting.com/2025/cpanel/Disk-usage-1024x645.webp) Then you will be directed to the “Disk Usage” page as follows:![Informasi detail pemakaian disk space di cPanel](https://img.penasihathosting.com/2025/cpanel/Informasi-disk-usage-764x1024.webp) This page gives you information about the different sections of your file manager and shows how much disk usage each section has. You can also see the total disk usage in the first table, for example in the image above it shows the total disk usage is 372.29 MB. ### Manage Disk Space for Backup Backups can take up a lot of disk space. Here are some tips for managing disk space for backups: 1. **File compression** - Use a compression format such as ZIP or TAR. GZ 2. **Delete temporary files** - Clean cache and temporary files** 3. **Selective backup** - Backup only important files, ignore cache and log files 4. **Use external storage** - Save backups on cloud storage or an external hard drive 5. **Rotate backups** - Delete old backups periodically ## Conclusion Backing up website files is an important step in managing your website. By performing regular backups, you can protect your data from loss and ensure your website can be restored quickly if a problem occurs. In [next chapter](/en/installing-ssl-in-cpanel-complete-guide/), we will learn how to install SSL in cPanel, an important step to secure your website. **Important Tips** Don't just rely on automatic backups from hosting. Always make regular manual backups and save them in a different location. Remember, the best backup is one you never need, but is always available when you need it.