theresatan
Programmer
Hi,
I am testing backup and restore with following step:
1. rman nocatalog
2. run {
allocate channel disk1
type disk
format 'c:\backup\%U';
backup database
tag open_db_full_1;
}
3.in SQLPlus
a.shutdown
b.startup mount
4. in rman
run {
allocate channel disk1 type disk;
restore database;
recover database;
alter database open;
}
I got following error:
.....
released channel: disk1
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of recover command at 04/25/2006 11:15:50
ORA-00283: recovery session canceled due to errors
RMAN-11003: failure during parse/execution of SQL statement: alter database reco
ver if needed
start
ORA-00283: recovery session canceled due to errors
ORA-01124: cannot recover data file 1 - file is in use or recovery
ORA-01110: data file 1: 'C:\ORACLE\ORADATA\ORCL\SYSTEM01.DBF'
Any idea?
Thanks!
Theresa
I am testing backup and restore with following step:
1. rman nocatalog
2. run {
allocate channel disk1
type disk
format 'c:\backup\%U';
backup database
tag open_db_full_1;
}
3.in SQLPlus
a.shutdown
b.startup mount
4. in rman
run {
allocate channel disk1 type disk;
restore database;
recover database;
alter database open;
}
I got following error:
.....
released channel: disk1
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of recover command at 04/25/2006 11:15:50
ORA-00283: recovery session canceled due to errors
RMAN-11003: failure during parse/execution of SQL statement: alter database reco
ver if needed
start
ORA-00283: recovery session canceled due to errors
ORA-01124: cannot recover data file 1 - file is in use or recovery
ORA-01110: data file 1: 'C:\ORACLE\ORADATA\ORCL\SYSTEM01.DBF'
Any idea?
Thanks!
Theresa