Crontab/backup
Posted by: decswxaqz
Posted on: 2005-05-13 11:38:00
35 * * * * mysqldump -u user -ppassword -h host dbbackup > ~/backup/`date %Y_%m_%d_%M`_site_backup.sql
/bin/sh: -c: line 1: unexpected EOF while looking for matching ``'
/bin/sh: -c: line 2: syntax error: unexpected end of file
I'm using the top line and getting those errors... does anyone know what's wrong? If I just copy/paste the mysqldump line it works fine.
I've got that stored in a file called crontab.txt and using "crontab crontab.txt" to use crontab.
EDIT: Yes I have looked at the KB and wiki, searched the forums and googled it :PEdited by decswxaqz on 05/13/05 11:40 AM (server time).