Have a two part question:
First I am testing MYSQL backup and getting error message.
I am running locally using xampp for testing.

Warning Result code: 2
Warning 0 => mysqldump: Couldn't execute 'SHOW TRIGGERS LIKE 'zen\_oldmedia\_clips'': Can't create/write to file '\xampp\tmp\#sql_a50_0.MYI' (Errcode: 13) (1)
Error Failure: The database has NOT been saved.

Here's setup:
Code:
define('LOCAL_EXE_MYSQL',     'c:/xampp/mysql/bin/mysql.exe');  // used for restores
define('LOCAL_EXE_MYSQLDUMP', 'c:/xampp/mysql/bin/mysqldump.exe');  // used for backups

define('OS_DELIM', '"');
Zen Cart version 1.3.8a
Any insights to fix this error?

2nd Part of question:
I am testing as 1st step to see if there is a way to hack this backup to run from Define Page. Can this be done?
Seems like if I add the definitions to the page with the main code, manually set some of the parameters that I should be able to get the back done. What am I missing?
Why would I want to: client's previous webmaster has hijacked the Zen-cart installation and has put it on his own server - the client was not aware of this. When I was asked to make some changes, the issue was discovered. So I do not have access to FTP the files to the server as required to run the Backup from admin. So, we are trying to run from Define Page, get a backup and then reinstall on clients server. Any way of doing this?

Thanks for the input.