Hello.
I'm occasional oracle user and not have lot of recent experience.
Excuse if my question might be simple,
It's about backup point done by RMAN.
1. Let's assume:
that I have oracle (rac) database.
that I have it in noarchivemode.
2. I do.
$rman target /
RMAN> backup database
3. I see the backup (created files during rman backup) in backup directory.
Now. For test purpose I drop created simple table yet before backup was done.
4. I want to come back to the time before the table was droped.
5. So I do:
shutdown instance on both nodes and start them in mount state.
$rman target /
RMAN> restore database
6. After successfull operation
I do
$SQL> alter database open.
But it says to me that one media needs recovery (and it exits from opening).
7. So what I execute is
$SQL> recover;
8. Afer that it starts completely.
And when I check content I do not see the droped table but all others.
My question is:
Why it is like this?
I'm afraid I don't deeply understand what happens here.
Why the change after backup is mainaned although restore was done with backup from before the operation?
Does not the backup contains also control file and redolog but that only before the changes?
I'm a little bit confused.
Thanks for hints.
M.
I'm occasional oracle user and not have lot of recent experience.
Excuse if my question might be simple,
It's about backup point done by RMAN.
1. Let's assume:
that I have oracle (rac) database.
that I have it in noarchivemode.
2. I do.
$rman target /
RMAN> backup database
3. I see the backup (created files during rman backup) in backup directory.
Now. For test purpose I drop created simple table yet before backup was done.
4. I want to come back to the time before the table was droped.
5. So I do:
shutdown instance on both nodes and start them in mount state.
$rman target /
RMAN> restore database
6. After successfull operation
I do
$SQL> alter database open.
But it says to me that one media needs recovery (and it exits from opening).
7. So what I execute is
$SQL> recover;
8. Afer that it starts completely.
And when I check content I do not see the droped table but all others.
My question is:
Why it is like this?
I'm afraid I don't deeply understand what happens here.
Why the change after backup is mainaned although restore was done with backup from before the operation?
Does not the backup contains also control file and redolog but that only before the changes?
I'm a little bit confused.
Thanks for hints.
M.