to dir
cp/wp plugin: duplicator NOTES                                  rev 26 aug 2021

Category: backup
cp/wp: classicpress and wordpress 
webwalker: essential

Description ↓ Source refs ↓ Install/config/uninstall ↓  Use/howtos ↓  Notes ↓

.......................................................
Description: 

  To copy websites to another server, such as, to local, to live, or to another host.
  Also serves as a simple backup utility.

  - saving the current state of the WP-installation before I do greater changes
  - roll back to a previous state if something is going wrong
  - transfer the WP-installation from the development server to the live system

   "Makes a package that bundles all the site’s plugins, themes, content, 
    database and WordPress files into a simple zip file called a package. 
    This package can then be used to easily migrate a WordPress site
    to any location you wish. Move on the same server, across servers 
    and pretty much any location a WordPress site can be hosted. 
    WordPress is not required for installation since the package contains 
    all site files."

  It gets the best reviews of the several plugins of this type.
  Have used it for a few sites - it's great. [may 2021]

  support: excellent [aug 2020]
    A beautiful example of how to reply positively:
      A very classy reply to a negative review, at
      https://wordpress.org/support/topic/second-try-after-a-few-years-and-the-same-non-functional-result/#post-13488429

    https://snapcreek.com/duplicator/docs/
    https://snapcreek.com/duplicator/docs/faqs-tech/

  privacy: dunno yet [aug 2020]


  CP compat: yes [aug 2020]
  CP support: dunno yet [aug 2020]
  Version recommendation: FREEZE at n.n | UPDATE OK

.......................................................
Sources: 

  Plugin page:
    https://wordpress.org/plugins/duplicator

  Plugin site:
    https://snapcreek.com/duplicator/


  WordPress forums:
    https://wordpress.org/support/plugin/duplicator
    https://wordpress.org/search/classicpress+duplicator/?forums=1
  ClassicPress forums:
    https://forums.classicpress.net/search?q=%22duplicator%22

  Docs:
    https://snapcreek.com/duplicator/docs/faqs-tech/
    https://snapcreek.com/duplicator/docs/changelog/?lite

  Author: Snap Creek


.......................................................
issues:
  all ok jun 2020


_______________________________________________________ 
➽ Install/config/uninstall:

......................... 
requires:

   php: > v.5.3.8  as of duplicator v.1.4.0
   wp:  > v.4.0    as of duplicator v.1.4.0
   memory, anything else


......................... 
recommended related plugins:
  none.


......................... 
install:

  the usual.
  OR  
  special instructions

......................... 
settings:

    under Settings sidebar menu.
    has its own sidebar menu
    settings link on plugin page

    Limits:
    The free version only has a limit on the DupArchive format.
    If you switch over to the ZipArchive format there is no limit.
    This can be done if you go to the Settings > Packages Tab.
    [forum - 2 mar 2021]


.........................
check:
  [mail sending? plugin sends/saves data for itself? plugin conflicts? other]


.........................
deactivate:

  * Deactivating the plugin will not delete any backup files.  
      If you goto Duplicator > Settings you can change how the 
      playing behaves when you uninstall it.
      [forum - 28 jan 2021]

.........................
uninstall:

  - deletes from database?

  tables: 
 


.........................
previous versions:

  https://wordpress.org/plugins/duplicator/advanced/

_______________________________________________________ 
➽ Use / how-tos:
  See step-by-step i use at duplicator-PROCESS.html

  Will Duplicator use wp-config.php / .htaccess if they are symlinks?
    [3 jun 2021]

_______________________________________________________ 
➽ Use / how-to docs:

  Overview:
    * https://snapcreek.com/blog/wordpress/how-to-move-a-wordpress-site/

  Step by step:
  * https://snapcreek.com/duplicator/docs/quick-start/
      Covers all scenarios, including Pro.
  * https://www.wpbeginner.com/wp-tutorials/how-to-move-live-wordpress-site-to-local-server/
      Method 1. Moving Live WordPress Site to Local Server using Plugin
        (no target for link)
      The basic, with screenshots.

  Technically you can skip steps 2 and 3 (of install instructions on snapcreek page). 
  Duplicator does not require Classicpress/WordPress to be installed ahead of time.

  Database and filesystem must be empty. It will overwrite if anything is there.
    https://wordpress.org/support/topic/installation-error-wp-config-already-exist/#post-12084522
    check package integrity:
      https://wordpress.org/support/topic/integrity-of-package/
    Uses zip by default, but can use daf if host has problem with zip:
      https://wordpress.org/support/topic/is-it-better-to-always-use-daf-instead-of-zip/#post-12576477
    If site is very large in files, can package database only and
      upload the files with ftp. install will work.
      https://wordpress.org/support/topic/makes-an-admins-job-so-easy/
      [10 jul 2020]
      https://wordpress.org/support/topic/max-backup-size/#post-12050733
      [21 oct 2019]

    If there are problems getting the archive, try
      uncheck Mysqldump, and check Phph Code instead.
      Duplicator ❯ Settings ❯ Packages ❯ Advanced > SQL Script : 
      -- https://wordpress.org/support/topic/version-1-3-38-not-working/#post-13553632
      19 oct 2020


  You will get a zip file and an installer.php file. 
    just upload these 2 files to your new host. 
  May want to unzip a file manually before you run installer.php 
    if you need to change any paths is php.ini or other files.
  If you don't have the installer.php file -- like once i forgot to download it! --
    inside of the zip file is a backup copy of the installer.php file, 
    it is named installer-backup.php.

  You can also unzip the archive, and you're looking at the
    actual files of the site, no lock in to the tool (some other tools
    create a dedicated file type for the archive).
    https://wordpress.org/support/topic/my-go-to-migration-tool/
    [21 oct 2019]
  If a scenario would ever occur when Duplicator would fail to work, 
    I can always manual restore backups from the files that Duplicator made.
    https://wordpress.org/support/topic/so-much-times-saved-using-this-great-plugin/
    [5 jul 2020]


  How to Move a live WordPress site to local Server:
  https://www.wpbeginner.com/wp-tutorials/how-to-move-live-wordpress-site-to-local-server/

_______________________________________________________ 
➽ Notes:

......................... 
It puts the package in /wp-content/backups-dup-lite

.........................
plugin conflicts:

  https://snapcreek.com/duplicator/docs/faqs-tech/#faq-trouble-075-q

.........................
htaccess:

   How does Duplicator manage .htaccess files and what are my options?
   - https://snapcreek.com/duplicator/docs/faqs-tech/#faq-installer-300-q



.........................
fixing build issues:

  https://wordpress.org/support/topic/restore-problem-5/#post-13372831

.........................
disable email notifications:

  The plugin does not support this; can do in wordpress:
    https://www.wpbeginner.com/wp-tutorials/how-to-disable-automatic-update-email-notification-in-wordpress/
    [aug 2020]


.........................
table prefix:

  - can change table prefix on restore?
    https://wordpress.org/support/topic/change-prefix-on-restore/
    [18 dec 2019]

 
 
......................... 
database:

  
  "On 99% of most hosts, you have to create the database ahead of time, 
    if a DB user does not exist on the database you will have to
    create that as well and make sure the database user has privileges
    to the new database you created.    Then at install time, you
    enter in the new database name and a DB user that has privileges
    to that database.

  "Duplicator then uses the SQL script it made when it creates
    the package to install the new tables and data to the database.
    The installer will also update the wp-config.php with the inputs
    you gave it for the database at the end of the install.

  Some common DB issue fixes:
     - https://snapcreek.com/duplicator/docs/faqs-tech/#faq-installer-100-q

  "With Pro there are ways to move the site without updating
     specific tables and a skip database option, but this typically
     is only used when you are sure no data in the database needs to
     be updated or can be skipped.   By default pushing stage to live
     will erase your database tables.   Neither Lite nor the Pro version
     support merge operations at this time."
     [forum - 14 nov 2020]

......................... 
character set problem?

  database and wp-config define 
    Charset utf8mb4
    Collation utf8mb4_unicode_ci
  "When creating a package and restoring it, duplicator always
   wants to set utf8 instead of utf8mb4. It does not respect the
   setting of the source database, I have to manually overwrite it
   each and every time."
  https://wordpress.org/support/topic/absolutely-great-63/#post-12876397
    [22 may 2020]
    (don't know if this is actual problem, or if it was resolved)

   How can I fix international characters issues?
     - https://snapcreek.com/duplicator/docs/faqs-tech/#faq-trouble-050-q

.......................................................
more info:



.......................................................
other plugins of same type:


 

_______________________________________________________
begin 18 dec 2019
-- 0 --