How to create a backup and restore files Print

  • 0

How to Back Up and Restore Your Website in cPanel

Beginner's guide to creating full and partial backups, downloading them, and restoring files or databases in cPanel — no SSH required.

Backup Types — What You Can Create

  • Full Backup: Entire cPanel account (files, DBs, email, settings).
  • Home Directory Backup: Only your website files.
  • MySQL Database Backup: Exports individual databases.
  • Email Backup: Maildir folders (also included in full backup).

Create Backups (Step-by-Step)

Full cPanel Backup (If Allowed)

  1. Go to Files → Backup or Backup Wizard.
  2. Select Full Backup and choose Home Directory.
  3. Enter your email for completion notification → Generate Backup.

Partial Backups (Files / Database)

  1. Download Home Directory Backup under Files → Backup.
  2. Download each DB under Databases → MySQL Database Backup.

Download & Store Backups Safely

  • Save backups to your computer or cloud storage (encrypted if possible).
  • Never leave backups inside public_html.
Tip: Keep multiple copies and rotate older backups (e.g., 30 / 90 day retention).

Restore Files or Databases

Restore Files

  1. Upload the zip using File Manager.
  2. Click Extract to restore the files to the desired folder.
  3. For full cPanel backup restores, contact your host if the feature is disabled.

Restore Database (phpMyAdmin)

  1. Go to phpMyAdmin.
  2. Select your database → Import → upload your .sql file.
  3. For large DBs, import tables individually or use host tools.
Warning: Importing a database replaces all existing data. Always keep a fresh backup before overwriting.

Automate Backups

Use your host’s scheduled backups or website-specific tools (WordPress plugins, Cron Jobs).

Common Issues & Fixes

Backup Failed / Timeout

Try partial backups instead of full, or request a server-side backup.

Import Failed in phpMyAdmin

Split large SQL files or use your host’s restore tools.

Checklist

- [ ] Create full or partial backups
- [ ] Download and store backups safely
- [ ] Verify files and databases
- [ ] Keep rotation copies
- [ ] Automate backups
© cPanel Backup Guide

Was this answer helpful?

« Back