Forums / All Other Contributions/Addons / Backup MySql plugin error

Backup MySql plugin error

Locked
Results 1 to 6 of 6
This thread is locked. New replies are disabled.
29 Jun 2009, 13:04
#1
jwurster avatar

jwurster

New Zenner

Join Date:
Jun 2009
Posts:
22
Plugin Contributions:
0

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
29 Jun 2009, 13:17
#2
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Posts:
31,500
Plugin Contributions:
4

Re: Backup MySql plugin error

Try another name without any special characters
29 Jun 2009, 13:45
#3
jwurster avatar

jwurster

New Zenner

Join Date:
Jun 2009
Posts:
22
Plugin Contributions:
0

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.
29 Jun 2009, 14:01
#4
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Posts:
31,500
Plugin Contributions:
4

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?
29 Jun 2009, 14:46
#5
jwurster avatar

jwurster

New Zenner

Join Date:
Jun 2009
Posts:
22
Plugin Contributions:
0

Re: Backup MySql plugin error

It looks like I don't have the SMTP settings configured. Maybe that's it.
29 Jun 2009, 18:56
#6
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,506
Plugin Contributions:
173

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.