MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

How to Copy data from Prod to Test Database

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Database
View previous topic :: View next topic  
Author Message
nagapa
Beginner


Joined: 16 Sep 2004
Posts: 11
Topics: 4

PostPosted: Fri Jun 08, 2007 6:28 am    Post subject: How to Copy data from Prod to Test Database Reply with quote

Hi,
I am a application developer and doing a bit of db2 admin work for our system. We are trying to refresh our test region with prod data.

Is there are way to copy the complete production database and load it on to the test database. Both are identical in design and size.

If we cant do it at the database lever, can we do it at table space.

I have done table load and unloads, as we have over 400 tables it would be our last resort.

Thanks for your time.

Regards
Nagappan
Back to top
View user's profile Send private message Send e-mail Yahoo Messenger
kolusu
Site Admin
Site Admin


Joined: 26 Nov 2002
Posts: 12380
Topics: 75
Location: San Jose

PostPosted: Fri Jun 08, 2007 8:31 am    Post subject: Reply with quote

Quote:

I have done table load and unloads, as we have over 400 tables it would be our last resort.

nagapa,

I am afraid that is only available resort for you. If the tables are small then may you can try this

http://www.mvsforums.com/helpboards/viewtopic.php?p=19871#19871

Kolusu
_________________
Kolusu
www.linkedin.com/in/kolusu
Back to top
View user's profile Send private message Send e-mail Visit poster's website
videlord
Beginner


Joined: 09 Dec 2004
Posts: 147
Topics: 19

PostPosted: Sun Jun 10, 2007 11:33 pm    Post subject: Reply with quote

there are several ways:
1. system level, you can clone the whole system (include the OS)

2. DB2 subsystem level, define the same DB2 subsystem in test, copy all the DB2 volumes, and start in test system (not recommended)

3. IMAGE COPY, then DSN1COPY to test

4. UNLOAD, then LOAD to teset (the best way)
Use LIST and TEMPLATE will be convient if there are hundreds of tables.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Database All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group