What's wrong with RTFM; Read The Friendly Manual? Why don't you put your energy into learning instead of whining about how you think you should be treated.
Originally posted by coolboy So today onwards RTFM means Read the Friendly Manual.
. . . et lux erat
(Of course irony might be wasted on some people . . .)
"The power of instruction is seldom of much efficacy except in those happy dispositions where it is almost superfluous" - Gibbon, quoted by R.P.Feynman
Later I came to know I had some problem with wednesday backup
In this case I want to restore it from sunday backup.
How is it possible with RMAN?
Cool
Coolboy: Your question is really valid. But better don't get into the trap of argument.
Check it out this.
1. First ensure that your backup is taken with a tag every day. example
Backup 1
Backup database format '/ora1/RMANBKUP/full_db_old_%d_%s_%p' tag = 'old';
Backup 2
Backup database format '/ora1/RMANBKUP/full_db_new_%d_%s_%p' tag = 'new';
2. While restoring mention the unique tag to identify the backup set which you are refering. example
RMAN> run
{
sql "alter session set nls_date_format=''MON DD YY HH24:MI:SS''";
sql "alter session set nls_language=american";
set until time 'JULY 19 01 17:58:45';
allocate channel recodb1 type disk;
restore controlfile;
restore database from tag = 'old';
alter database mount;
recover database;
release channel recodb1;
}
Will restore from the 'old' backup and the latest backup is 'new'.
Version tested: oracle 9i (9.2.0)
I think this will solve your doubt.
Note: RTFM is applicable to everybody. ....
Regards
Thomas
Thomas Saviour(royxavier@yahoo.com)
Technical Lead (Databases)
Thomson Reuters (Markets)
Originally posted by Thomasps
RMAN> run
{
sql "alter session set nls_date_format=''MON DD YY HH24:MI:SS''";
sql "alter session set nls_language=american";
set until time 'JULY 19 01 17:58:45';
allocate channel recodb1 type disk;
restore controlfile;
restore database from tag = 'old';
alter database mount;
recover database;
release channel recodb1;
}
Why do you allocate the channels if you use 9.2.0?
Oracle Certified Master
Oracle Certified Professional 6i,8i,9i,10g,11g
email: ocp_9i@yahoo.com
What is wrong is growing up on gaming forums then coming in here and stating over and over again that everyone here should 'Do this and Do that' to suit your sensibilities.
Respect is a 2-way street, you wont get any this way.
They are telling you to ask 'intelligent questions'.
Meaning before I post I try to read the pertinent manuals and put into my question what I think the answer might be or what I find conflicting about the info in the Furnished Manual.
Bookmarks