Re: scipt to cron for tbtape
Posted in 1995
Luis, Try this via a shell script (pardon any minor problems, I'm just typing this in free-hand): #!/bin/sh if [ "$#" -ne 1 ] then echo "Usage: `basename $0` archive_level" echo " archive_level: 0 | 1 | 2" exit 1 fi # Check for $INFORMIXDIR, $TBTAPE, etc. here... LEVEL="$1" echo " $LEVEL " | $INFORMIXDIR/bin/tbtape -s # Include error checking/messaging here... # # End of script. Regards, Bob Colombo bcolombo@id.wing.net Luis Alejandro Mendoza Torres (71430.1261@CompuServe.COM) wrote: : i need make cron to doing backup database on informix online 5.0 : with tbtape -s at level two on o.s. solaris 2.0/sun sparc 20. : but tbtape need a return key and level parameter. : does anybody have a script to help me? : thanks. : luis alejandro mendoza torres. : 71430,1261@compuserve.com : mexico,d.f. : credimar,s.a. de c.v.