How to Back Up and Restore a WordPress Site (Simple Method)
A backup is your safety net for every other fix. Learn what to back up, how often, where to store it and how to restore.
A full WordPress backup has two parts: the files (your site folder) and the database (your content and settings). You need both.
Option 1: Your host's backups
Most hosts offer automatic backups and one-click restore in the hosting panel. Find out how often they run and how long they are kept, and take a manual backup before big changes. Do not rely only on them, because a backup stored with the same host is lost if the account is lost.
Option 2: A backup plugin
Trusted plugins such as UpdraftPlus can back up your files and database on a schedule and send copies to a separate place such as Google Drive or Dropbox. Set a schedule and an off-site destination, and test a restore at least once.
Option 3: By hand
- Download everything in your site's folder through File Manager or FTP.
- Open phpMyAdmin, select your database, click Export and keep the file.
What to keep
- Daily backups for busy sites, weekly for quiet ones.
- At least several recent copies, not just the newest.
- One copy somewhere other than your hosting account.
How to restore
- Host or plugin backup: choose the backup and click Restore.
- By hand: upload the files back, then in phpMyAdmin choose Import and select the saved database file. Check that
wp-config.phphas the right database details. See our database guide.
Test your backups
A backup you have never restored is only a hope. Restore it once on a test site to be sure it works.
Related guides
- WordPress: Clone a Site to a Subdomain for Testing
- Rollback Plan: How To Undo a Change in 5 Minutes
- Restore One File or One Database Table From a Backup Without Rolling Back Everything
- phpMyAdmin Import Fails: File Too Large or Script Timed Out