Networker

[Networker] Backing up via "Named Pipe / FIFO"

2007-07-24 21:41:34
Subject: [Networker] Backing up via "Named Pipe / FIFO"
From: Gary <g_sperano AT HOTMAIL DOT COM>
To: NETWORKER AT LISTSERV.TEMPLE DOT EDU
Date: Tue, 24 Jul 2007 21:38:53 -0400
Has anyone berformed a successful backup with networker using a named pipe, 
AND NOT using "rawasm" in the directive.  With Netbackup, this was 
performed successfully by coding the following.  So I am looking for 
assistance in accoomplishing the same thing in Networker.

Thank You in advance.

#!/bin/ksh 

date 

timestamp=$(date '+%Y%m%d%H%M%S') 
EDIR=${ORACLE_BASE}/admin/${ORACLE_SID}/exp 
exportlogfile=$EDIR/exp_mrlnwhp_testcase_1_$timestamp.log 
bpbackuplogfile=$EDIR/bpbackup_mrlnwhp_testcase_1_$timestamp.log 

pipename=$EDIR/mrlnwhp_testcase_1.pipe 
if [[ -a $pipename ]] then 
   rm $pipename 
fi 

mkfifo $pipename 

$ORACLE_HOME/bin/exp / file=$pipename log=$exportlogfile consistent=N \ 
   compress=n recordlength=65535 direct=Y \ 
   tables=mis.limit_additional_cr& 

sleep 5 

/usr/openv/netbackup/bin/bpbackup \ 
   -c Oracle_fs -s Daily \ 
   -L $bpbackuplogfile -w -k "mrlnwhp_testcase_1_$timestamp" $pipename 
wait 
date 

rm $pipename 

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>