[mythtv-users] Error on mysqldump cron script

Mache Creeger mache at creeger.com
Thu Apr 17 23:22:08 UTC 2008


I am trying to get a mythconverg backup cron job working in 0.21 and 
am not having much luck. Each time I run the script I get the following error

mysqldump: Got errno 32 on write

I assume what I am doing wrong is obvious but I am not seeing it.

# uname -r
2.6.24.4-64.fc8

Someone please help.

-- Mache

Here is the script
#!/bin/sh
#Dumps the mythconverg database - daily backup
DUMPFILE="mythdb_backup"
/usr/bin/mysqldump -u mythtv -pmythtv mythconverg -c | /bin/gzip -c > 
/opt/mythdb/$DUMPFILE
exit 0

Here are the file permissions
# ls -al /opt/mythdb/
drwxrwxr-x  2 root mythtv   26 2008-04-17 16:16 .
drwxrwxr-x 17 root mythtv 4096 2008-04-17 12:23 ..
-rw-r--r--  1 root root      0 2008-04-17 16:17 mythdb_backup



More information about the mythtv-users mailing list