How to Back Up a WordPress Site Step by Step

Backing up a WordPress site involves saving both its files and database. First, download all website files from the root directory using cPanel or FTP. Next, export the database using phpMyAdmin in SQL format. Alternatively, you can use plugins like UpdraftPlus for automated backups. Always store backups in a safe location like cloud storage or external drives.

Method 1: Manual Backup (Files + Database)

Step 1: Backup WordPress Files (Themes, Plugins, Media, etc.)

  1. Access File Manager

    • Use cPanel > File Manager or an FTP client like FileZilla.
  2. Go to WordPress Root Directory

    • Usually found in public_html/ or www/.
  3. Download Files

    • Select all files (including .htaccess, wp-content, etc.)
    • Right-click and Compress (zip), then Download the zip file.

Step 2: Backup Database

  1. Login to phpMyAdmin from cPanel.

  2. Select WordPress Database (name defined in wp-config.php).

  3. Click Export tab.

  4. Choose Quick method and SQL format.

  5. Click Go to download the database file.

Method 2: Use a Plugin (Easy for Beginners)

Recommended Plugins:

  • UpdraftPlus (Free)
  • All-in-One WP Migration
  • BackWPup

Example: Using UpdraftPlus

  1. Go to WordPress Admin Dashboard > Plugins > Add New.

  2. Search for “UpdraftPlus”, install and activate it.

  3. Go to Settings > UpdraftPlus Backups.

  4. Click Backup Now.

  5. Select Include database and files, then click Backup Now.

  6. After backup completes, click Download to store files on your computer.

🔁 You can also set automatic scheduled backups via plugin settings.

Where to Store Backups?

  • Cloud storage: Google Drive, Dropbox, OneDrive
  • Local storage: Your computer or external hard drive
  • Web hosting: Separate hosting directory or email

Important Tips:

  • Backup both files and database.
  • Schedule regular backups (daily/weekly).
  • Store backups off-site (not just on your server).