Support

Site Restoration

#19954 I don't want to enter in the database settings

Posted in ‘Site restoration’
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

PHP version
n/a
CMS Type
Other
CMS Version
n/a
Backup Tool Version
n/a
Kickstart version
n/a

Latest post by nicholas on Thursday, 01 May 2014 01:02 CDT

UglyEoin
 Hi Nicholas,

I hope you are well. I'm sure I'm about to ask (yet another) very dumb question. I've searched for the answer, and I expect I'm wording my search incorrectly.

I often restore my live site to a dev site, do my updates, and then restore it back. Simple enough, not a huge problem. I exclude the configuration, .htaccess, and .htaccessadmin tools.

I thought that it would solve the issue I have, which is, I want it to take the database information from the existing configuration file. Is there a way to do this so I don't have to dig out my passwords etc each time?

Also, just as I write this post, is there a way to have the akeeba backup / admin tools version in the Joomla System information? That would be a small time saver for us if posting tickets. I'd find it useful anyway :)

Thanks in advance for your support, and sincerest apologies as I'm sure this has already been answered somewhere.

Eoin

UglyEoin
I apologise, I think I have found the solution on the page that I gave you as having read. I was just doing things wrong but restoring from the backend and not using Kickstart. My bad, sorry again.

nicholas
Akeeba Staff
Manager
When you move a site between different servers the database information is intentionally blanked out. Most users (read: practically everyone) have different database connection information across servers, be it live/development or different hosts.

Old versions of Akeeba Backup would fill in the db connection information and only print a warning when moving your site to a new location. We had a LOT of users (most of them users of the free version, sadly) complaining that our software was broken because –despite the 76pt bold red "WARNING" text in yellow background and the red, bold, 14pt type explaining the situation– they were trying to accept the db connection info they were seeing on the page on a host which of course could not accept them.

Since I am a web developer and not a neuroscientist I decided that I can't fix the brains of cognitive challenged individuals but I can come up with a technological solution to force a pause in their stream of automatic, imprudent actions. That solution was blanking out the db connection information when we are not at least 99% sure they will work on the server we're restoring to. And that's what makes what you want rather impossible.

Also, just as I write this post, is there a way to have the akeeba backup / admin tools version in the Joomla System information? That would be a small time saver for us if posting tickets. I'd find it useful anyway :)


Not without modifying core files which would of course ban us for eternity from the Joomla! Extensions Directory. You can retrieve the version information of all installed extensions in Extensions, Extensions Manager, Manage.

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!