The interpreted value of the PROFILENAME token as I see it in the emails I receive after backups performed via cron jobs on the same host is
Backup taken on Thursday, 13 September 2018 12:43
I have recently moved these 3 sites from Siteground to Scalahosting and I keep finding little things that I had not noticed before. However, checking my old backup completion emails, I can see that the mis-interpretation - which always has the same date/time info which is apparently unique to each site - that is, it is always "Thursday, 13 September 2018 12:43" for the peaceactionme.org site - and the identical value for backups done with a different profile on that same site - while on the peacecoalition.org site, the value displayed is always "Backup taken on Wednesday, 01 February 2023 20:02 EST".
Just to be sure that I am being clear - for each of the sites, the value of [PROFILENAME] that is displayed never changes, is always wrong, and is unique to each website.
From some quick poking around in the databases it appears that the value being displayed instead of the profile name is the 'description' field of the first row of the #_akeebabackup_backups table. So either I am using the wrong tag or an incorrect tag or there is a bug in the code. I asssume that you actually want to display the 'description' value from the nth row, where n=profileid, from the #akeebabackup_profiles table.
This is not a critical bug, but I thought you would like to know about it anyway.
While we're discussing tokens, is there some way that I am missing to have the [DATE] and [TIME_TZ] tokens displayed in a nicer format than what I am currently seeing in place of those tokens in the emails?? I am seeing, for example, 20230417 for a date and 020101edt for the time with time zone. obviously it would be less confusing to the folks who manage these sites to receive emails in more 'friendly formats. The dates and times displayed in the "Manage Backups" pages would be fine - I am currently seeing, for example 2023-04-19 UTC for a backup taken this afternoon. Unfortunately, I don't see any time displayed on the overview listing of backups and when I look at the details of a backup I see LOCAL times and not UTC times. This appears to be another minor (for me) bug.