Environment Information:
* Oracle version: 10g Enterprise Edition
* Operating system: Windows 2008 Server
Personal, in our production bank, Old DBA He left backup from RMAN.
The bank is in Archivelog mode ...
Run {
Allocate Channel T1 Type Disk Format 'D: \ Oracle \ Backup_Fisico \ BCK_FISICO_0_% U.
Incremental backup Level 0
(Database Include Current ControlFile tag 'bkp_cf');
Release Channel T1;
}
This is the command of the script that he mounted to back up.
Until then beauty .. it generates 2 files for me, being a full backup and the other of the controller.
This is not mistaken.
The question is the following .. I need to set up an urgent test bench, and I can not ...
I was giving a read, the staff speaks in set the DBID. Which DBID I have to set, from the production bank
in the test bench, or pick up the bank test in the v $ database and set on it?
Another thing is the name of different banks ... can anyone help me in a step by step?
I'll be very grateful!
Rui Barros
RMAN - Bank Test - Urgent
So ... what would this structure be? Give me what I would have to do? Would not it be easier?
to the raw test bench, I only set up the bench.
I even apologize, but I am kind of lay in the subject, but I am in order to learn.
Thank you for understanding.
to the raw test bench, I only set up the bench.
I even apologize, but I am kind of lay in the subject, but I am in order to learn.
Thank you for understanding.
-
- Rank: DBA Júnior
- Posts: 181
- Joined: Wed, 09 Feb 2005 12:30 pm
- Location: SÃO BERNARDO DO CAMPO - SP
Let's assume that machines are Windows.
The source bank has the Datafiles in the directory
in the test machine you have to have the same directory structure.
If you do not have this structure you need to do an equal, or if there is no way, let's assume, only another disk has space, then you need to have a directory structure there.
understood?
The source bank has the Datafiles in the directory
c:\dados\datafiles\
in the test machine you have to have the same directory structure.
If you do not have this structure you need to do an equal, or if there is no way, let's assume, only another disk has space, then you need to have a directory structure there.
understood?
-
- Rank: DBA Júnior
- Posts: 181
- Joined: Wed, 09 Feb 2005 12:30 pm
- Location: SÃO BERNARDO DO CAMPO - SP
Let's go.
If the test machine is Windows
you type CMD
falls at the prompt
Digital It is the name of your new bank, and what should have an initounnnnnn.ora in the directory
Is there that?
If the test machine is Windows
you type CMD
falls at the prompt
Digital
export ORACLE_SID=nnnnnnn
$ORACLE_HOME/dbs
I opened the prompt and I typed
gave error ...
has yes the init.ora only has in several directory ... I confuse .. .
has in ..
Anyway .. And now?
export ORACLE_SID=teste
has yes the init.ora only has in several directory ... I confuse .. .
has in ..
D:\oracle\product\10.2.0\admin\teste\pfile\ini.ora.912009175014
D:\oracle\product\10.2.0\db_1\srvm\admin\init.ora
-
- Rank: DBA Júnior
- Posts: 181
- Joined: Wed, 09 Feb 2005 12:30 pm
- Location: SÃO BERNARDO DO CAMPO - SP
Well, the name of your bank will be?
goes on the source server is looking there where the initnnnnnn.ora where xxxx is the name of the bank that is in the air.
take this initnnnnnn.ora, copy to the destination machine in the same principal of origin, rename the same for inityyyy.ora where yyyyy is the name of the bank that you will restore.
Open inityyyyy.ora, look for the name of the bank that is on the source machine and put the name of the bank that you will restore.
must be in parameters, instance_name and db_name.
is right, in Windows is
I passed eating to UNIX.
goes on the source server is looking there where the initnnnnnn.ora where xxxx is the name of the bank that is in the air.
take this initnnnnnn.ora, copy to the destination machine in the same principal of origin, rename the same for inityyyy.ora where yyyyy is the name of the bank that you will restore.
Open inityyyyy.ora, look for the name of the bank that is on the source machine and put the name of the bank that you will restore.
must be in parameters, instance_name and db_name.
is right, in Windows is
set ORACLE_SID=nnnnn
Paul,
I had to search for * .ora, brought the init.ora, but it does not have
initbdrod.ora ...
has an init.ora, With a lot of configuration, I believe it is ...
Inclusive has the directories of controlling and tals ...
Is this?
The name of the production bank is bdprod ...
the name of the test bank is test ...
The path of controllingfiles
Do I need to change this directory nomedobanco?
I had to search for * .ora, brought the init.ora, but it does not have
initbdrod.ora ...
has an init.ora, With a lot of configuration, I believe it is ...
Inclusive has the directories of controlling and tals ...
Is this?
The name of the production bank is bdprod ...
the name of the test bank is test ...
The path of controllingfiles
d:\oracle\...\NOMEDOBANCO\...
Complementing .. Within this init.ora ta so ..
...
###########################################
# File Configuration
###########################################
control_files=("d:\oracle\oradata\bdprod\control01.ctl", "d:\oracle\oradata\bdprod\control02.ctl", "d:\oracle\oradata\bdprod\control03.ctl")
db_recovery_file_dest=D:\oracle\product\10.2.0\flash_recovery_area
db_recovery_file_dest_size=157286400000
###########################################
# Database Identification
###########################################
db_domain=hgu.br
db_name=bdprod
-
- Rank: DBA Júnior
- Posts: 181
- Joined: Wed, 09 Feb 2005 12:30 pm
- Location: SÃO BERNARDO DO CAMPO - SP
YES. Change the name of the bank for the name of the destination bank, on the machine where you will do the restore, copy this init.ora into this directory and change the bank name to the bank name to restore.
-
- Information
-
Who is online
Users browsing this forum: No registered users and 2 guests