SUMMARY Re: Backup script

From: Tis Unix (unixdocs72@yahoo.co.uk)
Date: Thu Mar 18 2004 - 05:45:34 EST


Thanks alot to Bryshyam Rai, Mark Scheufele and Joe Manning, who responded with this to direct output of ufsdump to log file -
 
ufsdump 0uf $DEVICE /export >> $LOG_FILE 2>&1

Told you scripting wasn' my strong point !!!
 
Original post below .....
 
Thanks again
Tis

Tis Unix <unixdocs72@yahoo.co.uk> wrote:
Hi all,

Scripting ain't my strong point :)

I am running my backup script from the command line like this -

# ./backup_script

And trying to get the ufsdump output to go to log file, but it's not happening ... I have this line in the script for the ufsdump command -

ufsdump 0uf $DEVICE /export 2>&1 >> $LOG_FILE

What do I need to do to get this to write the output to the log file ?

$LOG_FILE gets created and gets other output to it such as `date`.

Thanks in advance
Tis

---------------------------------
Yahoo! Messenger - Communicate instantly..."Ping" your friends today! Download Messenger Now
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers

                
---------------------------------
  Yahoo! Messenger - Communicate instantly..."Ping" your friends today! Download Messenger Now
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers



This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 23:28:18 EDT