DrByte,
I really hope you do get some satisfaction from the fact that we all look up to you as much as we do. For every one person you help directly by replying to questions in this forum, a dozen or more will stumble in and find the solutions you give. Everyone knows that solutions you give can pretty much be taken as the Word of God!
And the mods you have provided are spectacular. It must be neat to know that right at this very moment somewhere in Asia or S Dakota or the UK, there are people using things you created!
Backup MySQL, in particular, was a real stroke of genius!
That's why I'm embarrassed to even suggest that an improvement could be made. But I can't help it, I just think the way the files are named are bit messy.
This is what I did. I found the code for naming files in admin/backup_mysql.php (this line):
Code:
$backup_file = 'db_' . DB_DATABASE . '-' . ($tables_to_export != '' ? 'limited-' : '' ) . date('YmdHis') . '.sql';
And then I restructured it a bit:
Code:
$backup_file = '00-Date_' . date('Y') . '-' . date('m') . '-' . date('d') . '__Time-' . date('H') . '-' . date('i') . '-' . date('s') . '.sql';
The resulting file names (see attached image):
• have the db info removed
• clearly state the date and time
• match (within a few seconds) the date/time given in center column
• appear above the Admin Activity Archives
DrByte, if you see any error in my restructuring, please let me know.
While I would greatly prefer a naming GUI, I don't trust my abilities enough to do it myself. If anybody wants to do it, I will be happy to beta!