Helmut,
I have just done it right this
morning. Not that big but worked.
Pasos para Clonar Bases de Datos
1-) Take a cold backup of the Origen DB-
Preferiblemente frio
2-) Take a backup of the controlfile of the
origin DB
3-) Copy all the datafiles from the origin
DB to the copy DB. If the backup taken is
hot
also copy the redo logs files and archives 4-) Modify the controlfile with the new path of
the datafiles y redo logs files,
remove the
REUSE clause, the RECOVER command,
add the RESETLOGS to the ALTER DATABASE OPEN command. The controlfile should be that way.
--- ------> El Archivo debe quedar de esta manera --- STARTUP NOMOUNT CREATE CONTROLFILE SET DATABASE "new clone name" NOARCHIVELOG MAXLOGFILES 255 MAXLOGMEMBERS 5 MAXDATAFILES 1022 MAXINSTANCES 5 MAXLOGHISTORY 100 LOGFILE GROUP 1 ('/u01/oradata/redo01a.log', '/u01/oradata/redo01b.log') SIZE 10M, GROUP 2 ('/u01/oradata/redo02a.log', '/u01/oradata/redo02b.log') SIZE 10M, GROUP 3 ('/u01/oradata/redo03a.log', '/u01/oradata/redo03b.log') SIZE 10M RESETLOGS DATAFILE '/u03/oradata/data01.dbf' SIZE 300M, '/u03/oradata/data02.dbf' SIZE 300M, '/u03/oradata/data03.dbf' SIZE 300M, '/u03/oradata/data04.dbf' SIZE 300M; --- --- Save this file with .sql extension 6-) Connect to the clone DB with sysdba
privileges
and execute the
script
7-) Mount and open the y abrir la BD con
Resetlogs
ALTER DATABASE MOUNT; ALTER DATABASE OPEN RESETLOGS; ---------------------------------------------------
Think doesn't omitted something translating from
spanish.
Luck,
Ramon
|
Title: How to move 200 GB db from prod to dev?
- How to move 200 GB db from prod to dev? Daiminger, Helmut
- RE: How to move 200 GB db from prod to dev? johanna . doran
- RE: How to move 200 GB db from prod to dev? Mercadante, Thomas F
- RE: How to move 200 GB db from prod to dev? David Wagoner
- RE: How to move 200 GB db from prod to dev? johanna . doran
- RE: How to move 200 GB db from prod to dev? Magaliff, Bill
- RE: How to move 200 GB db from prod to dev? Ramon E. Estevez
- RE: How to move 200 GB db from prod to dev? John . Hallas
- RE: How to move 200 GB db from prod to dev? Sherman, Edward
- RE: How to move 200 GB db from prod to dev? Richard Huntley