Networker

[Networker] nmosbt.log for each day..

2006-12-07 06:00:23
Subject: [Networker] nmosbt.log for each day..
From: Turhans <turhans AT GMAIL DOT COM>
To: NETWORKER AT LISTSERV.TEMPLE DOT EDU
Date: Thu, 7 Dec 2006 12:45:10 +0200
Hi,
On oracle backup, I added the script is shown below to nsrnmostart to write
mslog for a different log file and it works. Similarly for nmosbt.log, does
anyone have script to write a log for each day?
# 
# Build the nsrnmostart command 
# 
opts="" 
while [ $# -gt 0 ]; do 
case "$1" in 
-s ) # server name 
opts="$opts $1 '$2'" 
shift 2 
;; 
-N ) # save set name 
opts="$opts $1 '$2'" 
NSR_RMAN_ARGUMENTS="msglog $LOGDIR/`date +%d%m%y%H%M`_$ORACLE_SID_`basename
$2`.log" 
shift 2 
;; 
-e ) # expiration time 
opts="$opts $1 '$2'" 
shift 2 


To sign off this list, send email to listserv AT listserv.temple DOT edu and 
type "signoff networker" in the body of the email. Please write to 
networker-request AT listserv.temple DOT edu if you have any problems with this 
list. You can access the archives at 
http://listserv.temple.edu/archives/networker.html or
via RSS at http://listserv.temple.edu/cgi-bin/wa?RSS&L=NETWORKER

<Prev in Thread] Current Thread [Next in Thread>
  • [Networker] nmosbt.log for each day.., Turhans <=