Networker

[Networker] nmosbt.log question..

2006-12-12 08:27:30
Subject: [Networker] nmosbt.log question..
From: Turhans <turhans AT GMAIL DOT COM>
To: NETWORKER AT LISTSERV.TEMPLE DOT EDU
Date: Tue, 12 Dec 2006 15:18:14 +0200
Hi everyone,
On oracle backup, I have 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?
*I do not remember who has sent it to me from this group because the mail is
deleted.
# 
# 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 question.., Turhans <=