Results 1 to 6 of 6
  1. #1
    Join Date
    Jun 2009
    Posts
    22
    Plugin Contributions
    0

    Default Backup MySql plugin error

    I am getting the following error when trying to do a backup after just installing this plugin:

    Result code: 1
    Warning 0 => mysqldump: Can't create/write to file '/var/www/html/YYYYYYYY/rad/backups/db_zencart-20090629065533.sql' (Errcode: 2)
    Error Failure: The database has NOT been saved.

    The problem seems to be with the "new" name of my admin folder. I renamed this as suggested for security reasons. The name you see in the error (rad) is not the complete name. The next character is a dollar sign. So, it's probably a parsing error, I would guess.

    Any help would be greatly appreciated.

    Thank you, jim

  2. #2
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default Re: Backup MySql plugin error

    Try another name without any special characters
    Zen-Venom Get Bitten

  3. #3
    Join Date
    Jun 2009
    Posts
    22
    Plugin Contributions
    0

    Default Re: Backup MySql plugin error

    I renamed the directory and it worked fine with one new error. Perhaps you can help with this. It seemed to be trying to email the backup and the email address was not valid. I can't figure out where that address is coming from.

    Thank you again.

  4. #4
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default Re: Backup MySql plugin error

    As DrByte is the author and I also did not find "mail" with a quick look....He can most likely point right to it

    As a shot in the dark, do you have valid emails set in your shop admin > config > email for all the lines?
    Zen-Venom Get Bitten

  5. #5
    Join Date
    Jun 2009
    Posts
    22
    Plugin Contributions
    0

    Default Re: Backup MySql plugin error

    It looks like I don't have the SMTP settings configured. Maybe that's it.

  6. #6
    Join Date
    Jan 2004
    Posts
    66,443
    Plugin Contributions
    279

    Default Re: Backup MySql plugin error

    1. The addon uses a command-line approach to run the backup, and thus the use of a $ in the folder names is unacceptable.

    2. The addon doesn't do any emailing whatsoever.
    .

    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.

 

 

Similar Threads

  1. Replies: 1
    Last Post: 3 Dec 2012, 01:58 PM
  2. v150 Backup MYSQL Plugin 2005: Unknown MySQL server host 'localhost:3306' (1)
    By nuganics in forum All Other Contributions/Addons
    Replies: 7
    Last Post: 10 Mar 2012, 08:09 AM
  3. Backup MYSQL Plugin
    By zmtak in forum All Other Contributions/Addons
    Replies: 1
    Last Post: 18 Nov 2011, 03:55 AM
  4. Backup MYSQL Plugin vs phpMyAdmin
    By Crunch in forum All Other Contributions/Addons
    Replies: 1
    Last Post: 24 Dec 2010, 12:26 AM
  5. Backup MYSQL Plugin - no backup button
    By mrtorrez in forum All Other Contributions/Addons
    Replies: 30
    Last Post: 29 Jun 2007, 11:13 PM

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