Backup & Restore Your Site With the WordPress Duplicator Plugin

When you need to migrate a WordPress site, make an emergency backup, or generate a copy of your website for testing, you should consider using the WordPress Duplicator plugin.

In this article, we will 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.

What is the WordPress Duplicator Plugin?

The WordPress Duplicator plugin is a free plugin that allows users to make and deploy a copy of their WordPress website.

The plugin groups all website files into a single portable zip file called a “package.” The Duplicator package can then be used to quickly and efficiently migrate your entire WordPress website site to a new host, domain, or staging site.

WordPress Duplicator Plugin Settings

The WordPress Duplicator plugin can do more than just backup and restore WordPress sites. It gives users several options such as enabling debugging, choosing an SQL backup script, setting the archive engine, or managing your WordPress Duplicator plugin license.

For this article, 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, below 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

Now we will cover how to change your WordPress Duplicator plugin settings.

  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
    VersionView the version of the WordPress Duplicator plugin you are using.
    UninstallChoose if you want to delete your plugin settings and the entire storage directory when you uninstall the Duplicator plugin.
    StorageView the full path that your WordPress Duplicator plugin snapshots are stored in and disable the .htaccess file in the storage directory.
    Custom RolesCheck 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.
    DebuggingSelect this option to enable debugging.
    Trace LogIf this is enabled it will begin logging all PHP errors and trace logs.
    Packages
    SQL ScriptSelect 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 EngineChoose if you want to archive your files with ZipArchive (archive.zip) or DupArchive (archive.daf).
    Archive FlushSelect this option to try and keep the network connected when backing up an archive.
    Created FormatChoose the date and time format to be added to the archive name.
    License
    ManageClick to access and manage Duplicator licenses.
    TypeView the type of WordPress Duplicator plugin license you are using.
    License KeyView your Duplicator license here. This will only apply to Duplicator Pro licenses.
    About
    Rate DuplicatorReview the Duplicator plugin on WordPress.org.
    Spread the WordAccess the social media accounts associated with the WordPress Duplicator plugin.
    Stay in the LoopEnter 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.
  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.

    It will then drop down and list detailed information about your server settings.

How to Use the Duplicator Plugin

Now that you know how to configure your WordPress Duplicator plugin settings, 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

The first step when using the Duplicator plugin is to create a backup of your WordPress site.

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.

Follow the steps below to create a backup using the plugin.

  1. After you have installed the WordPress Duplicator plugin by Snap Creek, click the Duplicator link in the navigation menu.  
  2. On the Packages page click the Create New button.
     
  3. Enter a name for the WordPress backup, then click the Next button.
  4. Your website will then be scanned to see if it can be backed up successfully. Once the scan is complete click the Build button.
  5. Once the package has been built you can download the Installer files and Archive.
  6. 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. Once you have done that, 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.

    Next to New Database enter a name for your database and click Next Step.

    Next to Username enter a username. Enter a password next to Password, enter it again for Password (Again) and then click Create 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.

    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

Once you have finished restoring your WordPress site with the Duplicator plugin, you have the option to remove your stored data from WordPress.

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.
  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.
  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.”
Easy WordPress Website Transfers

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

check markFree Domain check markFree SSLs check markUnlimited Bandwidth

WordPress Hosting

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

2 thoughts on “Backup & Restore Your Site With the WordPress Duplicator Plugin

Was this article helpful? Join the conversation!