I am trying backup my mysql database of linux hosted website(remote server-cpanel account) using mysqldump and executing this code through php file(db_backup.php).
db_backup.php {
exec('mysqldump --user=MYUSERNAME --password=MYPASSWORD --host=localhost MYDBNAME> \home\kmnazar\public_htm\db\file.sql')
?> }
Unfortunately unable to produce any backup file.Please guide me to resolve the issue. Thanks in advance