Short answer: To backup your WordPress site before migration, you can use a plugin like UpdraftPlus, create a cPanel backup via your hosting dashboard, or manually download your files via FTP and export your database via phpMyAdmin.
Key takeaways
- Backup your entire site before any migration to avoid data loss.
- Use a plugin for a simple one-click backup solution.
- cPanel backups include files and database in one download.
- Manual backups give you full control over the process.
- Test your backup by restoring it to a staging site first.
What you will find here
Backing up your WordPress site before migration is non-negotiable. One wrong move can wipe out months of content, design, and SEO progress. This guide walks you through three reliable methods: using a plugin, your hosting control panel, or a manual approach. Pick the one that fits your comfort level.
Why You Need a Full Backup Before Migration
A migration involves moving your WordPress files, database, and settings to a new location. If something goes wrong—connection drops, file corruption, or server timeout—you need a fallback. A backup is your safety net. Without it, you risk losing everything.
Your backup must include two parts:
Files: wp-content uploads, themes, plugins, and core files.
Database: posts, pages, users, settings, and comments.
Many people only copy files and forget the database. That leads to a broken site. Always grab both.

Method 1: Use a Backup Plugin
Plugins are the easiest way to backup your WordPress site. They handle files, database, and scheduling automatically. Here’s how to do it with a popular option like UpdraftPlus.
Steps to Backup Using UpdraftPlus
- Install and activate UpdraftPlus from the WordPress plugin repository.
- Go to Settings > UpdraftPlus Backups.
- Click the Backup Now button.
- Check both “Database” and “Files” options, then confirm.
- Wait for the backup to complete—this may take a few minutes depending on site size.
- Download the backup files to your computer or send them to a remote storage like Dropbox or Google Drive.
After the backup finishes, verify the files exist and are not corrupted. You can also schedule regular backups in the plugin settings.
Other Reliable Backup Plugins
- BackWPup: Free version supports backups to Dropbox, S3, and FTP.
- Jetpack Backup: Paid but offers real-time backups and one-click restores.
- BlogVault: Provides off-site storage and automated migrations.
Method 2: Backup via cPanel (Hosting Dashboard)
If your hosting provider gives you cPanel access, you can create a full backup from there. This method doesn’t require any plugin. It bundles everything into a single downloadable file.
Steps to Backup via cPanel
- Log into your cPanel (typically yourdomain.com/cpanel).
- Look for the Backup or Backup Wizard section.
- Click Backup Now or select Full Backup.
- Choose the backup destination—usually “Home Directory.” You can also send it to a remote FTP server.
- Enter your email address to get notified when the backup is ready.
- Click Generate Backup. Wait for the process to finish.
- Download the generated .tar.gz file to your computer.

cPanel backups include your entire account, including databases and emails. That’s overkill sometimes, but safe. If your host uses a different panel (like Plesk), the process is similar—look for backup options under “Files” or “Tools.” One common mistake: assuming the backup only contains your WordPress files. It will also include other accounts if you have reseller hosting. Be selective if you don’t want extra data.
Method 3: Manual Backup (Files + Database)
Manual backups give you full control. You separate the file download from the database export. This method works on any hosting environment, even without cPanel.
Step 1: Download Your Files via FTP
- Connect to your server using an FTP client like FileZilla.
- Navigate to
public_htmlor the folder where your WordPress lives. - Select all files and folders, then drag them to a local folder on your computer.
This download can take a while for large sites. Make sure you have a stable connection. If the transfer fails midway, resume it—most FTP clients support resuming interrupted transfers.
Step 2: Export Your Database via phpMyAdmin
- Open phpMyAdmin from your hosting control panel.
- Select your WordPress database (you can find the name in wp-config.php).
- Click the Export tab at the top.
- Choose Quick export method and format SQL.
- Click Go. A .sql file will download to your computer.
For large databases, select the Custom export method. Then check “Add DROP TABLE / VIEW / PROCEDURE / FUNCTION / EVENT statement” under “Format-specific options.” This helps avoid conflicts when restoring. Store both the files folder and the SQL file in a single backup directory on your computer or cloud storage.
Comparison of Backup Methods
| Method | Ease of Use | Control | Best For |
|---|---|---|---|
| Plugin | Very easy | Low | Beginners, quick backups |
| cPanel | Easy | Medium | Users comfortable with hosting panel |
| Manual | Moderate | High | Developers, advanced users |
Common Backup Mistakes and How to Avoid Them
- Skipping the database: Your site won’t work without it. Always backup both files and database.
- Not verifying the backup: A backup file could be corrupt. Test it by restoring to a staging site.
- Storing only on the server: If your server crashes, you lose the backup. Download a copy to your computer or use cloud storage.
- Using an outdated backup: Right before migration, create a fresh backup of your current live site.
- Overwriting old backups: If you use a plugin with automatic scheduling, check that it doesn’t overwrite your pre-migration backup. Some plugins keep only the latest few versions. Manually archive the critical one.
How to Test Your Backup
A backup is only useful if you can restore it. Test it by creating a staging site. If your host has a staging feature, use that. Otherwise, install WordPress in a subdirectory, then import your backup using the same plugin or by uploading files and importing the SQL in phpMyAdmin.
If the staging site looks exactly like your live site, your backup is good. If errors appear, fix the issue before proceeding with migration. Common issues include broken image paths (fix with a search and replace tool like Better Search Replace) or database connection errors (check wp-config.php credentials).
What to Do If Your Backup Fails
Backups can fail for several reasons. If a plugin times out, try increasing your PHP memory limit or execution time in wp-config.php. Add these lines before “That’s all, stop editing!”:
define('WP_MEMORY_LIMIT', '512M');
set_time_limit(300);
If cPanel fails, check if your hosting account has disk space or inode limits. Delete unnecessary files before retrying. For manual FTP downloads that keep failing, use a command-line tool like rsync if you have SSH access. It’s more reliable for large file transfers.
Following these steps ensures your data stays safe. Now you’re ready to migrate with confidence. For a full migration walkthrough, check out our detailed guide on how to backup your WordPress site before migration.
Frequently asked questions
What is the easiest way to backup a WordPress site?
The easiest way is to use a backup plugin like UpdraftPlus. Install it, click Backup Now, and the plugin handles files and database. You can then download the backup to your computer or send it to cloud storage.
Do I need to backup my database separately when using a plugin?
No. A good backup plugin backs up both files and database automatically. Just make sure both options are selected before starting the backup.
Can I backup my WordPress site without a plugin?
Yes. You can manually download site files via FTP and export the database through phpMyAdmin. Alternatively, use your hosting control panel (cPanel) to create a full backup.
How long does a WordPress backup take?
It depends on your site size and hosting speed. A small site may take less than a minute. A site with hundreds of images might take several minutes. Plugin backups are usually faster than manual FTP downloads.
What should I do if my backup fails?
Check your server resources like memory limit and execution time. Increase them in wp-config.php or contact your host. You can also try a different backup method, such as cPanel backup or manual export.