restore whole backup with RMAN. help me!!!!!! [message #159276] |
Fri, 17 February 2006 02:19 |
quytc
Messages: 81 Registered: November 2005 Location: Viet Nam
|
Member |
|
|
Hi All,
My database name is A.
I make a whole backup by command:
run{
allocate channel d1 type disk;
setlimit channel d1 kbytes 2097150 maxopenfiles 32 readrate 200;
set maxcorrupt for datafile 1,2,3 to 0;
backup
full
skip inaccessible
tag b_db_full
filesperset 6
format 'D:/backup/df_t%t_s%s_p%p'
database;
release channel d1;
}
Then I delete Database A and recreate database the same A,then i run command
D:\oradim -NEW -sid A -startmode auto pfile 'd:\oradata\pfile\initC27.ora'
I using Rman so that restore and recover database.
D:\rman target sys/change_on_install nocatalog
run {
startup mount pfile='d:\hoan\pfile\initC27.ora';
allocate channel d1 type disk;
restore database;
recover database;
release channel d1;
}
But i getting error at this command.
Can anybody tell me why????
thanks,
|
|
|
|
|