RMAN recovery window and redundancy
HelloI am using Oracle 11 g (11.2.0.1) in windows 2003 server. RMAN is it possible to put both the below configuration in force or any configuration cannot be used?
RMAN > CONFIGURE RETENTION POLICY to RECOVERY OF 7-DAY WINDOW;
RMAN > CONFIGURE REDUNDANCY 2 RETENTION POLICY;
Kind regards
007
I want the political configuration RMAN to apply
Lol you can only use the KeepOption to change a specific backup strategy:
http://download.Oracle.com/docs/CD/B28359_01/backup.111/b28273/rcmsubcl011.htm#i97063
Tags: Database
Similar Questions
-
RMAN: Backups not exipring after the window of redundancy.
Hello
I meet backup sbt_tape and the use of the slot block:
run{ ALLOCATE CHANNEL C1 TYPE SBT_TAPE PARMS='SBT_LIBRARY=/u01/app/oracle/product/11.2.0.3/db1/lib/libddobk.so, ENV=(STORAGE_UNIT=CH2-nwtdb-Oracle, BACKUP_HOST=172.28.136.50, ORACLE_HOME=/u01/app/oracle/product/11.2.0.3/db1)'; ALLOCATE CHANNEL C2 TYPE SBT_TAPE PARMS='SBT_LIBRARY=/u01/app/oracle/product/11.2.0.3/db1/lib/libddobk.so, ENV=(STORAGE_UNIT=CH2-nwtdb-Oracle, BACKUP_HOST=172.28.136.50, ORACLE_HOME=/u01/app/oracle/product/11.2.0.3/db1)'; ALLOCATE CHANNEL C3 TYPE SBT_TAPE PARMS='SBT_LIBRARY=/u01/app/oracle/product/11.2.0.3/db1/lib/libddobk.so, ENV=(STORAGE_UNIT=CH2-nwtdb-Oracle, BACKUP_HOST=172.28.136.50, ORACLE_HOME=/u01/app/oracle/product/11.2.0.3/db1)'; ALLOCATE CHANNEL C4 TYPE SBT_TAPE PARMS='SBT_LIBRARY=/u01/app/oracle/product/11.2.0.3/db1/lib/libddobk.so, ENV=(STORAGE_UNIT=CH2-nwtdb-Oracle, BACKUP_HOST=172.28.136.50, ORACLE_HOME=/u01/app/oracle/product/11.2.0.3/db1)'; backup incremental level 0 database filesperset=1 format '%d_L0_DF%f_%T_%u.dbf' tag 'DB_L0_DF_#_DT_UNQNO'; backup current controlfile format '%d_L0_CF_%T_%u.ctl' tag 'DB_L0_CF_DT_UNQNO'; backup incremental level 0 archivelog all filesperset=1 format '%d_L0_AL_%h_%e_%T_%u.arc' tag 'DB_L0_ARC#_DT_UNQNO'; crosscheck backup of database; crosscheck backup of archivelog all; delete noprompt expired backup of database; delete noprompt expired backup of archivelog all; }
My backups work perfectly, but for some reason, my backups expire even though my redudancy is set to 7 days.
In my dest backup, I have backups as old as March 13, which should have been expired since a long time back.
Any ideas what could be wrong?
RMAN> show all; using target database control file instead of recovery catalog RMAN configuration parameters for database with db_unique_name IWTPR are: CONFIGURE RETENTION POLICY TO RECOVERY WINDOW OF 7 DAYS; CONFIGURE BACKUP OPTIMIZATION ON; CONFIGURE DEFAULT DEVICE TYPE TO 'SBT_TAPE'; CONFIGURE CONTROLFILE AUTOBACKUP OFF; CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK TO '%F'; # default CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE SBT_TAPE TO '%F'; # default CONFIGURE DEVICE TYPE DISK PARALLELISM 4 BACKUP TYPE TO COMPRESSED BACKUPSET; CONFIGURE DEVICE TYPE 'SBT_TAPE' PARALLELISM 4 BACKUP TYPE TO BACKUPSET; CONFIGURE DATAFILE BACKUP COPIES FOR DEVICE TYPE DISK TO 1; CONFIGURE DATAFILE BACKUP COPIES FOR DEVICE TYPE 'SBT_TAPE' TO 1; CONFIGURE ARCHIVELOG BACKUP COPIES FOR DEVICE TYPE DISK TO 1; CONFIGURE ARCHIVELOG BACKUP COPIES FOR DEVICE TYPE 'SBT_TAPE' TO 1; CONFIGURE CHANNEL DEVICE TYPE 'SBT_TAPE' PARMS 'SBT_LIBRARY=/u01/app/oracle/product/11.2.0.3/db1/lib/libddobk.so, ENV=(STORAGE_UNIT=CH2-nwtdb-Oracle, BACKUP_HOST=172.28.136.50, ORACLE_HOME=/u01/app/oracle/product/11.2.0.3/db1)'; CONFIGURE MAXSETSIZE TO UNLIMITED; CONFIGURE ENCRYPTION FOR DATABASE OFF; CONFIGURE ENCRYPTION ALGORITHM 'AES128'; CONFIGURE COMPRESSION ALGORITHM 'BASIC' AS OF RELEASE 'DEFAULT' OPTIMIZE FOR LOAD TRUE; CONFIGURE ARCHIVELOG DELETION POLICY TO NONE; CONFIGURE SNAPSHOT CONTROLFILE NAME TO '+IWTPRFRA/IWTPR/snapcf_IWTPR.f'; CONFIGURE SNAPSHOT CONTROLFILE NAME TO '+IWTPRFRA/iwtpr/snapcf_iwtpr.f';
Thanks in advance,
aBBy.
Details of env: RAC 4 node cluster running 11.2.0.3.4 GI/RDBMS on RHEL 5. 6
AB007 wrote:
Hello
I meet backup sbt_tape and the use of the slot block:
- Run {}
- ALLOCATE CHANNELS C1 TYPE SBT_TAPE PARMS='SBT_LIBRARY=/u01/app/oracle/product/11.2.0.3/db1/lib/libddobk.so.
- ENV = (STORAGE_UNIT = CH2-nwtdb-Oracle, BACKUP_HOST = 172.28.136.50, ORACLE_HOME=/u01/app/oracle/product/11.2.0.3/db1)';
- ALLOCATE channel C2 TYPE SBT_TAPE PARMS='SBT_LIBRARY=/u01/app/oracle/product/11.2.0.3/db1/lib/libddobk.so,
- ENV = (STORAGE_UNIT = CH2-nwtdb-Oracle, BACKUP_HOST = 172.28.136.50, ORACLE_HOME=/u01/app/oracle/product/11.2.0.3/db1)';
- ALLOCATE CHANNELS C3 TYPE SBT_TAPE PARMS='SBT_LIBRARY=/u01/app/oracle/product/11.2.0.3/db1/lib/libddobk.so.
- ENV = (STORAGE_UNIT = CH2-nwtdb-Oracle, BACKUP_HOST = 172.28.136.50, ORACLE_HOME=/u01/app/oracle/product/11.2.0.3/db1)';
- ALLOCATE CHANNELS C4 TYPE SBT_TAPE PARMS='SBT_LIBRARY=/u01/app/oracle/product/11.2.0.3/db1/lib/libddobk.so.
- ENV = (STORAGE_UNIT = CH2-nwtdb-Oracle, BACKUP_HOST = 172.28.136.50, ORACLE_HOME=/u01/app/oracle/product/11.2.0.3/db1)';
- filesperset database backup incremental level 0 = 1 format '% d_L0_DF%f_%T_%u.dbf' tag "DB_L0_DF_ #_DT_UNQNO";
- backup current controlfile '% d_L0_CF_%T_%u.ctl' format tag "DB_L0_CF_DT_UNQNO".
- incremental backup of level 0 archivelog all filesperset = 1 format '% d_L0_AL_%h_%e_%T_%u.arc' tag "DB_L0_ARC #_DT_UNQNO";
- cross-checking of backup of database;
- backup duplication of the archivelog all;
- delete noprompt expired backup of database;
- delete expired backup noprompt to archivelog all;
- }
My backups work perfectly, but for some reason, my backups expire even though my redudancy is set to 7 days.
In my dest backup, I have backups as old as March 13, which should have been expired since a long time back.
Any ideas what could be wrong?
- RMAN > show all.
- using the control file of the target instead of recovery catalog database
- RMAN settings for database with db_unique_name IWTPR are:
- CONFIGURE RETENTION POLICY TO RECOVERY OF 7-DAY WINDOW;
- CONFIGURE BACKUP OPTIMIZATION
- CONFIGURE THE TYPE OF DEFAULT DEVICE TO 'SBT_TAPE ';
- CONFIGURE CONTROLFILE AUTOBACKUP
- CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK TO "%F" # by default
- CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE SBT_TAPE TO "%F" # by default
- SET UP THE DEVICE TYPE DISK PARALLELISM 4 TYPE OF BACKUP TO COMPRESSED BACKUPSET;
- SET UP THE DEVICE TYPE 'SBT_TAPE' PARALLELISM 4 TYPE OF BACKUP BACKUPSET.
- CONFIGURE BACKUP OF DATA TO DISK FILE TYPE DEVICE TO 1;
- CONFIGURE BACKUP COPIES OF DATA FILE FOR THE 'SBT_TAPE' UNIT 1;
- CONFIGURE BACKUP ARCHIVELOG FOR DEVICE TYPE DISK TO 1;
- CONFIGURE BACKUP ARCHIVELOG FOR DEVICE TYPE 'SBT_TAPE' 1;
- CONFIGURE CHANNEL DEVICE TYPE 'SBT_TAPE' PARMS 'SBT_LIBRARY=/u01/app/oracle/product/11.2.0.3/db1/lib/libddobk.so, ENV is (STORAGE_UNIT = CH2-nwtdb-Oracle, BACKUP_HOST = 172.28.136.50, ORACLE_HOME=/u01/app/oracle/product/11.2.0.3/db1)';
- CONFIGURE MAXSETSIZE TO UNLIMITED;
- CONFIGURE THE DATABASE ENCRYPTION
- CONFIGURE THE ENCRYPTION ALGORITHM "AES128";
- CONFIGURE COMPRESSION ALGORITHM 'BASIC' AND 'DEFAULT' LIBERATION OPTIMIZE FOR TRUE LOAD;
- CONFIGURE THE NONE ARCHIVELOG DELETION POLICY;
- CONFIGURE the SNAPSHOT CONTROLFILE NAME to "+ IWTPRFRA/IWTPR/snapcf_IWTPR.f";
- CONFIGURE the SNAPSHOT CONTROLFILE NAME to "+ IWTPRFRA/iwtpr/snapcf_iwtpr.f";
Thanks in advance,
aBBy.
Details of env: RAC 4 node cluster running 11.2.0.3.4 GI/RDBMS on RHEL 5. 6
You are confusing "expired" with "obsolete".
When a backupset is created, an account of which is placed in the control file.
If you backup ' overlap ', rman checks these records against reaility. If no backup turns out have disappeared, his file is marked as "expired". That follow-up with a 'delete expired backup', and missing backups (expired) records will be deleted from the repository.
What you want is "delete obsolete. Which will remove any backup that is no longer necessary to enforce the retention period.
BTW, "redundancy" and "x days" are mutually exclusive.
-
RMAN-20207: until the RECOVERY WINDOW, which was before the RESETLOGS
Dear friends,
I'm picking up some time and I have used this SQL in my RMAN
reset the database incarnation 1;
run
{
until ' to_date (3 Aug 10 17:50 ',' MON-DD-YYYY HH24:MI:SS') ";
restore the database;
recover the database;
}
and I get this error: RMAN-20207: until the RECOVERY WINDOW, which was before the RESETLOGS
I thought changing the incarnation will solve the problem. I have only 2 incarnations, which is used after that the resetlogs which is number 2. So I now use 1 incarnation.
How should I go about this?
Thanks in advance.
Nithuser645399 wrote:
Moved to Ribbon!Ok...
Now, what you have to do: If you want to point at the time of recovery, you must have a valid backup plus archivelogs in order to recover up to the desired time.
From now on, full backup is available for the time that you asked, however archivelogs not :(
You must make available, controlfile catalogue and begin to restore, recover up to the hour. Then open with resetlogs option.
-
Configuration of RMAN and REDUNDANCY
Hello
in 10g R2,.
with the configuration of RMAN follwing:
How many backup files (before when, date on which) RMAN will remove physically from the disk?CONFIGURE RETENTION POLICY TO REDUNDANCY 8; CONFIGURE BACKUP OPTIMIZATION OFF; # default CONFIGURE DEFAULT DEVICE TYPE TO DISK; # default CONFIGURE CONTROLFILE AUTOBACKUP OFF; # default CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK TO '%F'; # default CONFIGURE DEVICE TYPE DISK PARALLELISM 1 BACKUP TYPE TO BACKUPSET; # default CONFIGURE DATAFILE BACKUP COPIES FOR DEVICE TYPE DISK TO 1; # default CONFIGURE ARCHIVELOG BACKUP COPIES FOR DEVICE TYPE DISK TO 1; # default CONFIGURE MAXSETSIZE TO UNLIMITED; # default CONFIGURE ENCRYPTION FOR DATABASE OFF; # default CONFIGURE ENCRYPTION ALGORITHM 'AES128'; # default CONFIGURE ARCHIVELOG DELETION POLICY TO NONE; # default
Thank you.'CONFIGURE RETENTION POLICY to REDUNDANCY 8;' means, RMAN will keep 8 independent backups of any window of time. Use 'CONFIGURE RETENTION POLICY to RECOVERY WINDOW of N days;', if you want to have a time-based retention policy.
Werner
-
Double post merged and deleted. Post moved from XP to Vista forum forum>
Laptop HP discharged linux os, linux is the only operating system on laptop... Loading Vista missing bootmgr, the recovery option window has not repaired the file. I have no operating system in SYSTEM RECOVERY WINDOW. I chose load drivers and I am looking at the OPEN window and the SOURCE and do not know what to do next or what file to select sources. I would appreciate your help. Thank you
Hello
Here's how to reinstall Vista as you no longer have a recovery partition.
This can help you (download files and make your own DVDs):
http://www.heidoc.NET/Joomla/technology-science/Microsoft/57-Windows-Vista-direct-download-links
And here are instructions on how to burn ISO disk images:
http://www.SnapFiles.com/get/isorecorder.html
The download links and information on how to make the ISO file, and then create the Setup DVD above are at this link:
"How to download a Vista ISO and create a Setup DVD or USB"
http://www.Vistax64.com/tutorials/301852-Vista-ISO-download-create-installation-DVD-USB.html
"How to create a USB of Vista Installation key '
http://www.Vistax64.com/tutorials/181538-USB-bootable-Vista-installation-Flash-thumb-drive.html
___________________________________
You can contact your computer manufacturer and ask them to send you a set of recovery disks.
They should do it for a small fee
HP:
http://h10025.www1.HP.com/ewfrf/wc/document?cc=us&LC=en&docName=bph07143#N76
___________________________________
Some manufacturers have more available Vista recovery disks.
If this happens, you may need to try this instead:
You can also borrow and use a Microsoft Vista DVD, which contains the files for the different editions of Vista (Home Basic, Home Premium, Business and Ultimate) must be installed. The product key on your computer / Laptop box determines what Edition is installed.
Other manufacturers recovery DVDs are should not be used for this purpose.
And you need to know the version of 'bit' for Vista, as 32-bit and 64-bit editions come on different DVDs
Here's how to do a clean install of Vista using a DVD of Vista from Microsoft:
"How to do a clean install and configure with a full Version of Vista '
http://www.Vistax64.com/tutorials/117366-clean-install-full-version-Vista.html
And once the operating system is installed, go to your computer manufacturer's website and get the latest drivers for your particular model or laptop computer.
And phone Activation may be necessary when you use the above installation method.
"How to activate Vista normally and by Activation of the phone '
http://www.Vistax64.com/tutorials/84488-activate-Vista-phone.html
See you soon.
-
Windows recovery disc 32-bit error code meaning version question
Hello
I hope someone can help me. I am unable to boot into windows vista 32-bit, so I downloaded the vista recovery disk and get an oxo error code what it means (thanks in advance)?You don't give any info on what was the original problem with the computer.
You have set the Bios Setup to boot from the CD/DVD drive?
At startup, it will say press F2 or delete key to go into Bios/Setup, or maybe F12 to go to the Start Menu.
And have you tried also to tap F8 at startup and choose Safe Mode from the list of Boot Options?
Use up arrow key to do this, press on enter.
Browse your Hard Drive manufacturer's website, download software from here and test your hard drive for errors.
See you soon.
Mick Murphy - Microsoft partner
-
computer laptop dv4 1430 cannot start window and recovery ERROR 1002
Sorry my English not just
I have a problem to start my laptop.
OK, when I turn on the power it lunch START REPAIR > system recovery options > Next > Startup Repair is checking your system for ploblem >... long... when I select restart or shut down , but STILL go to > LUNCH new STARTUP REPAIR
or when I choose the Recovery Manager >> System Recovery > factory image recovery > ERROR 1002 Please contact HP support...
Now, I need to open the window and how to do it.
Please take care of my issue and I hope you understand my question.
Thank you very much
Jak
Hello
This process will allow you to do a Vista repair disc. This isn't an installation disc, but will allow you to use the Vista Recovery Console that is available on commercial versions of Vista.
Download the file from the link below.
It is a zipped file. If you do not have an extraction utility installed, download and install 7-Zip, when installed, right-click on the zipped folder, select extract files and then click Ok. You should now see another folder containing the ISO file.
You will need software to burn the ISO to a CD. If you don't have that guy on the software installed, download and install ImgBurn and use it to burn the ISO to a CD.
Once you have created the Vista repair disk, follow the guide on the link below to see if it undertakes to repair your installation - you may need to run this several times.
http://www.bleepingcomputer.com/tutorials/tutorial148.html#
Kind regards
DP - K
-
I don't have a windows recovery disk and my computer is affected by virus now, I am also not able to downloat antivirus because some files are missing please notify
Please see: How to replace the lack of software Microsoft Carey Frisch
-
startup and recovery Windows 7
Whenever I turn on my computer, I get two options.
1:-your windows 7 could not start properly. Use windows startup and recovery to resolve this problem
2:-start windows normallyIf I leave the computer so that it starts on its own then it goes to the first option and he goes through the steps until I come to computer and previous restore point.
If I leavel and follow all options, it will take a while but then it says that it can't be fixed and to send information to microsoft, what I'm doing. Then, the computer crashes with a pretty light blue screen which, after ten minutes, I turn the computer all over again.
If I choose option 2, then the computer starts normally.
Option 1 allows you to take about 10 minutes to complete, but the last time I did that it took more than 1 hour to complete.
How can I prevent this from happening. I did a complete reinstall of windows 7, but I still get this problem after a while?Hello
Since you reinstalled Windows and the problem comes back there material associated. So, I would
seek the help of a real computer store (no leeks and glances at a BestBuy or other BigBox stores)
or the manufacturer of your system Support.I hope this helps.
Rob - bicycle - Mark Twain said it is good. -
never had a disc of windows vista with the new laptop and no option to make a recovery disk, and I need to format my laptop to factory / clean, help!
How to get Vista recovery Media and/or to use the Vista recovery Partition on your computer.
There is no Vista free download legal available.
Contact your computer manufacturer and ask them to send a recovery disk/s Vista set.
Normally, they do this for a cost of $ small.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In addition, ask them if you have a recovery Partition on your computer/laptop to restore it to factory settings.
See if a manual provided with the computer or go to the manufacturer's website, email or you can call for information on how to make a recovery.
Normally, you have to press F10 or F11 at startup to start the recovery process...
Another way I've seen on some models is press F8 and go to a list of startup options, and launch a recovery of standards of plant with it, by selecting the repair option.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Ask them if you can also make recovery disk/s for the recovery Partition in case of a system Crash or hard drive failure.
They will tell you how to do this.
Every computer manufacturer has their way of doing recovery disk/s.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Or borrow a good Microsoft Vista DVD (not Dell, HP, etc).
A good Vista DVD contains all versions of Vista.
The product key determines which version of Vista is installed.There are 2 disks of Vista: one for 32-bit operating system, and one for 64-bit operating system.
If install a cleaning is required with a good DVD of Vista (not HP, Dell recovery disks):
Go to your Bios/Setup, or the Boot Menu at startup and change the Boot order to make the DVD/CD drive 1st in the boot order, then reboot with the disk in the drive.
At the startup/power on you should see at the bottom of the screen either F2 or DELETE, go to Setup/Bios or F12 for the Boot Menu
http://support.Microsoft.com/default.aspx/KB/918884
MS advice on the conduct of clean install.
http://www.theeldergeekvista.com/vista_clean_installation.htm
A tutorial on the use of a clean install
http://www.winsupersite.com/showcase/winvista_install_03.asp
Super Guide Windows Vista Installation
After installation > go to the website of the manufacturer of your computer/notebook > drivers and downloads Section > key in your model number > get latest Vista drivers for it > download/install them.
Save all data, because it will be lost during a clean installation.
See you soon.
Mick Murphy - Microsoft partner
-
Hello
I bought HP Pavilion G6 2005 ax. I want to install windows 8 on it.
The device comes with windows 7 Home Basic preinstalled.
He has only two partitions. One for e OS and one for recovery.
And it's annoying to use as such.
I tried to take recovery disks, but failed. And sentenced to HP recovery disks and they passed on to the
recovery disks, which is part of the way.
Installation of windows 8 is safe? can I return to Lacrosse, OS, recovery thorugh disks?
Thanks in advance.
Hello:
Yes, Windows 8 will work on your laptop, and Yes, the recovery disks will restore your PC to its factory condition.
Paul
-
RMAN will remove backups within the recovery window
Salvation;
I didn't have idea on recovery_window
recovery_window = > number of days in which the backups must be kept for purposes of recovery
Backups within the recovery window can be removed or
RMAN will remove backups within the recovery window?
If you issue a DELETE, rman cannot stop or prevent you. It will allow you to delete the backups, even the last backup taken 1 minute ago, even when there is no other backup.
The retention window only to rman control * auto * deletion of backups - backups obsolete because they are beyond the retention window.
Hemant K Collette
-
Restore and backup RMAN recovery in a new server
Version: 11.2
Platform: Solaris
I did several restorations of RMAN backups to new hosts. Whenever I do a full recovery of a cold backup, when I run the
I used to getRECOVER DATABASE
I considered this as being 'Normal' and always used to causearchive log filename=/u04/mvf/data/dbase/arch/arch.log1_235_678649266.dbf thread=1 sequence=235 unable to find archive log archive log thread=1 sequence=236 RMAN-00571: =========================================================== RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS =============== RMAN-00571: =========================================================== RMAN-03002: failure of recover command at 12/04/2011 14:33:18 RMAN-06054: media recovery requesting unknown log: thread 1 seq 236 lowscn 11290198
But I read the below mentioned informative post yesterday.alter database open resetlogs
Question on create Redo log after restoring files and recover
According to the guidelines of this post, I shouldn't use
for a full recovery.alter database open resetlogs
So, what should I do
a.
Should I use
ORALTER DATABASE OPEN ; -- I think I got some error with this command when i issued it after RMAN-06054 error . Can't recall what error
b.
Should I userecover database until sequence 236;
Here is how I could use a combination of RMAN (for RESTORATION) and SQL (for the OPEN RESETLOGS):
$ rman target / Recovery Manager: Release 10.2.0.2.0 - Production on Wed Nov 16 05:40:51 2011 Copyright (c) 1982, 2005, Oracle. All rights reserved. connected to target database (not started) RMAN> startup nomount Oracle instance started Total System Global Area 419430400 bytes Fixed Size 1261164 bytes Variable Size 113246612 bytes Database Buffers 297795584 bytes Redo Buffers 7127040 bytes RMAN> restore controlfile from autobackup; Starting restore at 16-NOV-11 using target database control file instead of recovery catalog allocated channel: ORA_DISK_1 channel ORA_DISK_1: sid=156 devtype=DISK recovery area destination: /usr/oracle/flash_recovery_area database name (or database unique name) used for search: MYNDB channel ORA_DISK_1: autobackup found in the recovery area channel ORA_DISK_1: autobackup found: /usr/oracle/flash_recovery_area/MYNDB/autobackup/2011_11_16/o1_mf_n_767337675_7d6l55ck_.bkp channel ORA_DISK_1: control file restore from autobackup complete output filename=/usr/oracle/oradata/MYNDB/control01.ctl output filename=/usr/oracle/oradata/MYNDB/control02.ctl Finished restore at 16-NOV-11 RMAN> sql 'alter database mount'; sql statement: alter database mount released channel: ORA_DISK_1 RMAN> RMAN> restore database; Starting restore at 16-NOV-11 Starting implicit crosscheck backup at 16-NOV-11 allocated channel: ORA_DISK_1 channel ORA_DISK_1: sid=156 devtype=DISK allocated channel: ORA_DISK_2 channel ORA_DISK_2: sid=155 devtype=DISK Crosschecked 16 objects Crosschecked 3 objects Finished implicit crosscheck backup at 16-NOV-11 Starting implicit crosscheck copy at 16-NOV-11 using channel ORA_DISK_1 using channel ORA_DISK_2 Finished implicit crosscheck copy at 16-NOV-11 searching for all files in the recovery area cataloging files... cataloging done List of Cataloged Files ======================= File Name: /usr/oracle/flash_recovery_area/MYNDB/autobackup/2011_11_16/o1_mf_n_767337675_7d6l55ck_.bkp using channel ORA_DISK_1 using channel ORA_DISK_2 channel ORA_DISK_2: starting datafile backupset restore channel ORA_DISK_2: specifying datafile(s) to restore from backup set restoring datafile 00003 to /usr/oracle/oradata/MYNDB/sysaux01.dbf restoring datafile 00004 to /usr/oracle/oradata/MYNDB/users01.dbf restoring datafile 00005 to /usr/oracle/oradata/MYNDB/datafile/o1_mf_example_7c4qzn5k_.dbf restoring datafile 00006 to /usr/oracle/oradata/MYNDB/undotbs.dbf channel ORA_DISK_2: reading from backup piece /usr/oracle/flash_recovery_area/MYNDB/backupset/2011_11_16/o1_mf_nnndf_TAG20111116T052209_7d6l4227_.bkp channel ORA_DISK_1: starting datafile backupset restore channel ORA_DISK_1: specifying datafile(s) to restore from backup set restoring datafile 00001 to /usr/oracle/oradata/MYNDB/system01.dbf restoring datafile 00002 to /usr/oracle/oradata/MYNDB/datafile/o1_mf_hemant_7c4qzn0o_.dbf restoring datafile 00007 to /usr/oracle/oradata/MYNDB/datafile/o1_mf_assm_tbs_7c4qzn0q_.dbf restoring datafile 00008 to /usr/oracle/oradata/MYNDB/datafile/o1_mf_mssm_tbs_7c4qzn0x_.dbf channel ORA_DISK_1: reading from backup piece /usr/oracle/flash_recovery_area/MYNDB/backupset/2011_11_16/o1_mf_nnndf_TAG20111116T052209_7d6l4216_.bkp channel ORA_DISK_1: restored backup piece 1 piece handle=/usr/oracle/flash_recovery_area/MYNDB/backupset/2011_11_16/o1_mf_nnndf_TAG20111116T052209_7d6l4216_.bkp tag=TAG20111116T052209 channel ORA_DISK_1: restore complete, elapsed time: 00:00:35 channel ORA_DISK_2: restored backup piece 1 piece handle=/usr/oracle/flash_recovery_area/MYNDB/backupset/2011_11_16/o1_mf_nnndf_TAG20111116T052209_7d6l4227_.bkp tag=TAG20111116T052209 channel ORA_DISK_2: restore complete, elapsed time: 00:00:35 Finished restore at 16-NOV-11 RMAN> RMAN> exit Recovery Manager complete. $ sqlplus '/ as sysdba' SQL*Plus: Release 10.2.0.2.0 - Production on Wed Nov 16 05:42:52 2011 Copyright (c) 1982, 2005, Oracle. All Rights Reserved. Connected to: Oracle Database 10g Enterprise Edition Release 10.2.0.2.0 - Production With the Partitioning, OLAP and Data Mining options SQL> alter database open; alter database open * ERROR at line 1: ORA-01589: must use RESETLOGS or NORESETLOGS option for database open SQL> alter database open resetlogs; Database altered. SQL>
Note This error message 1589 is:
$ oerr ora 1589 01589, 00000, "must use RESETLOGS or NORESETLOGS option for database open" // *Cause: Either incomplete or backup control file recovery has been // performed. After these types of recovery you must specify either // the RESETLOGS option or the NORESETLOGS option to open your // database. // *Action: Specify the appropriate option. $
Hemant K Collette
-
Cannot start windows and recover from one key recovery button.
Thanks for your suggestion.
I followed these steps and my windows starts successfully.
-
Recovery window retention policy removes the archive logs before backup?
Hi all
Oracle 11G on Windows 2008 R2
This afternoon, I've changed my retention policy RMAN "RETENTION POLICY 3 REDUNDANCY"on RECOVERY WINDOW OF 3 DAYS RETENTION POLICY
However, I checked tonight and after that my daily backup, all the archive before backup logs had been removed! So that means I don't think I can restore to any point in time, before my daily backup. All newspapers .arc were there after the backup. Then I tried another test and began the daily backup again. During the backup process, archive logs were deleted again! Now, I don't have any archives of newspapers...
Is this good behavior OF RETENTION POLICY RECOVERY WINDOW? I thought that she would keep all the files needed for to restore me to any point in time for the previous 3 days. When I used a REDUNDANCY, with my daily backups, he kept 3 days of backups + archiving logs so that I could restore point-in-time at any point. How can I use WINDOW RECOVERY so that I can actually restore to any point in time for the 3 days?
I wanted to change WINDOW of recovery, since I read that using the REDUNDANCY, it keeps only X copy a backup (so if I ran the backup 3 times a day, I would have only these 3).
Thanks in advance.
After a database RESTORE, Oracle tries to RECOVER a DATABASE. He tries to 'find' the archivelogs for this phase in the location expected archivelog. If they are NOT present in the location expected archivelog, it attempts to restore backups before applying them.
Since your BACKUP... DELETE ENTRY deletes the archivelogs after that that they are saved, Oracle will have to use backups to recover the archivelogs.
Hemant K Collette
Maybe you are looking for
-
I have 3.6 numbers running on a Mac Powerbook. Is there a way to obtain cells accepted numbers pasted value that contains thousands separator (comma, for example, cut and paste from a financial statement online). It's silly and also frustrating to
-
How can I get rid of the screen of "Found New Hardware Wizzard: device modem on high definition audio bus" that kept appearing on my screen each time after I log on my computer? Thank you.
-
A physical CD need to install Photosmart printer and Wi - Fi
Continual loss of my printer driver and the inability of the HP support to load pages in the last three days to create this issue. How works on command of the physical CD for a Photosmart C4599 printer. Send me to the Web site is not an option for a
-
Diagnostic report (1.9.0027.0):-----------------------------------------Validation of Windows data--> Validation code: 0Code of Validation caching online: 0x0Windows product key: *-* - M3DJT - 4J3WC-733WDThe Windows Product Key hash: xo + ajVSpae7/4V
-
Hello I'm trying to upgrade CUCM 9.1.2.10000 - 28 cluster cluster 9.1.2.11900 - 12. I managed with 2 servers (Editor & subscribers). Let me tell you the total number of nodes in my cluster. It is a 4-node cluster, where I intend to use as a TFTP serv