rman problem-------- help [message #265448] |
Thu, 06 September 2007 06:02 |
aboodlardy
Messages: 80 Registered: November 2006 Location: India
|
Member |
|
|
hello friends
I have backup my database using rman, and retention policy to redundancy was set to 1. i have backup my database using rman.
rman> backup database;
database was backed up.
now again I took backup of datafile 1
rman> backup datafile 1 tag 'test';
backup was completed;
then
rman> delete backup tag 'test';
deleted.
now when I trying to restore my whole database.
rman> restore database;
it is asking me that backup taken with tag 'test' is missing.
and it is not taking datafile from full database backup.
and it is unable to restore my database.
Please help
|
|
|
|
|
|
|
|
|
Re: rman problem-------- help [message #265553 is a reply to message #265479] |
Thu, 06 September 2007 11:30 |
DreamzZ
Messages: 1666 Registered: May 2007 Location: Dreamzland
|
Senior Member |
|
|
Quote: | Used to control how long RMAN will keep backups. This can be configured by the "number" of backups taken, or by the numbers of "days" to keep. Here is an example of both:
CONFIGURE RETENTION POLICY TO REDUNDANCY 2;
CONFIGURE RETENTION POLICY TO RECOVERY WINDOW OF 3 DAYS;
Note that when configuring a retention policy, RMAN will not cause backups to be automatically deleted. The retention policy will, however, mark backups as OBSOLETE that have fallen outside the retention period. RMAN commands like "REPORT OBSOLETE" and "DELETE OBSOLETE" will work with these obsolete backups.
If back up your database infrequently, you probably will prefer a redundancy policy that is stated in terms of number of backups rather than backups later than n days old. In this case, you would use the redundancy parameter as follows:
RMAN> CONFIGURE RETENTION POLICY TO REDUNDANCY 3;
Finally, if you do not want to use a retention policy, simply use:
RMAN> CONFIGURE RETENTION POLICY TO NONE;
|
|
|
|
|
|
|
Re: rman problem-------- help [message #265986 is a reply to message #265962] |
Sat, 08 September 2007 08:55 |
|
ebrian
Messages: 2794 Registered: April 2006
|
Senior Member |
|
|
oracleo wrote on Thu, 06 September 2007 18:19 | while you have taken the backup of datafile 1 i.e sytem datafile you might have configured 'controlfile auto backup ON',in this case while taking the backup of datafile 1 your controlfile is also present in the same backp set you have lost the current controlfile backup.
|
I was addressing oracleo's comment above.
|
|
|