How to Back Up and Restore Your WordPress Website
Maintaining current backups is an essential part of managing a WordPress website. Backups can help you recover from accidental deletions, failed updates, software conflicts, security incidents, and other unexpected problems.
Lagrange Point Media (LPM) maintains scheduled hosting backups to support recovery when problems occur. However, customers using DIY Hosting should also maintain independent backups of their websites.
This guide explains what a WordPress backup should contain, how to create your own backup, and what to consider before restoring a website.
1. Understanding WordPress Backups
A complete WordPress backup generally includes two main components:
Website Files
These include:
-
WordPress core files.
-
Installed themes.
-
Installed plugins.
-
Uploaded images and documents.
-
Configuration files.
-
Custom website files.
WordPress Database
The database stores information such as:
-
Pages and posts.
-
Website settings.
-
User accounts.
-
Comments.
-
Plugin settings and application data.
-
WooCommerce products and orders, if applicable.
Important: Backing up only your WordPress files or only your database may not provide everything needed to restore your website.
2. How LPM Hosting Backups Work
LPM maintains scheduled backups of its hosting environment.
Our backup practices include:
-
Regularly scheduled backup operations.
-
Multiple retained recovery points.
-
Backup copies stored separately from the primary hosting environment.
-
Recovery procedures intended to help restore data when needed.
These measures provide an additional layer of protection, but backup availability depends on successful completion, retention, and the condition of the stored data.
Important: LPM cannot guarantee recovery of every file, database, or previous website state. Customers should maintain independent backups of important website information.
3. Creating a Backup with a WordPress Plugin
WordPress backup plugins can simplify the process of creating copies of your website.
Depending on the plugin, available features may include:
-
Backing up website files.
-
Exporting the WordPress database.
-
Scheduling automatic backups.
-
Saving backups to external storage.
-
Restoring files and database information.
To use a backup plugin:
-
Sign in to your WordPress dashboard.
-
Navigate to Plugins > Add New Plugin.
-
Search for a reputable WordPress backup plugin.
-
Review its compatibility and available features.
-
Install and activate the plugin.
-
Open its settings.
-
Configure the backup components and destination.
-
Run a backup.
-
Verify that the backup completed successfully.
Tip: Whenever possible, configure backups to be stored outside your hosting account. Backups stored only on the same server may become unavailable if the hosting environment experiences a serious failure.
Note: Some backup plugins require a paid license for automatic scheduling, external storage integrations, or restoration features.
4. Backing Up WordPress Files Using cPanel
You can create a copy of your WordPress files using cPanel File Manager.
-
Sign in to the LPM Client Portal.
-
Open cPanel from your active hosting service.
-
Search for File Manager.
-
Navigate to your WordPress installation directory.
-
Select the files and directories you want to back up.
-
Click Compress.
-
Choose ZIP Archive.
-
Create the archive.
-
Download the ZIP file to your computer.
Make sure the backup includes important files such as wp-config.php and the wp-content directory.
Important: A File Manager archive does not automatically include your WordPress database.
After downloading the archive, remove unnecessary copies from publicly accessible directories.
5. Backing Up Your WordPress Database
WordPress uses a MySQL-compatible database to store much of its content and configuration.
You can export the database using phpMyAdmin.
-
Open cPanel.
-
Search for phpMyAdmin.
-
Open phpMyAdmin.
-
Select your WordPress database.
-
Click the Export tab.
-
Choose Quick for a standard export.
-
Select SQL as the export format.
-
Click Export to download the file.
If you're unsure which database WordPress uses, its connection information is normally defined in wp-config.php.
Look for the DB_NAME setting.
Security Warning: Database exports may contain customer information, user records, and other sensitive data. Store them securely and never place unprotected copies in publicly accessible directories.
6. Using WP Toolkit for WordPress Management
LPM provides WP Toolkit through cPanel.
WP Toolkit includes WordPress management capabilities, and certain editions or configurations provide additional backup, restore, cloning, or staging functionality.
To check your available options:
-
Open cPanel.
-
Search for WP Toolkit.
-
Select your WordPress installation.
-
Review the available management options.
-
Use any supported backup or recovery feature according to its instructions.
Important: Not all WP Toolkit editions provide the same features. Do not assume that a backup or restore option is available simply because it appears in online documentation.
If you need assistance with a feature that isn't available, contact LPM support.
7. When Should You Back Up WordPress?
We recommend creating a current backup before:
-
Updating WordPress core.
-
Updating major plugins or themes.
-
Changing PHP versions.
-
Installing new website functionality.
-
Editing important configuration files.
-
Modifying database information.
-
Migrating your website.
-
Making significant design changes.
For websites that change frequently, additional scheduled backups may be appropriate.
For example, an online store receiving orders throughout the day may require more frequent database backups than a basic informational website.
The appropriate backup frequency depends on how much data loss your business can tolerate.
8. Restoring WordPress Using a Backup Plugin
If you created a backup using a WordPress plugin, the restoration procedure depends on that plugin.
Generally, the process involves:
-
Accessing the plugin's backup or restore interface.
-
Selecting an available backup.
-
Reviewing which files and database components will be restored.
-
Confirming the restoration.
-
Waiting for the process to complete.
-
Testing the website afterward.
Some plugins can restore a website directly from the WordPress dashboard.
Others require additional steps, particularly when WordPress is no longer accessible.
Warning: Restoring an older database may overwrite newer posts, customer orders, registrations, comments, and other information created after the backup.
Always review the consequences before restoring an older website state.
9. Manually Restoring WordPress Files
If you have a backup of your WordPress files, you may be able to restore them using cPanel File Manager.
A general restoration process involves:
-
Identifying the correct WordPress installation directory.
-
Creating a copy of the current files when possible.
-
Uploading the backup archive.
-
Extracting the files into the appropriate directory.
-
Confirming that the expected files are present.
-
Checking file permissions.
-
Testing the website.
Important: Replacing files does not automatically restore your database.
Also, restoring files from one point in time while retaining a database from another can create compatibility problems.
Manual restoration should be performed carefully, particularly on active websites.
10. Manually Restoring a WordPress Database
A WordPress database backup can generally be imported using phpMyAdmin.
However, importing an SQL file into an existing database can overwrite or conflict with current information.
Before proceeding:
-
Confirm that you have selected the correct database.
-
Create a backup of the current database if possible.
-
Verify that the SQL file belongs to the intended website.
-
Determine whether existing tables need to be preserved, replaced, or removed.
-
Review the import process and its potential consequences.
To import an SQL file:
-
Open phpMyAdmin.
-
Select the destination database.
-
Click Import.
-
Choose the SQL backup file.
-
Review the import settings.
-
Start the import.
-
Check for errors.
Warning: Importing a database backup is not always a simple reversal of previous changes. SQL imports may fail or produce duplicate or conflicting records if the destination database is not prepared correctly.
If you're uncertain about the process, contact LPM support before making changes.
11. Requesting a Restoration from LPM
If your WordPress website becomes inaccessible or important information is lost, LPM may be able to assist using available hosting backups.
To request assistance:
-
Sign in to the LPM Client Portal.
-
Open a support ticket.
-
Identify the affected domain.
-
Explain what happened.
-
Provide the approximate date and time the problem began.
-
Identify when the website last worked correctly, if known.
Our support team can review available recovery options.
Important: Restoration to a specific date or time is not guaranteed. Available backups may not contain the exact website state you need.
12. Understanding Partial vs. Complete Restoration
Not every WordPress problem requires a complete website restoration.
File Restoration
May be appropriate when a specific file or directory was deleted or modified incorrectly.
Plugin or Theme Restoration
May help when an update or customization damages a particular component.
Database Restoration
May be required when posts, settings, user records, or other database information is damaged.
Complete WordPress Restoration
Typically involves restoring compatible copies of both website files and the database.
The correct recovery method depends on the problem and the available backup data.
13. Testing Your Website After Restoration
After restoring WordPress, verify that the website functions correctly.
We recommend checking:
-
Homepage and important internal pages.
-
WordPress administration dashboard.
-
Images and downloadable files.
-
Contact forms.
-
Navigation menus.
-
Login and registration features.
-
Plugin functionality.
-
WooCommerce checkout and order information, if applicable.
-
Any external integrations.
You may also need to clear website caches after restoration.
Important: A website loading successfully does not necessarily mean all information and functionality have been recovered.
14. WordPress Backup Best Practices
For better protection:
-
Maintain independent backups outside your hosting account.
-
Include both files and databases.
-
Use secure storage locations.
-
Protect backup files from unauthorized access.
-
Keep multiple recovery points when practical.
-
Verify that backup files can be accessed.
-
Test restoration procedures when possible.
-
Create backups before major changes.
-
Review backup frequency as your website grows.
Security Reminder: Never leave unprotected database exports or complete website backups in publicly accessible directories.
15. Getting Help from LPM
If you need help creating a backup, locating your WordPress database, or recovering a damaged website, contact LPM support.
Submit a support ticket through the LPM Client Portal.
Please include:
-
Your domain name.
-
A description of the problem.
-
When the problem began.
-
Whether you have an independent backup.
-
The type of information you need restored.
-
Any error messages displayed.
LPM can assist with hosting-related recovery issues. Advanced application repair, custom development, and reconstruction of unavailable data may require a separate service.
Additional Resources: