Support

Documentation

getDBRoots

[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 database roots 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.

Response Data returned

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

value

The UUID of the database definition.

text

The human readable database definition name in the form of host/database (e.g. localhost/example) or host:port/database (e.g. mysql.example.com:8306/example). The main database of the site always returns a localised string in the tune of "Main site database".