Introduction
This guide explains how to backup your WordPress site using the Duplicator plugin. This will allow you to easily restore the site if anything goes wrong, set up a copy of the site on a test environment, or move the site to another server or host.
Requirements
A WordPress Admin Account.
For reference, these instructions were followed while using:
- WordPress version 5.4.2.
- Duplicator plugin version 1.3.34.
Skill Level
Intermediate knowledge of WordPress.
Instructions
Time needed: 30 minutes.
- Install the Duplicator plugin.
Install the Duplicator plugin using the instructions in How to install a plugin in WordPress.
- Go to the Duplicator Settings page.
In the WordPress Admin menu select Duplicator then Settings.
- Review the General settings, then go to the Packages tab.
Review the settings in the General tab. The default settings should be suitable in most cases, but update them if necessary. For more info about this, see the Snap Creek guide to Settings: https://snapcreek.com/duplicator/docs/guide/#guide-settings
Click the Packages tab. - Review the Packages settings, then go to the Packages page.
Review the information in the Packages tab. It’s recommended that you change the the name of the installation files. To do this, select the [name]_[hash]_[date]_installer.php option in the Installer section and click Save Package Settings.
In the main menu, click Packages in the Duplicator section. - Click Create New.
- Review the Setup details.
Review the details for the Setup step.
To add some extra security to the installation process, click the Installer section, tick Enable Password Protection and enter a password. Make sure to save the password somewhere secure.
Click Next. - Review the Scan details.
Review the Scan details.
If there are any problems, read the details, resolve them, then click Rescan. For more info, see the Snap Creek guide to Packages: https://snapcreek.com/duplicator/docs/guide/#guide-packs
If there are no problems, tick Yes. Continue with the build process! and click Build. - Save the backup Package.
Click One-Click Download. This will download the compressed Package (a ZIP file, unless you selected a different option) and an installer PHP file. The file contains all your site data (including personal information about any users on your site), so make sure to save it somewhere secure and delete it if it’s no longer required.
If you selected the [name]_[hash]_[date]_installer.php option in the earlier step, it’s also useful to click Copy Installer Name to Clipboard, and save it somewhere so you can easily access the installer page.
More Info
Next Steps
Now that you’ve backed up your WordPress site, you can restore the site if anything goes wrong, set up a copy of the site on a test environment, or move the site to another server. For details, see How to restore your WordPress site from a backup.