Month & day get scrambled in crontab using DirectAdmin
===

We want to create a back-up of our system everyday using cron, and save it to a file with the date & time in it. I've been testing a lot, reading a whole lot more, but i've still got this weird problem. Here's our cron:

    mysqldump -u username -ppassword database > backupDB/backup_`date +\%Y``date +\%m``date  +\%d`_`date +\%H``date +\%M`.sql &2>error.log

Now, this is the result of an evenings work, and it's so long, because i couldn't get it working. For some reason `%F` doesn't work (it create's a file called backup_0.0000.sql). Stranglye, `%m` doesn't do anything, and `%d` outputs a large number (8499680), wich changes more then every day. The file created is now called `backup_2012__8499680_2215.sql`. As you can see, the time and year are displayed correctly. Furthermore, when we execute this exact command trough the commandline, the file is correctly named.

Trough the commandline, we found out that the actual text that is saved to the crontab is:

    mysqldump -u username -ppassword database > backupDB/backup_`date +\%Y``date +\no such file or directory``date  +\850904`_`date +\%H``date +\%M`.sql &2>error.log

So; does anybody know why my code is being scrambled before it's saved in the crontab? It's very frustrating, because editing trough the webinterface is much more easy then trough the commandline.

We're using Linux Kerberos & directAdmin as interface.