So you mean, the "includes" folder and backup_mysql.php file should end up directly in the shop's admin folder? There's already a folder there called "includes", I don't want to overwrite it.
So you mean, the "includes" folder and backup_mysql.php file should end up directly in the shop's admin folder? There's already a folder there called "includes", I don't want to overwrite it.
Yes, you ADD the files to /admin/ includes folder, NOT replace the /admin/includes folder.There's already a folder there called "includes",
File paths are defined in zip file.. i.e NOT all those files go into /admin/includes/
Last edited by misty; 16 Jan 2008 at 08:14 AM. Reason: added extra info
I have carefully added the files and folders to the corresponding folders in "Admin". So backup_mysql.php is in Admin. The folders in the Includes folder in the download (languages, extra_datafiles, boxes) are in the includes folder in my Admin. Still I get no "Database Backup-MySQL" in my Tools menu. Could it be a permissions issue? I am hosting the cart locally for now so have no CHMOD but have removed the "read-only" on the back-ups folder.
.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole
Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.
Everything's there. everything in place.
I just noticed something in the readme file, about defining some settings in languages/english/backup_mysql.php. It refers to this code:
define('LOCAL_EXE_MYSQL', '/usr/bin/mysql'); // used for restores
define('LOCAL_EXE_MYSQLDUMP', '/usr/bin/mysqldump'); // used for backups
and it says to specify the exact path to these utilities for my server.
I'm a real newbie and at a loss here, any help much appreciated.
Those settings will have nothing to do with your Tools menu. It is handled strictly by the /admin/includes/boxes files.
If you're having trouble installing and getting the addon utility to run, you can always do your own database backups using the database management tools supplied by your hosting company. The most popular one is phpMyAdmin. Instructions for doing database backups via phpMyAdmin can be found in this FAQ: https://www.zen-cart.com/tutorials/i...hp?article=103
.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole
Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.
Thanks DrByte. As I said, it's hosted locally at the moment but I have done back-ups through phpMyAdmin. I just thought this would be quicker, but no problem.
I have carefully added the files and folders to the corresponding folders in "Admin". So backup_mysql.php is in Admin. The folders in the Includes folder in the download (languages, extra_datafiles, boxes) are in the includes folder in my Admin. Still I get no "Database Backup-MySQL" in my Tools menu. Could it be a permissions issue? I am hosting the cart locally for now so have no CHMOD but have removed the "read-only" on the back-ups folder.