The handlers section

Required: No; this section is optional

Scope: This section allows you to execute arbitrary PHP code after the site's restoration is complete. This lets you perform more complex post-restoration actions than possible by simply extracting files (see the extrafiles section) or running SQL scripts (see the extrasql section)

If you do not wish to make use of this feature, you should not include this section at all in your XML file.

This section contains an array. Each value of the array is the absolute or relative (to the current working directory) path to the PHP script. Example:


Read about how handler files work.