Support

Documentation

getRegexFSFilters

[Warning]Warning

DEPRECATED - This method will be removed in Akeeba Backup for Joomla 10, Akeeba Backup for WordPress 8, and Akeeba Solo 8. Versions of our software released after September 2023 may no longer include this method even if their major version is below those specified in this message.

Returns the regular expression filesystem exclusion filters for the backup profile. Available since API version 340.

Request Data expected

All fields are MANDATORY.

profile

Integer. The profile ID you want to list.

root

String. The filesystem root to get filters for (default: [SITEROOT])

Response Data returned

An array of JSON objects is returned. Each object has the following keys:

type

String. Filter type. One of regexfiles (exclude files matching the regex), regexdirectories (exclude the directories matching the regex), regexskipdirs (exclude the subdirectories of directories matching the regex), regexskipfiles (exclude the files of the directories matching the regex)

item

String. The filter's regular expression.