If your cPanel account hosts multiple domains, and you want to back up only one domain (including website files, database, emails, and email passwords), follow this step‑by‑step guide.
Good to know: On cPanel, your domain’s emails live under
/mail/domain.com/, while email account passwords & quotas live under/etc/domain.com/(inside your cPanel home). Both are needed for a complete email backup.
✅ Prerequisites
-
Your cPanel login details from Netpoa.com.
-
Enough free space in your cPanel account to create zip archives.
-
The domain’s folder name (e.g.,
example.com).
Step 1 — Back Up Website Files
-
Log in to cPanel → open File Manager.
-
Locate your domain’s web root:
-
Primary domain: usually
/public_html/ -
Addon domain: usually
/public_html/example.com/(or a custom folder set when the addon domain was created)
-
-
Select the domain’s files/folders → Compress → Zip Archive.
-
Download the zip archive to your computer.
Result: example.com_files.zip
Step 2 — Back Up the Database
-
In cPanel, open phpMyAdmin.
-
Identify the correct database (check your site’s config file, e.g., WordPress
wp-config.php→DB_NAME). -
In phpMyAdmin, select the database → Export → Quick → SQL → Go.
-
Save the
.sqlfile.
Result: example.com_db.sql
Step 3 — Back Up Emails (Content + Passwords)
3A. Mailbox Content (messages & folders)
-
In File Manager, go to:
/mail/example.com/ -
You’ll see a folder per mailbox (e.g.,
/mail/example.com/info/). -
Select the
example.comfolder under/mail/→ Compress → Zip Archive → download.
Result: example.com_mail.zip
Includes: inbox, sent, drafts, custom folders, and sieve filters inside each mailbox.
3B. Email Account Passwords & Quotas (the “emails password folder”)
-
Still in File Manager, go to your home
/etc/directory (this is inside your cPanel home, not the server’s system/etc). -
Open:
/etc/example.com/ -
Select all files (commonly
passwd,shadow,quota) → Compress → Zip Archive → download.
Result: example.com_email_creds.zip
What these files contain:
passwd→ mailbox list & mapping
shadow→ hashed passwords for mailboxes
quota→ quota settingsSecurity note: Do not share
shadowpublicly. Store safely. If you restore these files on the destination cPanel (same domain and matching usernames), mailbox passwords will work without resetting.
(Optional) Forwarders & Filters
-
Forwarders and account‑level filters are stored in system‑level paths. If you need them migrated, open a ticket with Netpoa and we’ll export/import them for you.
Step 4 — Save DNS Records (Recommended)
-
In cPanel → Zone Editor → open your domain.
-
Copy A, CNAME, MX, TXT, and any other records to a text file.
Result: example.com_dns.txt
✅ Your Final Backup Set (per domain)
-
example.com_files.zip— Website files -
example.com_db.sql— Database dump -
example.com_mail.zip— Email content -
example.com_email_creds.zip— Email passwords & quotas (/etc/example.com/) -
example.com_dns.txt— DNS records (reference)
Keep these together for a complete restore.
Quick Restore Cheat‑Sheet (same or new cPanel)
-
Website: Upload
example.com_files.zipto the target web root → extract. -
Database: Create a new DB & user in cPanel → import
example.com_db.sqlvia phpMyAdmin → update your site config (e.g.,wp-config.php) with new DB name/user/password. -
Email accounts:
-
If the destination is cPanel and the domain exists under the same cPanel user:
-
Upload and extract
example.com_email_creds.zipto/etc/example.com/. -
Upload and extract
example.com_mail.zipto/mail/example.com/.
-
-
If usernames or paths differ, recreate mailboxes in cPanel → then upload only the mailbox folders under
/mail/example.com/(passwords will be the new ones you set).
-
-
DNS: Point your domain’s DNS (A and MX records) to the new server if migrating.
Tip: After restoring mail, open Email Disk Usage in cPanel for each mailbox to rebuild indexes if folders seem out of date.
