I want to make an automatic backup of my database, so i wrote like this
00 10 * * * root mysqldump -u root -ppasswordD billing "/home/backup/database_`date '+%m-%d-%Y'`.sql"
But it is not working, any ideas please?
Thanks and regards,
I want to make an automatic backup of my database, so i wrote like this
00 10 * * * root mysqldump -u root -ppasswordD billing "/home/backup/database_`date '+%m-%d-%Y'`.sql"
But it is not working, any ideas please?
Thanks and regards,
If it fails or produces any output then you will get a mail for root, read it with the command "mail" or read /var/log/cron.log ;)