[mythtv-users] Error on mysqldump cron script

Mache Creeger mache at creeger.com
Fri Apr 18 00:49:04 UTC 2008


Fixed.

I accidently used a ">" in place of the "|" and trashed both gzip and 
bzip2. I reloaded and it works fine.

-- Mache

At 04:22 PM 4/17/2008, Mache Creeger wrote:
>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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mythtv.org/pipermail/mythtv-users/attachments/20080417/432681ea/attachment.htm 


More information about the mythtv-users mailing list