When maintaining a website, one needs to periodically perform various operations that have the potential to be catastrophically destructive to the operation of the site. These operations include the updating of plugins and themes, the manually updating of files and data within the database, and operations such as changing of web server configuration files like the local .htaccess file.
Duplicator Pro now includes a feature which gives robust protection against catastrophic failure due to system updates and other changes. This feature is called the “Recovery Point”.
The Recovery Point provides an incredibly quick and reliable way to restore your system in the event of failure of a manual operation without the need for WordPress to be operational or even installed.
The general flow of using the Recovery Point is as follows:
1. Build an package without filtering important components.
The package shouldn’t filter any tables filtered nor should it have any core WordPress files or directories filtered.
2. Set the Recovery Point
Set the package to be used as the Recovery Point by clicking on the “Set Recover Point” option on the hamburger menu on the package row.
Important: If you do not see this option that means the package cannot be used as a recovery point either because one or more tables or core WordPress files have been filtered from the package.
3. Observe the new Recovery Point
You’ll now see a blue icon next to the package name. This indicates the package is the current Recovery Point.
4. Copy the Recovery URL
Click on the blue icon to copy Recovery URL to the clipboard. Paste this URL to a safe spot such a text file, email or other mechanism that accepts text.
5. Perform potentially destructive operations
Destructive operations are things like importing an archive for installation (Tools > Import), updating plugins or theme, editing files, etc..
6. In case of failure or undesirable result, revert site using Recovery URL
In the event the operations performed in step 5 cause your site to no longer work or you just don’t like the effect the operations had, simply browse to the URL you saved in step 4 to recover your system to it’s previous state.
Important: When you change the package associated with the Recovery Point be sure to copy and save the new URL since it has changed.