Support

Akeeba Backup for Joomla!

#39205 file backup name [HOST]

Posted in ‘Akeeba Backup for Joomla! 4 & 5’
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

Joomla! version
3.10.12
PHP version
7.4
Akeeba Backup version
8.3.1

Latest post by nicholas on Friday, 14 July 2023 10:58 CDT

mercurioweb

Hi in the akeeba backup configuration settings I entered [HOST] for the backup file name. For some websites the variable in the name is "www.domainname.ext" for others "domainname.ext". I can't figure out where to intervene to make the [HOST] variable for all backups "domainname.ext"

System Task
system
The ticket information has been edited by Massimiliano Cassese (mercurioweb).

nicholas
Akeeba Staff
Manager

Joomla does not store the hostname of your site anywhere.

We read the hostname from the request when the backup is taken with any method except the CLI script for CRON jobs (/cli/akeeba-backup.php). If this is how you are taking your backups, then it's all about which hostname you access your site with when taking the backup.

When you are using the CLI script for CRON jobs (/cli/akeeba-backup.php) we cannot normally know the hostname. So, whenever you access Akeeba Backup in the administrator backend of your site (Components, Akeeba Backup) we store the current hostname in a database record which can be read by the CLI script. Therefore, you need to access Akeeba Backup while logged into your site using your preferred hostname to change that record and allow Akeeba Backup's CLI script to use it in the backup filename.

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!

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!