SUMMARY Re: Backup script

From: Tis Unix <unixdocs72_at_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
Received on Thu Mar 18 10:57:02 2004

This archive was generated by hypermail 2.1.8 : Thu Mar 03 2016 - 06:43:30 EST