Get the Best WordPress Backup
& Migration Plugin Today
Get Duplicator Now

Duplicator Documentation

Documentation, Reference Materials, and Tutorials for Duplicator

Packages » New – Step 1: Setup

Overview

The package setup screen allows you to prepare where the package will be stored and which files and database tables will be placed in the archive file. The setup screen has severalsections all of which will be covered below.

Details

Requirements
The System requirements section must pass for the Duplicator to work properly. If this section shows fail you will not be able to continue with the setup until it showsas passing. There are currently 4 main sections PHP Support, Permissions, Server Support and Installation Files. Clicking on each link will open a description forwhat actions you can perform to get the requirement to pass. This section is not visitable unless a requirements check has failed.

Inputs
The following options are not grouped to any section and will apply to the entire package.

Item Description
Name A name to help identify the package. By default the value from the last package creation is loaded as the default name.
Notes Click the notes button to expand and add additional notes about the package.
Template An optional template configuration that can be applied to this package setup. An [Unassigned] template will retain the settings from the last scan/build.Templates can be created from the Templates menu. For more information about templates see thetemplate section.

 

Storage

The storage section allows you to pick from any of the storage locations that have been created such as the local server, Dropbox, Google Drive, Amazon and FTP.If a storage endpoint does not exist in the list then click the ‘Add Storage’ link in the right corner to add one.

When creating a package choose each location by checking the checkbox. For each location you check the package and installer file will be stored on that location.The main storage title will have the numberof actively checked endpoints. To proceed to the ‘Scan Step’ at least one storage point must be checked. The table belowcovers the various options for the Storage section.

Item Description
Name A descriptive name that defines the endpoint. For remote locations the line will show a cloud icon. For locations that are on thelocal servers hard drive it will show a server icon.
Type This defines the endpoint type such as Local, Google Drive, Dropbox, FTP and others.
Location This defines the location where they are stored, some values will be click-able while others will not.

 

Archive

The archive.zip file is what contains all your files and a copy of your database via a generated SQL file. By default when the archive file is created all files and directoriesfrom your WordPress root path and all the tables in the WordPress database are selected. In order to customize your archive file you can exclude files and database tables.

Excluding items is handy if you don’t want to continually create large archive files and only need to select specific items. However if you do exclude specific items please beaware that you will have to manually move those items immediately after package installation. The table below covers all the options for the Archive section.

Item Description
FILES TAB
Components Package components allow you to include/exclude differents part of your WordPress installation in the package.Database: Include the database in the package.
Core: Includes wordpress core files in the package (e.g. wp-include, wp-admin wp-login.php and other.
Plugins: Include the plugins in the package. With the active only option enabled, only active plugins will be included in the package.
Themes: Include the themes in the package. With the active only option enabled, only active themes will be included in the package.
Media: Include the ‘uploads’ folder.
Other: Include non-WordPress files and folders in the root directory.
Database only This advanced option excludes all files from the archive. Only the database and a copy of the installer.php will be included in the archive.zip file. The option can be used for backing up and moving only the database.
Media only This option can be used to backing up only your website media files in the ‘uploads’ folder
Custom This option allows you to choose one or mix of the available components to include in your backup
Enable File
Filters
File filters allow you to ignore directories/files and file extensions. When creating a package only include the data you want and need. This helps toimprove the overall archive build time and keep your backups simple and clean. The checkbox allows you to keep all the settings or temporarily ignore them.If any type of file filter (directory, extension, file) is enabled the Archive title will show the following icons .
Directories Add the full path to the directories that should be excluded from being archived. Add a semicolon to separate each path. For example if you want toignore your uploads path and the WordPress cache then the path(s) might look like this:

//public_html/mysite.com/wp-content/uploads;
//public_html/mysite.com/wp-content/cache;

Extensions File extentions allow you to exclude all files with a specific extention. For example if you wanted to ignore all zip, tar and log files then you would add:

zip;tar;log

Please note that you only need to the extension name and not the ‘.’ separator. Use the links on the right to quickly add common extensions.

Files Add the full path to the file(s) that should be excluded from the archived file. Add a semicolon to separate each path. For example if you want toignore the readme.html file in your root, a specific file in your uploads folder and all error.log files in the entire site then the path(s) might look like this:

//public_html/mysite.com/readme.html;
//public_html/mysite.com/wp-content/uploads/large_movie.mov;
error.log;

Use filenames without paths to filter same-named files across multiple directories, this can be useful for debug and log files. Note: pattern expressions arecurrently not supported (i.e. error.*)

DATABASE TAB
Build Mode PHP: This mode uses PHP to build the database.sql script which contains a full copy of your database minus any excluded files. This particular mode isvery resource intensive and is much slower on larger databases.

Mysqldump: This is the preferred mode and should be used if the option is supported on your server. It uses less server resources and is much faster forlarger databases. Please contact your server admin or hosting providerto enable both shell_execand mysqldump for this option to work with in your site.

Enable Table
Filters
Table filters allow you to ignore certain tables from a database. When creating a package only include the data you want and need. This helps to improvethe overall archive build time and keep your backups simple and clean.

When a table is checked it will be excluded from the generated database file. If any type of table is enabled the Archive title will show the following icon indicating that a database filter has been applied.

Compatibility
Mode
This is an advanced database back-wards compatibility feature that should ONLY be used if having problems installing packages and you have no option to updatethe mysql server version. If the database server version is lower than the version where the package was built then these options “might” help generate ascript that is more compliant with the older database server. It is recommended to try each option separately starting with mysql40.

How to use Compatibility Mode

  1. MySQL Dump must be enabled. See Settings > Packages Tab > Use mysqldump radio button > Save
  2. Packages > Create New > Open Archive Section > Database Tab > Compatibility Mode
  3. Read “full overview” link to understand options that may pertain to your setup
  4. Check the compatibility option(s) that apply to your setup and try to create the package
  5. On the scan screen you will see a notice that one of the compatibility modes have been checked
  6. Run the installer.php and check the install-log.txt for any deploy errors that may occur

Since we do not recommend this approach we don’t offer support for working with and using these settings. The time involved with trying to find the rightcombination and determine if the data will even be stable is beyond our support for the product. We have partners who can help you work through theseissues. For additional developer help consider Tilden Tasks from our partners page.

SETUP TAB
Security
Mode
None:No protection system activated! The installer or archive files can be accessed by any resource that knows the full URL to either file.

Installer Password:The archive is NOT encrypted. When the installer starts, it will prompt for a password to prevent anyone from running the installer.

Archive encryption:The archive IS encrypted with a password, and the installer will ask for a password when started. This option is the recommended maximum level of security.

Encryption Dependencies
Depending on the engine selected, different requirements are needed. For example PHP 7.2 is required to create an encrypted Zip archive but PHP 5.6 is sufficient to extract.

Mode Create Archive Install Archive
ZipArchive PHP 7.2+ ANDZipArchive ZipArchive ORshell_exec
Shell Zip shell_exec ZipArchive ORshell_exec
DupArchive OpenSSL module OpenSSL module

Security
Password
If using either Installer Password or Archive encryption the password field must be entered.

 

Installer

The installer file is what is used to help redeploy or install the archive file. The installer section of the package setup has several optional options for the installer.These values are all optional on this screen and not required.

SETUP
The setup section allows for how the installer will behave when you initially browse to it.

Item Description
Password
Protection
As of Duplicator Pro 4.5.3+ this feature is now visible in the Archive Setup Tab
Enabling this option will allow for basic password protection on the installer. Before running the installer the password saved in this value mustbe entered before proceeding with an install. This password is a general deterrent and should not be substituted for properly keeping your files secure.
Skip System Scan By default every time the installer is opened it will run a simple scan on the server environment. If the scan check passes then enabling this optionautomatically take you to step one of the installer and will skip the system scan screen.

INPUTS
All values in this section are optional. The installer can have these fields pre-filled at install time. If you would like to have the installer pre-filled withthese values then enter them here. All of these values are covered in detail in the Installer section of this guide.

Was this article helpful?

Related Articles