Amir, Here is what we use to redirect restore to a partitioned environment. Hope
 it helps.

RESTOREOPTIONS="into DatabaseB with 4 buffers replace existing without
prompting"

function sequential_node_restore {
        for NODE in $*
        do
          db2_all "<<+$NODE< db2 restore database DatabaseA from
/backup/directory/location/date $RESTOREOPTIONS"
        done
}







"Amir Sadeghi" <[EMAIL PROTECTED]> on 04/19/2001 12:46:14 PM

Please respond to [EMAIL PROTECTED]
                                                                                
                                                                                
                                                                                


                                                              
                                                              
                                                              
 To:      [EMAIL PROTECTED]                           
                                                              
 cc:      (bcc: Karen Grantham/CEI)                           
                                                              
                                                              
                                                              
 Subject: DB2EUG: Restore to a different database does not    
          work properly!                                      
                                                              








Hi Team,

We are trying to redirect restore database A on to database b.  For some
reason, DB2 thinks that we are restoring to the same database.  The
procedure completes successfully. However, the data is not right.

Does anyone know what's going on?

Why does DB2 not sense that database A and database B are different
databases?
_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.


=====
To unsubscribe, send 'unsubscribe' to [EMAIL PROTECTED]
For other info (and scripts), see http://people.mn.mediaone.net/scottrmcleod





=====
To unsubscribe, send 'unsubscribe' to [EMAIL PROTECTED]
For other info (and scripts), see http://people.mn.mediaone.net/scottrmcleod

Reply via email to