Page 14 of 27 FirstFirst ... 4121314151624 ... LastLast
Results 131 to 140 of 265
  1. #131
    Join Date
    Mar 2008
    Location
    USA
    Posts
    560
    Plugin Contributions
    0

    Default Re: Backup MySQL Database

    Hi:

    I am having trouble with the database Backup too. After I installed it, I changed the CHMOD on the backup folder to 777. I got an error so I changed it to 755as recommended by the "read me" file. I am getting a 404 error now. Any suggestions?

    Silver

  2. #132
    Join Date
    Aug 2007
    Location
    Gijón, Asturias, Spain
    Posts
    2,589
    Plugin Contributions
    30

    Default Re: Backup MySQL Database

    I have been hacking this about for a long time and would like people to try it out before I upload it:

    2015-01-14 - v1.6
    added option to add a suffix to backup filename
    changed mysql to mysqli
    added support for gzip and zip restores in windows
    added extra tool paths to configures file to enable the same file to be used in a production and local development environment
    minor debug formatting changes
    moved mysql tool path defines from language files to /extra_datafiles
    added automatic path detection to the paths checked
    added error checks to page registration of admin tools menu item to detect incomplete installations

    Note the DEBUG option is on by default.
    Steve
    github.com/torvista: Spanish Language Pack, Google reCaptcha, Structured Data, Multiple Copy-Move-Delete, Image Checker, BackupMySQL Admin/Auto...

  3. #133
    Join Date
    Jul 2012
    Posts
    16,733
    Plugin Contributions
    17

    Default Re: Backup MySQL Database

    Quote Originally Posted by torvista View Post
    I have been hacking this about for a long time and would like people to try it out before I upload it:

    2015-01-14 - v1.6
    added option to add a suffix to backup filename
    changed mysql to mysqli
    added support for gzip and zip restores in windows
    added extra tool paths to configures file to enable the same file to be used in a production and local development environment
    minor debug formatting changes
    moved mysql tool path defines from language files to /extra_datafiles
    added automatic path detection to the paths checked
    added error checks to page registration of admin tools menu item to detect incomplete installations

    Note the DEBUG option is on by default.
    Would love to test this potential mod. Finding havng issues with current php and commands in version available online. Was going to read back to see what solutions have been offered, but saw this first. :)

    Please advise how to obtain.
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

  4. #134
    Join Date
    Aug 2007
    Location
    Gijón, Asturias, Spain
    Posts
    2,589
    Plugin Contributions
    30

    Default Re: Backup MySQL Database

    Please advise how to obtain.
    Hmmm, I thought it was in my previous post, so here it is (again?):

    Why this is not core functionality I cannot understand, I use it constantly to copy the production db to my development db,and do repeated restores when testing installation routines that affect the db.
    It's an essential tool for me.
    Attached Files Attached Files
    Last edited by torvista; 5 Dec 2015 at 08:02 PM.
    Steve
    github.com/torvista: Spanish Language Pack, Google reCaptcha, Structured Data, Multiple Copy-Move-Delete, Image Checker, BackupMySQL Admin/Auto...

  5. #135
    Join Date
    Jul 2012
    Posts
    16,733
    Plugin Contributions
    17

    Default Re: Backup MySQL Database

    Quote Originally Posted by torvista View Post
    Hmmm, I thought it was in my previous post, so here it is (again?):

    Why this is not core functionality I cannot understand, I use it constantly to copy the production db to my development db,and do repeated restores when testing installation routines that affect the db.
    It's an essential tool for me.
    Dunno what happened to it/why/how removed. But thanks. Kinda me too, been looking for a way to integrate it into some other software that modifies the database and would love to be able to call a function if the capability were present to "automatically" do a backup (bypassing the applicable question screens if installed).

    Obviously haven't tried hard, but...
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

  6. #136
    Join Date
    Oct 2007
    Posts
    134
    Plugin Contributions
    0

    Default Re: Backup MySQL Database

    Hi,

    I have installed the tool.
    It creates the backup file but also shows the error message:
    Warning 0 => Warning: Using a password on the command line interface can be insecure.

    Also, I tried to restore a file. It does not show any error, but actually it is not restoring the database.

    I am using zencart version 1.5.4

    thanks in advance for your help !!

  7. #137
    Join Date
    May 2009
    Posts
    186
    Plugin Contributions
    0

    Default Re: Backup MySQL Database for Zen Cart v1.5.5

    According to the Version history here https://www.zen-cart.com/downloads.php?do=file&id=7
    Backup MYSQL Plugin - Version: v1.5a has not been updated since 2012 and is only validated up to Zen Cart v1.5.3.
    Is it good for Zen Cart v1.5.5 and v1.5.5a?

  8. #138
    Join Date
    Aug 2005
    Location
    Vic, Oz
    Posts
    1,905
    Plugin Contributions
    5

    Default Re: Backup MySQL Database for Zen Cart v1.5.5

    Quote Originally Posted by Zean View Post
    According to the Version history here https://www.zen-cart.com/downloads.php?do=file&id=7
    Backup MYSQL Plugin - Version: v1.5a has not been updated since 2012 and is only validated up to Zen Cart v1.5.3.
    Is it good for Zen Cart v1.5.5 and v1.5.5a?
    It works fine for me on 1.5.5a

  9. #139
    Join Date
    May 2009
    Posts
    186
    Plugin Contributions
    0

    Default Re: Backup MySQL Database Result code: 2 mysqldump Error 1045

    Thanks! It is not working for me.
    I get an error message and an empty gzip file saved in the admin/backups directory.
    Here's the error message . . .
    Code:
    Result code: 2
    0 => mysqldump: Got error: 1045: Access denied for user 'xxx_yyy'@'localhost' (using password: YES) when trying to connect
    Failure: The database has NOT been saved.
    Any ideas?

    My vitals
    1. Zen Cart v1.5.5a fresh clean install including demo data; files uploaded via FTP then run zc_install
    2. Linux Apache
    3. PHP Version: 5.6.17 (Zend: 2.6.0)
    4. Database: MySQL 5.5.42-37.1-log

  10. #140
    Join Date
    Jan 2004
    Posts
    66,373
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: Backup MySQL Database Result code: 2 mysqldump Error 1045

    Quote Originally Posted by Zean View Post
    Thanks! It is not working for me.
    I get an error message and an empty gzip file saved in the admin/backups directory.
    Here's the error message . . .
    Code:
    Result code: 2
    0 => mysqldump: Got error: 1045: Access denied for user 'xxx_yyy'@'localhost' (using password: YES) when trying to connect
    Failure: The database has NOT been saved.
    Any ideas?

    My vitals
    1. Zen Cart v1.5.5a fresh clean install including demo data; files uploaded via FTP then run zc_install
    2. Linux Apache
    3. PHP Version: 5.6.17 (Zend: 2.6.0)
    4. Database: MySQL 5.5.42-37.1-log
    Could be that your database password (in DB_PASSWORD) contains a special character that's not translating well when the backup drops out to the command-line and passes the password parameter to do the database export. Anything in there like a $ or # or back-tick or quote/apostrophe or * or & might be problematic, depending on your server operating system.
    .

    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.

 

 
Page 14 of 27 FirstFirst ... 4121314151624 ... LastLast

Similar Threads

  1. Backup MySQL Database vs using cPanel backup option?
    By IronMan101 in forum All Other Contributions/Addons
    Replies: 0
    Last Post: 30 Jul 2007, 08:46 AM
  2. Database Backup Manager - MySQL
    By sicness in forum All Other Contributions/Addons
    Replies: 7
    Last Post: 7 Aug 2006, 09:42 PM
  3. Backup MySQL Database failure
    By JFD in forum All Other Contributions/Addons
    Replies: 3
    Last Post: 3 Jun 2006, 06:55 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR