The following describes how to restore a site in the same or new location using a Duplicator package (installer/archive). It's assumed you've created a package as described in the "Back up Site" section above and plan to install all files and the database contained in the package. * Items in green apply only to Duplicator Pro users.
1. Download package files to local computer
After creating a package download the installer and archive files from any one of the locations below to your local computer:
- Default: Click on the "Installer" and "Archive" buttons from the main packages screen to download.
- Dropbox*: Go to dropbox.com or use Dropbox client on your PC/MAC.
- Google Drive*: Go to drive.google.com or use Google client on your PC/MAC.
- Amazon S3*: Go to your Amazon AWS account
- FTP: This option is the least common and should only be used if your having issues with the "Default" option.
FTP ❯ website root directory ❯ open "wp-snapshots" folder ❯ find matching [hash-code]_installer.php with [hash-code]_archive.zip and download.
Note: With the FTP option you will need to rename the installer file from [hash-code]_installer.php to just "installer.php". The hash-code is simply a random series of number and letters to provide security on the file so it can't be downloaded by a random user.
2. Upload package files to target location
ON A HOSTED SITE
INSTALLING IN AN EMPTY DIRECTORY (LITE AND PRO)
Use FTP or cPanel to upload both the archive.zip and installer.php to your host provider. Place the files in a new empty directory under your host's webroot where they are accessible from a valid url such as http://your-domain/installer.php or http://your-domain/your-wp-directory/installer.php. On some hosts the root directory will be a something like public_html -or- www. If you're not sure what your root directory is then contact your hosting provider.
Important: Since the archive contains site customizations as well as core WordPress, WordPress shouldn't be in the directory beforehand. The only files in the directory should be the installer.php and archive before you run the installer.
OVERWRITING EXISTING SITE (PRO ONLY)
Duplicator Pro is capable of much faster installs when it's used to overwrite an existing site and reuses that site's database.
Use FTP or cPanel to upload both the archive.zip and installer.php to your host provider (place the installer.php and archive.php in the directory containing the existing site). The installer should be accessible from a valid url such as http://{existing-site-domain}/installer.php or http://{existing site-domain}/{your-wp-directory}/installer.php. On some hosts the root directory will be a something like public_html -or- www. If you're not sure what your root directory is then contact your hosting provider.
Be sure you have PHP, Apache & MySQL installed on your local computer with software such as XAMPP, Instant WordPress or MAMP for MAC. Place the package.zip and installer.php into any empty directory under your webroot or where they can be served up by your local webserver then continue with Step 3 below.
3. Browse to installer.php and install
- Open a web browser (i.e Chrome, Firefox, IE) and browse to the 'installer.php' file such as:
http(s)://your-domain/installer.php or http(s)://your-domain/your-wp-directory/installer.php. - On Step 1 ❯ Click the next button
- On Step 2 ❯ Enter database setup info ❯ test connection ❯ click nextThe vast majority of sitations require the 'server' field to be set to 'localhost'.
If installing in an empty directory: On database setup enter information for an existing empty database with no tables and a user with full rights to that database. You can easily " Create A New Database and User" or contact your host to have them set those up for you. If you're not sure what information to use, just contact your host.
If overwriting an existing site (Pro only): When prompted to reuse database credentials on step 2, click Accept. This causes the database information from your existing site to be used in the install. Important: The database will be cleared so make sure you no longer need its data. If you need to preserve the old database then create a new one instead as explained here.The Action "Connect and Remove All Data" will delete all tables to the database you connect to. Be sure you're 100% of the sure of credentials used when choosing this action. For Duplicator Pro users consider using the "Connect and Back up any Existing Data" action if you're new to this process. This will back up all the existing tables with a new prefix. - On Step 3 ❯ Click the next button
- On Step 4 ❯ Login remove installer files
- Your site has been migrated
Was this article helpful?
That’s Great!
Thank you for your feedback
Sorry! We couldn't be helpful
Thank you for your feedback
Feedback sent
We appreciate your effort and will try to fix the article