Page 1 of 1

Backup code using PHP in windows

Posted: Mon Dec 06, 2010 11:35 pm
by Vishak
My requirement is to backup the database of my application run locally in my system.

The command is
mysqldump -u user_name -ppasswd databse_name > backup.sql

To run this one can use the system PHP command.

But my problem is the above command works in linux but not in Windows.

Do I need to make some changes to the php.ini file in Windows for the system command to work.

Or is there any other way to backup my database?