Ahosting Logo
Knowledge Base

How to Create and Restore Backups in cPanel

Regular backups protect your website from data loss. cPanel provides several backup options to keep your files, databases, and emails safe.

Ahosting Automatic Backups

All Ahosting hosting plans include automatic daily and weekly backups. These are managed by our system and can be restored by contacting support.

cPanel Backup Options

cPanel provides two backup tools:

  • Backup Wizard: Step-by-step guided backup/restore
  • Backup: Direct backup downloads

Creating a Full Backup

  1. Go to Files > Backup
  2. Click Download a Full Account Backup
  3. Select backup destination:
    • Home Directory: Saves to your account
    • Remote FTP Server: Sends to external server
  4. Enter email for notification (optional)
  5. Click Generate Backup

Note: Full backups can only be restored by server administrators. For self-restore, use partial backups.

Creating Partial Backups

Partial backups let you backup and restore specific parts:

Home Directory Backup (Files)

  1. Go to Files > Backup
  2. Under Partial Backups, click Home Directory
  3. A compressed file downloads automatically

Database Backup

  1. Under Partial Backups, find Download a MySQL Database Backup
  2. Click the database name you want to backup
  3. A .sql.gz file downloads

Email Backup

  1. Under Partial Backups, find Email Forwarders and Filters
  2. Click your domain to download email configuration

Using Backup Wizard

  1. Go to Files > Backup Wizard
  2. Click Back Up
  3. Choose Full Backup or Partial Backup
  4. Select what to backup (Home Directory, MySQL, Email)
  5. Click Back Up

Restoring Files from Backup

  1. Go to Files > Backup
  2. Under Restore, click Choose File next to Home Directory
  3. Select your backup file (.tar.gz)
  4. Click Upload

Restoring a Database

  1. Go to Files > Backup
  2. Under Restore a MySQL Database, click Choose File
  3. Select your database backup (.sql or .sql.gz)
  4. Click Upload

Note: The database must already exist. Create it first if needed.

Manual Backup Best Practices

When What to Backup
Before updates Full backup or database + wp-content
Before theme changes Home directory
Before plugin installation Database
Weekly Full backup to external storage

Storing Backups Safely

  • Download backups to your local computer
  • Store copies in cloud storage (Google Drive, Dropbox)
  • Keep at least 3 recent backups
  • Test restore process periodically