Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 3177

System Refresh using DB2 Redirect Restore

$
0
0

Hello Experts,

 

I am new to this area and will be performing system refresh using backup/restore for the very first time. To my knowledge below are the summarized steps for the same-

 

1.Generate a script using brdb6brt in the source system

2.Modify the script with backup/timestamp and other details.

3.Drop the existing database in the target system.

4.Restore the database using the source system backup.

5.Apply the logs to roll forward.

6.Create source system users to connect to the database.

 

Now I need some clarification on the below points--

 

1.Is it not possible to keep the same SID in the target system after restore as it was before? For my case I want to restore system CRD using the backup of PRD. So after restore will there be the same sid and schema as it is now i.e. CRD and sapcrd or the same will be changed to PRD and sapprd?

 

I have checked the note 713524 which says "renaming of a schema is not supported by db2.For this reason the old schema name must be used after a system copy with backup restore". That means I need to create sapprd and db2prd users in the target system to connect with the database.

 

Is there any way to continue using the same schema/DB SID after the redirect restore? My target sap system is already installed and I just need a system refresh with the data of PRD.

 

2.I will be using an online backup of the source system for redirect restore. But I don't want to roll forward the database as the related sap system is used as sandbox and no need of keeping the system with most recent up to date data. So where I need to change in the script so that it doesn't ask for a rollforward.

 

Please suggest.

 

Best Regards,

Debaditya


Viewing all articles
Browse latest Browse all 3177

Trending Articles