How to backup primary domain wordpress file on shared hosting

One of my client ask me to backup his blog. He has 5 domain on shared hosting account. Let say his domain are :

  1. DomainA
  2. DomainB
  3. DomainC
  4. DomainD
  5. DomainE

DomainA is his primary domain for his shared hosting account and he want to backup this blog.

Shared hosting (cpanel way) usually add ‘add on domain’ inside primary domain. The structure like this :

DomainA

+DomainB

+DomainC

+DomainD

+DomainE

+wp-config.php

+wp-content

etc.

My suggestion is : only backup wp-content folder and put .sql file inside this folder.

Compress the folder and download to your computer.

Simple 🙂