Support

Akeeba Backup for Joomla!

#41121 Akeeba is backing up to a non existent profile with an id of #4

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
4.4.x
PHP version
8.1
Akeeba Backup version
9.8.3

Latest post by nicholas on Tuesday, 17 September 2024 04:26 CDT

[email protected]

Hi I have Akeeba backing up to a Google Drive profile 

Default Backup Profile ID: 1
GoogleDriveBackup ID: 2

I have unpublished the Default Profile

I checked my server as it was running out of space and found that this account was still backing up to the administrator>com_akeeba>backup dir on the server.

I checked manage backups and saw it was backing up to a profile ID 4 which doesnt exist

 Backup taken on Tuesday, 17 September 2024 01:00 IST   2024-09-17 UTC  00:02:28  2.28 GB #4. — Full site backup

Here is the log

https://blackrockec.ie/logAkeeba.txt

Can you tell me what the issue is please?

Another issue is in the control panel it always defaults back to:

Active Profile: #4 #1. Default Backup Profile #1. Default Backup ProfileRemove item   thanks for any pointers

[email protected]

Also can you confirm if the 

/administrator/components/com_akeebabackup/backup / .....log.php files

can be deleted regularly via a cron job or would removing them mean the backup cant be restored? 

Thanks

nicholas
Akeeba Staff
Manager

Do note that profile #1 is the default backup profile and cannot be removed, as noted in the documentation. We need a default backup profile so that when you ask Akeeba Backup to load a backup profile which does not exist it can fall back to a well-known backup profile. Because of when this need may arise, e.g. in a CLI script before the database driver is available, the backup profile ID can neither be stored in the database, nor the component parameters (which are also stored in the database). It would have to be either stored in a file (which causes all sorts of security, performance, and reliability issues) or it has to be hard-coded. It is therefore hard-coded to #1, which is why that profile can never be deleted.

Also keep in mind that there is no such thing as “unpublishing” a backup profile either. If you pay closer attention to the Profiles Management page you will see that this column is called One-Click Backup Icon, not Published. It only controls whether you will see an one-click backup icon in the main page.

According to your log file there is a CLI CRON job or Joomla! Scheduled Task being triggered by a CLI CRON job which is trying to use profile #4. Since profile #4 does not exist, Akeeba Backup loads the default profile #1. The solution to your problem is, therefore, changing your CRON job or scheduled task to use a different backup profile, one which does exist.

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!

[email protected]

Ok great that makes sense.

Thanks for the quick response!

nicholas
Akeeba Staff
Manager

You're welcome!

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!