Need help with backup

Hi guys,

It works fine when I run this command in shell
mysqldump -u user -pxxxx database_name > /backup/backup.sql

But when I put that command in a script file and run that script, I get the file "backup.sql\r" not just "backup.sql"

Does anybody know why?

Thanks

 

 

 

 

Top