Gerald, have a look at your /sbin/e-smith/backup and compare
it to the one shown below.  It looks like you have not installed
the latest e-smith-backup-1.2.0-11.noarch.rpm from e-smith.
Go get this update and install it:

rpm -Uvh e-smith-backup-1.2.0-11.noarch.rpm

Then do either a:

/sbin/e-smith/expand-template /sbin/e-smith/backup
- or-
/sbin/e-smith/signal-event console-save

Check the /sbin/e-smith/backup again.  Also note the rights
on the file as I've noticed that sometimes the execute right
gets dropped.  Possible BUG report?

The rights should be 554 (r-xr-xr--) I believe.

chmod 554 /sbin/e-smith/backup

Launch a backup and give it test.

Regards,

Darrell

<...>
[root@e-smith e-smith]# cat /sbin/e-smith/backup
#!/bin/sh

#------------------------------------------------------------
# DO NOT MODIFY THIS FILE! It is updated automatically by the
# e-smith server and gateway software. Instead, modify the source
# template in the /etc/e-smith/templates directory. For more
# information, see http://www.e-smith.org.
#
# copyright (C) 1999-2001 e-smith, inc.
#------------------------------------------------------------


# Tape backups are enabled

export PATH=$PATH:/sbin

/sbin/e-smith/signal-event mysql-delete-dumps > /dev/null 2>&1
/sbin/e-smith/signal-event mysql-dump-tables > /dev/null 2>&1

if /bin/mt -f "/dev/nst0" tell > /dev/null 2>&1
then
    # Some drives require zeroing the data before
    # they can be overwritten.

    /bin/mt -f "/dev/nst0" rewind > /dev/null 2>&1
    /bin/dd if=/dev/zero of="/dev/nst0" bs=32k count=1 > /dev/null 2>&1
    /bin/mt -f "/dev/nst0" rewind > /dev/null 2>&1
else
    echo "Backup aborted: No tape loaded"
    exit 1
fi
/usr/bin/flexbackup -fs all

/sbin/e-smith/signal-event mysql-delete-dumps > /dev/null 2>&1

/bin/mt -f "/dev/nst0" rewind

#------------------------------------------------------------
# TEMPLATE END
#------------------------------------------------------------

> -----Original Message-----
> From: Gerald Jansen [mailto:[EMAIL PROTECTED]]
> Sent: Sunday, February 25, 2001 10:25 AM
> To: e-smith-devinfo (E-mail)
> Subject: [e-smith-devinfo] tape backup failure
> 
> 
> forgive me if I have sent this message inappropiately. The 
> following is the
> results of a tape backup that was performed yesterday. This 
> is from a 4.4.1
> server started with a clean install at RC-3. The tape drive 
> is a Seagate IDE
> STT20000A The tape has been performing flawless until 
> yesterday. Yesterday I
> loaded live date accross the network. The resulting "files" 
> directory added
> up to about 8600 files and 1.3GB. If I am reading this right 
> the backup
> failed.
> 
> -----Original Message-----
> From: Cron Daemon [mailto:[EMAIL PROTECTED]]
> Sent: Saturday, February 24, 2001 10:15 PM
> To: [EMAIL PROTECTED]
> Subject: Cron <root@crc-server> /sbin/e-smith/backup
> 
> 
> 
> flexbackup version 0.9.8 <[EMAIL PROTECTED]>
> /etc/flexbackup.conf syntax OK
> 
> |------------------------------------------------
> | Trying "mt defblksize" instead of "mt setblk"
> | Doing level 0 backup of all using dump
> | Retensioning tape...
> | Rewinding & erasing tape...
> /dev/nst0: Input/output error
> | Creating index key 200102242218.41
> | Tape #0
> | Filesystems = / /boot
> |------------------------------------------------
> At block 40.
> |------------------------------------------------
> | File number 1, index key 200102242218.41
> | Backup of: /
> | Date of this level 0 backup: Sat Feb 24 22:18:42 2001
> | Date of last level 0 backup: the epoch
> |------------------------------------------------
> | (dump -0 -b 10 -a -f - / | gzip -4) | buffer -m 3m -s 10k 
> -u 100 -t -p
> 75 -B \
> |  -o /dev/nst0
> |------------------------------------------------
>   DUMP: Date of this level 0 dump: Sat Feb 24 22:18:42 2001
>   DUMP: Date of last level 0 dump: the epoch
>   DUMP: Dumping /dev/hda6 (/) to standard output
>   DUMP: Label: none
>   DUMP: mapping (Pass I) [regular files]
>   DUMP: mapping (Pass II) [directories]
>   DUMP: estimated 1837860 tape blocks.
>   DUMP: Volume 1 started at: Sat Feb 24 22:19:37 2001
>   DUMP: dumping (Pass III) [directories]
>   DUMP: dumping (Pass IV) [regular files]
> buffer (writer): write of data failed: Input/output error
> bytes to write=10240, bytes written=-1, total written         30K
>   DUMP: Broken pipe
>   DUMP: The ENTIRE dump is aborted.
> |------------------------------------------------
> | Backup start: Sat Feb 24 22:18:42 2001
> | Backup end:   Sat Feb 24 22:20:07 2001
> |------------------------------------------------
> At block 40.
> |------------------------------------------------
> | File number 2, index key 200102242218.41
> | Backup of: /boot
> | Date of this level 0 backup: Sat Feb 24 22:20:18 2001
> | Date of last level 0 backup: the epoch
> |------------------------------------------------
> | (dump -0 -b 10 -a -f - /boot | gzip -4) | buffer -m 3m -s 
> 10k -u 100 -t -p
> \
> |  75 -B -o /dev/nst0
> |------------------------------------------------
>   DUMP: Date of this level 0 dump: Sat Feb 24 22:20:18 2001
>   DUMP: Date of last level 0 dump: the epoch
>   DUMP: Dumping /dev/hda1 (/boot) to standard output
>   DUMP: Label: none
>   DUMP: mapping (Pass I) [regular files]
>   DUMP: mapping (Pass II) [directories]
>   DUMP: estimated 3014 tape blocks.
>   DUMP: Volume 1 started at: Sat Feb 24 22:20:19 2001
>   DUMP: dumping (Pass III) [directories]
>   DUMP: dumping (Pass IV) [regular files]
>   DUMP: Volume 1 completed at: Sat Feb 24 22:20:22 2001
>   DUMP: Volume 1 took 0:00:03
>   DUMP: Volume 1 transfer rate: 1002 KB/s
>   DUMP: 3006 tape blocks (2.94MB)
>   DUMP: finished in 3 seconds, throughput 1002 KBytes/sec
>   DUMP: Date of this level 0 dump: Sat Feb 24 22:20:18 2001
>   DUMP: Date this dump completed:  Sat Feb 24 22:20:22 2001
>   DUMP: Average transfer rate: 1002 KB/s
>   DUMP: DUMP IS DONE
> buffer (writer): write of data failed: Input/output error
> bytes to write=10240, bytes written=-1, total written          0K
> |------------------------------------------------
> | Backup start: Sat Feb 24 22:20:18 2001
> | Backup end:   Sat Feb 24 22:20:22 2001
> |------------------------------------------------
> At block 40.
> |------------------------------------------------
> | Rewinding...
> | Compressing log (all.0.20010224.gz)
> | Linking all.latest.gz -> all.0.20010224.gz
> |------------------------------------------------
> 
> File  Contents    (tape index 200102242218.41)
> -----------------------------------------------
> 0   <tape index key>
> 1   level 0 / Sat Feb 24 22:18:42 2001 dump+gzip from crc-server
> 2   level 0 /boot Sat Feb 24 22:20:18 2001 dump+gzip from crc-server
> 
> 
> 
> --
> This list is archived
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 

Reply via email to