just some ideas for you...

On Mon, Jan 07, 2002 at 12:44:50PM +1100, Les Stott wrote:
> The variable TAPEDEV is /dev/tape. The variable ERRFILE is
> /var/log/backup/backup-err.log.3.

so aren't you attempting to backup a changing file? (ie. your
error log at least and possibly others under /var/log)
does that work?

> If i watch it run manually it works no problems. However i try to read the
> tape back or restore i get "unexpected end of file", "tar exitting from
> unrecoverable errors".
> On closer investigation i find the following error:
> 
> /root/scripts/FullBackup.les: line 42: 31663 Broken pipe

so is the line 42? :

>             tar -cvf $TAPEDEV --exclude "./proc/*" --exclude
> "./var/spool/squid/*" --exclude
> "./tmp/*" --ignore-failed-read --totals --verify . 2>>$ERRFILE

presumably that's all on one line in your script?
(what's the ".les" extension mean?)

You sure you're excluding what you think you're excluding
(the tar info page makes it sound fairly complicated)?

have a read of the "read-full-records" (or blocking factor) option 
and see if that applies to you as well.

Don't know what 141 means either sorry.

Dave.
-- 
SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug

Reply via email to