At 10:13 PM 6/8/00 , Steven W. Orr wrote:
>On Thu, 8 Jun 2000, Kirk Whiting wrote:
>
>=>Im trying to do a backup job to my Jaz Drive with cron and Im having
>=>difficulty. The command Im using is:
>=>
>=>38 08 * * 1 find /home/* -print | cpio -orcvdumB > /mnt/jaz
>=>
>=>I keep getting " broken pipe "
>The broken pipe message can safely be ignored. What's happening is that
>the find command is finishing before the cpio command has processed th
>eend of file. It's normal. Just ignore it.
This may be so but if your data aren't arriving completely (or at all) on
the Jazz drive it seems to be because the command is broken. I assume this
works from the command line? If not, start there. In the past, I have had
difficulty with ownership and permissions when I put the command into cron
(are you running this script from your crontab or the system crontab? if
this is the system crontab, try adding 'root' before find). I've also had
to qoute things sometimes... but the command looks OK to me.
I would probably make this a script and make sure the Jazz drive was
mounted before I began. When I wrote the script, I would give full paths
to find and cpio. Finally, since this is a Red Hat machine (presumably?),
I would put the script into /etc/cron.weekly.
-Alan
--
To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe"
as the Subject.