Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 08 Jul 2000 09:02:11 -0400
From:      John <papalia@udel.edu>
To:        freebsd-questions@freebsd.org
Subject:   Cron/Tar/Shell Script
Message-ID:  <4.3.1.2.20000708085531.00abb8a0@mail.udel.edu>

next in thread | raw e-mail | index | archive | help
Hey all,

I'm missing something simple, but I'm stumped as to where I'm going wrong....

Every night I run a backup by using tar via a cron-invoked script.

The script is:

#!/bin/sh
/usr/bin/tar -c / -X /root/exclude 2>&1 | sendmail root
/usr/bin/mt rewoffl

Cron calls it by:
0 4 * * * sh /root/backup.routine

I get an email at root every night, however it comes through empty.  This 
is odd since I know every time I manually run tar I get about 10 "minor 
number too large" errors when it tries to archive /dev.  Any ideas where my 
error messages might be going to?

Thanks in advance!!!
--John



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4.3.1.2.20000708085531.00abb8a0>