Support

Akeeba Backup for Joomla!

#38866 Site erroring out

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.9
PHP version
7.4.33
Akeeba Backup version
8.1.4

Latest post by nicholas on Sunday, 16 April 2023 19:10 CDT

Maxoid

EXTREMELY IMPORTANT: Please attach a ZIP file containing your Akeeba Backup log file in order for us to help you with any backup or restoration issue. If the file is over 10MiB, please upload it on your server and post a link to it.

 

nicholas
Akeeba Staff
Manager

Relevant part of the log file:

DEBUG   |20230416 02:27:16|Akeeba\Engine\Core\Domain\Db :: Iterating next database
DEBUG   |20230416 02:27:16|Akeeba\Engine\Dump\Native :: New instance
DEBUG   |20230416 02:27:16|Akeeba\Engine\Core\Domain\Db :: Now backing up 21EDCE09-F377-4D59-92A3-CB5BD6160F1E (bganzac_ForumgiJQv5pjuAG9YyvM8)
DEBUG   |20230416 02:27:16|Akeeba\Engine\Dump\Native :: Processing parameters
DEBUG   |20230416 02:27:16|Kettenrad :: Domain object returned with errors; propagating
ERROR   |20230416 02:27:16|Akeeba\Engine\Dump\Native :: Database Error: Could not connect to MySQL

Diagnosis:

You have accidentally set up an additional database with no connection information or invalid connection information.

Since the connection information is invalid / missing, Akeeba Backup cannot connect to it, therefore it cannot back it up.

Failure to back up a database constitutes a failure to complete the backup, hence your receiving an error about the backup not running.

As a result, we need to remove the erroneous database entry.

Solution:

Go to your site's backend.

Click on Components, then Akeeba Backup.

Make sure backup profile #1 is selected.

Scroll down to “Include and Exclude Information”.

Click on Multiple Databases Definitions

Click the trash can icon on all rows which do not correspond to databases you want to back up.

Do remember that Akeeba Backup always backs up the main site database, i.e. the database the connection information for which you have set up in Joomla itself.

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!

nicholas
Akeeba Staff
Manager

You sent me your reply by email:

Thank you for your reply 

No we didn't accidentally set up a secondary database this site has a bb3 data set associated with the main site

This was working fine until some error happened about two years ago and the client has only just made us aware of it 

I believe the database is set up correctly however the site is now woefully out of date and as we don’t have any backups I am unwilling to just plough on and corrupt the site further

You can always create a copy of the backup profile in Akeeba Backup, Profiles.

Then, you can activate the new profile (in the main Components, Akeeba Backup page) and go to Multiple Databases Definitions.

You can now edit this database definition to reflect the real connection information for the phpBB3 database. You will find this information in the config.php file of the phpBB3 installation, see https://www.phpbb.com/support/docs/en/3.2/kb/article/rebuilding-your-configphp-file/ to make sense of what you are seeing.

If the new backup profile doesn't work you can always delete it and start over.

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!