Such a script mostly imposes the need to hard-code the db password, a fact that I do not embrace.
Considering that your database password and all of the other connection information is hard coded in configuration.php for Joomla! to work, that's not actually a problem. Think about it.
On one hand, your web accessible PHP application with arbitrary third party, non audited for security code running on it has the keys to your database. A vulnerability in any of your
public facing code could allow an attacker to gain this information.
On the other hand you have hardcoded your database connection information in the CRON command line. The CRON configuration is NOT available on public facing parts of your site. It is only visible to the operating system and the control panel software (which
is audited for security and has far stricter controls than your public site). Obtaining this information would require a full compromise of the server, in which case the point is thoroughly moot: you can do whatever you want on a compromised server so you don't even need to read the db connection information from the CRON command line or configuration.php...
I guess a pass by would be to zip or tar.gz the dump files created by akeeba backup, but then akeeba will loose control of these files, as the uncompressed sql-dump should be removed after zipping to achieve the desired storage reduction.
Yet another moot point. As I explained, when you're taking a single file .sql backup of your site's database you cannot restore it with Akeeba Backup. A massively huge file requires at the very least using phpMyAdmin
inside your host's cPanel, so you are NOT bound by memory and time limits, or in many cases command line (SSH). Therefore it doesn't matter if Akeeba Backup lists this file in the back-end or not: you are still unable to use it inside Akeeba Backup.
Out of curiosity (sorry if it is noted otherwise, but I did not find anything on it by searching): Are thes restorable database archives also allowing for single table restoration? (I do not presume so.)
Not yet. It's on my to-do list. I have a few ideas on how to make it happen but I cannot promise I will implement it on a specific timeline. It's still on my todo list as a research and development task :)
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!