Support

Akeeba Backup for Joomla!

#16265 Akeeba Restore - database info not correct

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
n/a
PHP version
n/a
Akeeba Backup version
n/a

Latest post by nicholas on Tuesday, 04 June 2013 13:41 CDT

user12409
Mandatory information about my setup:

Have I read the related troubleshooter articles above before posting (which pages?)? yes
Have I searched the tickets before posting? yes
Have I read the documentation before posting (which pages?)? yes
Joomla! version: 2.5.9
PHP version: 5.3.8
MySQL version: 5.1.67
Host: Site5 VPS
Akeeba Backup version: 3.7.7

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 2Mb, please upload it on your server and post a link to it.

Description of my issue:

My production and test site are both on Site5 VPS server.

I backed up from production and was trying to restore on test. The whole process went smooth except one thing was different from before - when I got to the Restroation of site's main database screen, there was no popbox asking me whether should keep the data. So I filled up all the fields from Database Type to Database table name prefix with my database info of my 'TEST' site.

All looked good until I checked the 'configuration.php' file. There, there database info (db name, db user, password) is still the production's, NOT the 'Test' that I filled.

This was the 2nd time I encountered this issue. It took me quick a while the first time I had this issue - I made changes to the test, but the changes requested on the production right away which was very bad. Good thing was I have daily back for every site. But this bug should be fixed up.

I ran the restoration from Win7+ IE10. The restoration of site's main database screen is not displayed well especially the DB table name prefix field. Since the entered 'prefix' characters are aligned bottom, the underscore (_) is hidden. A little CSS work need to be done with it.

Thanks,

jwn

nicholas
Akeeba Staff
Manager
Regarding configuration.php:
I am not able to reproduce this issue. In fact, I just finished a restoration when your ticket came in. The database information is correct. One thing I can think of is that the configuration.php file wasn't written at all to disk due to file ownership/permissions. In this case you do receive a warning and you are given the contents of the file so that you can paste it manually to the file. If you don't pay attention to the last page of the restoration script it's easy to miss it.

Regarding CSS:
We are using Bootstrap because none of us is a designer. You really don't want me to try to "fix" CSS. The chances are that I'll make a bigger mess – it wouldn't be the first time :)

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!

user12409
thank you Nicholas for your response.

It kinda a thing that hard to reproduce. I just did another restoration test on Site5 from IE10+win7, the issue was not up.

It looks the 'must' step is to open up 'configuration.php' after restoration on test and make sure database info is NOT from production, in case to screw production up.

nicholas
Akeeba Staff
Manager
It's hard to reproduce because most likely what happens is what I already said. If you save the Global Configuration on the site Joomla! gives the configuration.php file 0400 permissions. This means that it can no longer be written to. This will cause the restoration script to not be able to replace it and... see my previous reply :)

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!