backup MySQL

J

jasonc310771

Guest
I have the following code that is used on a Linux server and know it can not be used as is on a plesk system with some alterations.

mysqldump -ce --user=dbusername --password=mypassword databasetobackup | gzip | uuencode dbbackup_e.gz | mail [email protected]

i think i am right in saying that the location of mysqldump will be in some folder that needs to be stated in the command line as i have used the cronjob/scheduler to run a script and have to state the location of php files.

what would be the correct format of the above so it works on a plesk system

thanks in advance for your help

Jason
 
Back
Top