Akeeba Backup for WordPress

#28737 Macros for directories and names

Posted in ‘Akeeba Backup for WordPress’
This is a public ticket

Everybody will be able to see its contents. Do not include usernames, passwords or any other sensitive information.

Environment Information

WordPress version
PHP version
Akeeba Backup version

Latest post by assitecno on Tuesday, 14 November 2017 02:23 CST

Why the [PLATFORM_VERSION] macro reports the akeeba version instead of the wordpress one?
In Joomla is correctly reported the CMS version.

Thank you

Akeeba Staff
Under Joomla!, the backup process runs inside Joomla! no matter if it's a backend backup, frontend backup or a CLI backup. That's because Joomla! provides a native CLI API.

On WordPress, however, the backup process runs inside WordPress only when there's a web server involved, i.e. not during a CLI backup. As a result we do not have any way of reporting the correct WordPress version in CLI backups.

We had three options:

A. Do not provide a CLI backup for WordPress. This doesn't really make much sense. People need the CLI backup far more than they need this variable.

B. Provide inconsistent values in the web-based backup modes (backend, frontend, JSON API) and CLI backups. The latter would have to return a fake version number. We think that'd qualify as a bug because it's so inconsistent and confusing for people.

C. Provide the version of the backup software itself. This is consistent with the way Solo works (where getting the version of the script being backed up is outright impossible). That's what we chose to implement.

Nicholas K. Dionysopoulos

Lead Developer and Director

🇬🇷Greek: native 🇬🇧English: excellent 🇫🇷French: basic • 🕐 My time zone is Europe / Athens
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

Thanks for explanation.

Support Information

Working hours: We are open Monday to Friday, 9am to 7pm Cyprus timezone (EET / EEST). Support is provided by the same developers writing the software, all of which live in Europe. You can still file tickets outside of our working hours, but we cannot respond to them until we're back at the office.

Support policy: We would like to kindly inform you that when using our support you have already agreed to the Support Policy which is part of our Terms of Service. Thank you for your understanding and for helping us help you!