Backup & Restore Your Site With the WordPress Duplicator Plugin

1

When you need to migrate a WordPress site, make an emergency backup, or generate a copy for testing, you should consider using the WordPress Duplicator plugin. Follow along as we show you how easy it is to backup and restore your site. We’ll also go over some of the other tools included in the WordPress Duplicator plugin.

WordPress Duplicator Plugin Settings

The WordPress Duplicator plugin can do more than just backup and restore WordPress sites. Options such as enabling debugging, choosing an SQL backup script, setting the archive engine, or managing your WordPress Duplicator plugin license are also available.

We are using the free version of Duplicator, so the below steps will not cover any of the Pro Features.

For those considering the premium version of the WordPress Duplicator Plugin, here is what is included with the Pro Features:

  • Works with Multiple Sites and Subsites
  • Fast Package Engine Can Handle Large Sites
  • Choose Backup Limits to Avoid Maxing Storage Space
  • Use Existing Databases or Build New Ones
  • Overwrite Old Sites with A Click
  • Simple Single-Archive Bundles
  • Receive Email Notifications
  1. Click Duplicator then Settings in the WordPress Dashboard menu.
  2. You will then be able to choose your Duplicator settings. Select the tabs to access the available options.
  3. Choose your settings as needed, but be sure to click the Save Settings option before changing between tabs. Below is a summary of the available options.
    General
    Version View the version of the WordPress Duplicator plugin you are using.
    Uninstall Choose if you want to delete your plugin settings and the entire storage directory when you uninstall the Duplicator plugin.
    Storage View the full path that your WordPress Duplicator plugin snapshots are stored in and disable the .htaccess file in the storage directory.
    Custom Roles Check this if you want to integrate the User Role Editor plugin. Checking this will allow you to create and manage custom user roles to your liking.
    Debugging Select this option to enable debugging.
    Trace Log If this is enabled it will begin logging all PHP errors and trace logs.
    Packages
    SQL Script Select if you want to use Mysqldump or PHP Code to export the database. You can also enter a custom file path to store the database backup.
    Archive Engine Choose if you want to archive your files with ZipArchive (archive.zip) or DupArchive (archive.daf).
    Archive Flush Select this option to try and keep the network connected when backing up an archive.
    Created Format Choose the date and time format to be added to the archive name.
    License
    Manage Click to access and manage Duplicator licenses.
    Type View the type of WordPress Duplicator plugin license you are using.
    License Key View your Duplicator license here. This will only apply to Duplicator Pro licenses.
    About
    Rate Duplicator Review the Duplicator plugin on WordPress.org.
    Spread the Word Access the social media accounts associated with the WordPress Duplicator plugin.
    Stay in the Loop Enter your email address to subscribe to the Duplicator newsletter.

View PHP Information in WordPress

Do you need to know the PHP settings of your WordPress Hosting Account? Details such as PHP memory_limitmax_execution_time, and environmental variables can all be seen right in your Dashboard. This will help you confirm if you meet the minimum requirements for a new plugin or when troubleshooting a WordPress issue. You can also view your PHP Settings with a phpinfo Page.

  1. Click Duplicator then Tools in the menu of your WordPress Dashboard.
  2. You will then be on the Diagnostic Tools page. Click the PHP Information link.
    Selection 196
  3. Your detailed PHP information will be displayed. You can scroll down to see more details.

View WordPress Server Settings

Do you need to see the settings for your WordPress server? Maybe you’re installing new software and want to ensure your environment is compatible. As we continue covering the WordPress Duplicator plugin, we will now show you how to view server settings with the WordPress Duplicator plugin. This can provide important information about the environment you are hosting your website on. Details about your operating systemWordPress versionMySQLserver disk, and PHP setup can quickly be seen in your Dashboard.

  1. Click Duplicator then Tools in your WordPress Dashboard menu.
  2. You will then be on the Diagnostic Tools page. Click the Server Settings link.
    wordpress duplicator plugin server settings
    It will then drop down and list detailed information about your server settings.

How to Use the Duplicator Plugin

In this section, we will teach you how to create a backup using the Duplicator plugin, and restore a backup once you have done so.

We will also cover how to remove stored data from WordPress.

Backup WordPress to File

Performing backups is one of the most critical steps you should take when hosting a WordPress website since it can help you recover after a disaster. You can also use the backup to migrate your site to a different server or folder location.

  1. Install the WordPress Duplicator plugin by Snap Creek.
  2. Click the Duplicator link in the navigation menu.  
  3. On the Packages page click the Create New button.
    wordpress duplicator plugin create new  
  4. Enter a name for the WordPress backup, then click the Next button.
    wordpress duplicator plugin new package
  5. Your website will then be scanned to see if it can be backed up successfully. Once the scan is complete click the Build button.
    wordpress duplicator plugin scan complete
  6. Once the package has been built you can download the Installer files and Archive.
  7. You can also select the One-Click Download button to download both the installer.php and Archive (.zip) files at the same time.
    WordPress Duplicator plugin backup

How to Restore a Duplicator Backup

Now that you know how to make a backup of your site, we’ll show you how to restore a WordPress site backup using the steps outlined below.

This can be used to migrate your site to a new server, make a copy of your site for testing, or restore your site after a problem occurs. First, you must create a database then upload the installer file and archive. Then, you can navigate to the installer page and begin the restoration.

  1. Log into your cPanel.
  2. Create a database, database user, and password. To do this, click the MySQL Database Wizard under the Databases heading.
    cpanel create database mysql database wizard paper lantern
    Next to New Database enter a name for your database and click Next Step.
    cpanel create database database name
    Next to Username enter a username. Enter a password next to Password, enter it again for Password (Again) and then click Create User.
    cpanel create database create database user
    On the next page, you’ll assign privileges for the user to the database. Check the box next to All Privileges and then click Next Step.
    cpanel create database database user privileges
    Be sure to save all of this for later use.
  3. Upload both files to the document root of your website.
  4. In a browser, enter your website address then add /installer.php to the end of the address. Such as: example.com/installer.php
  5. You will see the Duplicator menu come up. Click the terms & notices link to read them. Check the box to confirm that you read and accept them, then click the Next button.
  6. You will then be on the Install Database page, enter the database information you setup in Step 2 then click the Test Database button.
  7. When you see a “Success” message, click the Next button. If you do not see the “Success” message, you may need to re-upload your files to the document root of your website again.
  8. An install confirmation message will pop-up and ask if you want to “Run installer with these settings.” Click the Yes button.
  9. The WordPress Duplicator plugin will display your site TitleURL, and installation Path. Verify they are correct and make any changes if necessary. Then, click the Next button.
  10. Once your site has been installed, click the Admin Login button.
  11. Log into your WordPress Dashboard and you will see a message stating “This site has been successfully migrated!” Click the link to Remove Installation Files Now!
  12. You are finished when the installer files are successfully removed.

Remove Stored Data from WordPress

Are you finished restoring your WordPress site with Duplicator? We will now show you how to remove all reserved installer files and build data that is used by the WordPress Duplicator plugin when backing up your WordPress site. This can free up space and make your site more secure by removing temporary files from your server.

  1. In your WordPress Dashboard click Duplicator then Tools in the navigation menu.
    wordpress duplicator plugin tools
  2. You will then be on the diagnostic tools page. In the Data Cleanup section click the Remove Installation Files button. The install file cleanup will then run.
  3. Click the Clear Build Cache button.
    wordpress duplicator plugin remove data
  4. A message will pop-up stating “This process will remove all build cache files. Be sure no packages are currently building or else they will be canceled.” Click the OK button. You are finished when you see a message stating “Build cache removed.”
Free WordPress Website Transfers

If you’re having trouble with your WordPress host, then check out InMotion’s WordPress Hosting Solutions. We provide secure, optimized servers that are priced to meet your budget needs!

check markFree WordPress Website Transfers    check markFree SSLs    check markUnlimited Bandwidth

View WordPress Hosting Plans

JB
John-Paul Briones Content Writer II

John-Paul is an Electronics Engineer that spent most of his career in IT. He has been a Technical Writer for InMotion since 2013.

More Articles by John-Paul

Was this article helpful? Let us know!