Trying to perform a DB2 redirected restore of an online backup to a new server, logging on the source server is set up using the "new" method LOGARCHMETH1=VENDOR:/usr/openv/netbackup/bin/nbdb2.so
Unfortunately all the documentation I can find assumes you are using the "old" method with db2uext2
I'm able to restore the database using db2 restore database... but I can't retrieve the archived logs I need to roll forward.
As far as I can tell instead of using something like this
db2uext2 -OSLinux -RLSQL08012 -RQRETRIEVE -DBTEST -NNNODE0000 -LP/database/sylvia/NODE0000/SQL00001/SQLOGDIR/ -LNS0000000.LOG
I should instead be using
bprestore -S <master> -C <source server> -t 18 /DB2/TEST/LOGFILE/node0000/db2test/C0000000_S0000000.LOG
But that command is failing with a status 25
Has anyone done this and has clearer documentation on the process?