Point in time recovery failed
Hi Experts;
I am the scene at the time of recovery.
I dropped a single schema, then I tried to get it back. But could not recover.
SYS > grant connect, resource to u1 identified by u1;
Grant succeeded.
SYS > conn u1/u1
Connected.
U1 > @sample.sql;
Table created.
PL/SQL procedure successfully completed.
U1 > set time;
08:02:54 U1 > update tab1 set name = 'oracle ';
100000 lines to date.
08:03:38 U1 > update tab1 set name = "ORCL".
100000 lines to date.
08:07:09 U1 > conn / as sysdba
Connected.
08:08:43 SYS > drop user u1 waterfall;
Deleted user.
08:09:10 SYS > change the database close;
Database altered.
> > started the recovery
SYS > select status from v$ instance;
STATUS
------------
MOUNTED
SYS > recover database until time ' 2014 auto - 10 - 15:08:07:09'; --> point in time for recovery
Complete media recovery.
SYS > conn / as sysdba
Connected.
SYS > strength of start-up;
ORACLE instance started.
Total System Global Area 746586112 bytes
Bytes of size 1275920 fixed
197134320 variable size bytes
545259520 of database buffers bytes
Redo buffers 2916352 bytes
Mounted database.
ORA-01589: must use RESETLOGS or NORESETLOGS option of database open
SYS > alter database open resetlogs;
Database altered.
SYS > conn U1/U1
ERROR:
ORA-01017: name of user and password invalid. connection refused
Thank you.
To recover to a point in time spent you have to RESTORE the database from a backup that is older than the recovery point at the time.
Unless you have set a Restore Point of Flashback earlier and newspapers flashback and archivelogs.
Hemant K Collette
Tags: Database
Similar Questions
-
Failed to retrieve the tablespace point in time recovery
Hello
I'm trying to recover the tablespace in times of recovery point, but his throw an error
RMAN-00571: ===========================================================
RMAN-00569: = ERROR MESSAGE STACK FOLLOWS =.
RMAN-00571: ===========================================================
RMAN-03002: failure of the command recover at 27/04/2011 17:22:13
RMAN-03015: an error has occurred in the script stored memory Script
RMAN-06026: some targets not found - abandonment of restoration
RMAN-06024: no backup or copy of the file of control found to restore
Question: Should I take the prior backup before making the tablespace point in time recovery.
Please help me.ORA-00054: resource busy and acquire with NOWAIT specified or timeout expired
The resource is busy, you will have to repeat the process.
Anand
-
Incremental backups and Database Point-in-time recovery.
Hello.
I want to know how rman managed backups after resetlogs. For example, I did the first level 0 out of 10 and the second level 0 on 20. Each day, I make for the two L0 L1. I made a Point-in-time recovery to 15th on 23. RMAN will consider second L0 and L1, all of which were made after 15 as obsolete?just a DBA wrote:
Hello.
I want to know how rman managed backups after resetlogs. For example, I did the first level 0 out of 10 and the second level 0 on 20. Each day, I make for the two L0 L1. I made a Point-in-time recovery to 15th on 23. RMAN will consider second L0 and L1, all of which were made after 15 as obsolete?RMAN performs backups according to current incarnation. You can't do based on abandoned L0 L1. Even if you use the same tag, rman will create new L0. But rman can use all the backups for restoration/recovery. Abandoned backups are also subject to the same policy to tighten.
-
Point in time recovery scenario.
Hi all
I worked on the time of recovery as point below and restored successfully as below,
First, I checked the data,
SQL > SELECT * FROM test2;
NAME
--------------------
Haja
Knani
Pradeep
Barry
SQL > SELECT * FROM test3.
ADDRESS
--------------------------------------------------
MIT Inoftech, Chennai
SQL > select to_char (sysdate, "mm/dd/yy hh24:mi:ss'") twice;
The clock DB
-----------------
25/03/15 12:35:34 - based on this basis of time I restore and recovery, my question is also in service at that date and time only.
SQL > UPDATE test2 SET name = 'Raja' WHERE name = 'Haja;
1 line update.
SQL > SELECT * FROM test2;
NAME
--------------------
Raja (previously this line contains the values as Haja.)
Knani
Pradeep
Barry
SQL > SELECT * FROM test3.
ADDRESS
--------------------------------------------------
MIT Inoftech, Chennai
SQL > DROP TABLE test3.
Deleted table.
SQL > SELECT * FROM test3.
SELECT * FROM test3
*
ERROR on line 1:
ORA-00942: table or view does not exist
then I got db in editing step then did restore and recover successfully.
RMAN > RUN {
UNTIL ' TO_DATE (20 MAY 14 12:35:34 ',).
"MM/DD/YY HH24:MI:SS") ';
RESTORE THE DATABASE;
RECOVER THE DATABASE;
}
I will come to my question, before I took the date and time of double as below,
Scenario-1
SQL > select to_char (sysdate, "mm/dd/yy hh24:mi:ss'") twice;
The clock DB
-----------------------
25/03/15 12:35:34,
If I use above the date and time can restore and recover the works.
Scenario - 2
I did all dml and ddl change as I mentioned above but did not date and hour only instead manually I change date and time as below,
25/03/15 12:55:34 (I tried this after 20 minutes and time mentioned is given by myself, did not double)
"but my restoration and recovery completed successfully, but dropped table is 3 not restored and update the data in row as"Raja"want it as ' Haja" than the way it has been done before update, but has not changed.
What is the problem here, why my restoration not complete successfully using manually mentioned date and time when it is successfully done using double query time-out.
Suppose that I forgot to take it twice then Am I can't restore and recovery?
Is there any solution or own way is here to fulfill my need. then, kindly share with me.
How can I optimize point in time when I don't have second time zone. Suppose I need to take backup in before 5 days and at any time (for example)
2684285 wrote:
Hello
I will explain clearly, sorry for the inconvenience,
I hope that got 1 scenario do you understand,
In scenario - 2 there is not more complexity, just that I had restore and recover successfully when I gave ALL to the base double taken as 25/03/15 12:35:34 in scenario 1, but in the scenario-2 I tried to restore and recover with the VALUE UNTIL here I gave the date and time as 25/03/15 12:55:34 by manually by myself not selected double date and time by this time restore and recover over expected but table and lines are not restored and corrected.
Anyway thank you for your Information, I will loot in a SET command up to for more information.
It is real simple, and after selecting sysdate double at some point has nothing to do with it. The time of SET up is powered continuously "manually". He does not know or care that you provide once you have determined by selecting sysdate in double to an earlier point in time.
You did your test update (change "haja' to 'raja' some time between 12:35:34-12:55:34.
In scenario1, you did a TIME FIXED up an hour before your update. Were recovered at that time and your data recovery operation as it was before the update... as it was at 12:35:34.
In scenario 2, you did a TIME FIXED up to one hour AFTER your update. Thus, the recovery operation recovered all activities at 12:55:34. It was AFTER your update, so when the recovery is complete, you have had your data as it was at 12:55:34.
-
The database Point-in-time recovery
Hi, experts.
I have an interesting question. For example, I have consistent backup, backup and archivelog next cintrolfile. I want to recover the database to a point in time or SCN in the middle of this newspaper. How to check, before you begin the recovery, that this point in time, or SNA will be compatible? How to find coherent whole SNA or SNA that will I can recover the database for?How to find coherent whole SNA or SNA that will I can recover the database for?
Not sure if we give the same meaning to "compatible", but all the SNA are "compatible": see this AskTom thread, where you can read
the system change number (SCN) is the clock of Oracle - whenever we are committed, the clock
increments. The RCS has just marks a coherent point in time in the database. -
Point in time recovery of Essbase database
I would like to know how do point in time for recovery of a backup hot Essbase, if possible. I have cold backups and archives of functioning of the database, but would like to be able to perform backups if possible hot. Can you please let me know how this is done and what commands should appear so I can test this point and implement?
Thank you
SudhirThis should give you all you need to know about what is possible
http://download.Oracle.com/docs/CD/E12825_01/EPM.111/epm_backup_recovery.PDF
-
Point in time recovery because of the lost archives
Hello!
My question is when you lost a few archives so now you need to perform point in time for recovery.
Let say you had 8 archives and 5th archive is lost so now, you can only recover up to 4th arhive. Rest of the archives after 5th are lost they may not be applicable.
I want to ask is possible that we could apply the archives after the lost archives. ?
concerning
Usman...No....
Why we can't apply because the lost archives will be a series of SNA that are required and transactions in archives according to the lost archives may depend on transactions in the lost archives.
The integrity of the data cannot be maintained if this is permitted.
-
RMAN incarnation - Point-in-time recovery
Hello
I have my running RMAN backup.
My database is running in Archivelog mode, I open the database with resetlogs option. All of a sudden my entire database got currupted.
Now, I have previous RMAN (incarnation backp) + current archivelogs generated from this morning.
I'm sure that the embodied backup RMAN can be restored. Here, how to apply the archivelogs generated after setting open resetlogs option. Is there data loss? How to handle this scenario?
Thank you
KSGCould you please explain with an illustration on the same?
Just restore and recover the database. From your first post, I understand that you have lost any data base due to you must restore controlfile first (also if you lost spfile restore everything first) as
export ORACLE_SID=
rman target / startup nomount; restore spfile from 'autobackuplocation_or_fullbackuplocation'; startup force nomount; restore controlfile 'autobackuplocation_or_fullbackuplocation'; alter database mount; catalog start with 'full_backup_location'; catalog start with 'archivelog_location'; restore database; recover database; alter database open resetlogs; No no that if you do not have autobackup controlfile then restore controlfile from other backupsets (who understand the system tablespace).
-
Point of time of recovery to a different database
Hi all
Does anyone know if it is possible to recover a table to a separate database? For example, if I have backups from last year and you want to compare the emp table of June 2009 with the emp table now? I don't want to mess with my production database, so I would like to restore the data to a test server and make a point in time recovery on a datasbase test.
Thanks in advanceIf you have 10 g +, you can use FLASHBACK DROP.
Otherwise, you can consider restoring full RMAN backup Table.
-
Backup point-in-time with backup to network share files
Hi all
Oracle Database 11 g Release 11.2.0.3.0 - Production - on Windows 2008R2 64 bit
I'm still getting hot RMAN backup and that you have configured our backup as follows:
-Nightly rman backup to local drive (ORAFRA) hot and then copy the entire ORAFRA folder on a network share (which will be on the Strip).
It adheres to RPO my company (recovery point objective) of 24 hours, because if my real server goes down I can restore in the previous 24 hours.
HOWEVER, my question is more to be able to make the point-in-time recovery using disaster file sharing network. I guess I can make the point in time at any time prior to my backup complete (using SNA #)... but if I wanted to be able to do point-in-time recovery AFTER my full backup, how would that be possible?
Example - full backup at 19:00 every night. The incident occurring at 23:00. words I can only return to 19:00 or before. How can I configure I can restore, say at 22:00, using network backup files?
Thanks in advance!
Yes. You must use the syntax for using backup controlfile recovery and do a resetlogs.
With rman, you might be able to avoid the resetlogs, depending on whether the point-in-time is your real goal (which could be the situation you've lost again them online - or maybe not so rman the controlfile and newspapers archived periodically).
You might investigate databases in waiting, many places decides that they are worth the cost compared to the possible losses. And even if you do not, the concepts of recovery help to understand these things.
You can also consider, the purpose of backup is resumed and rman is to manage the recovery. It is really important to understand the concepts, to the point you can do it in your sleep (literally nearby, here), but it is also important to understand the tools.
-
Until THE recovery TIME RMAN fails on OPEN DATABASE RESETLOGS
Hello
I met general media failure a week ago and decided to recover my database to a point in time about two weeks ago. The RMAN restore/recovery part seemed to work correctly according to the newspapers, but my database could not open on the part of ALTER DATABASE OPEN RESETLOGS.
It's my RMAN script:
RMAN > RUN {
2 > SET until TIME = 27 July 09 ';
3 > RESTORE database;
4 > RECOVER DATABASE;
5 > ALTER DATABASE OPEN RESETLOGS;
{6 >}
To navigate in the alerts log, I think one my redo log group 2 is corrupt and the database fails to open when he met this group. 2 is my current group. I tried the command ALTER DATABASE CLEAR no ARCHIVED LOGFILE GROUP 2, but it fails with ORA-1624: file necessary for crash recovery.
Why this file is necessary for recovery on incident so I'm restore to a point in time two weeks in the past and does not seek to roll forward modifications online redo log?
I can't get my database regarding the EDITING phase; Therefore, I can't force a log switch. And group 2 being the current group, I can't let it go. I don't know how to proceed.
Thank you
MimiYou don't have to reset the incarnation. I don't know you need NLS_DATE_FORMAT value, however your time format does not seem right.
SQL> SHUTDOWN ABORT; RMAN> CONNECT TARGET / RMAN> SET DBID
RMAN> STARTUP FORCE NOMOUNT; RMAN> RUN { RMAN> RESTORE CONTROLFILE FROM AUTOBACKUP; RMAN> ALTER DATABASE MOUNT; RMAN> SET UNTIL TIME '2009-07-27:00:00:00'; <-- Verify time RMAN> RESTORE DATABASE; RMAN> RECOVER DATABASE; RMAN> ALTER DATABASE OPEN RESETLOGS; } -
Recovery failed on the L850 Satellite
Hi, looking for help after a Toshiba Recovery failed on a L850-ID5.
Due to a problem with the windows Explorer that comes, I could not solve, I decided to do the full restoration of Toshiba. Finished, he gave an error code 10-FC12-0570.
Now computer tries to start windows, goes to a blue screen with a few other technical details (too fast to see what is there) and then to the windows recovery page. I tried all the options like mode safe without success. If the left, it will continually cycle and re - start.
Only other option seems to be to use an installation disc, but there is no disc with this laptop.
Any ideas how to get out of this mess?
Thank you very much.
Hello
Unfortunately I can't say with certainty what the problem but that is defective recovery image or there is a problem with the HARD drive. For a long time, the laptop manufacturers do not offer installation disks but in s manuals explains and describes how these discs can be created and your big mistake is that you didn t do backup recovery image and create the installation of recovery disc.
I don't know how old is your machine, but if the warranty is still valid I recommend you contact the nearest Toshiba service provider and ask for help. Explain the problem and ask for help.
If they ask for recovery disk, you try to explain that you didn t expect failure of HARD drive and you still don't have it.In General, you have two options:
-for order of Toshiba recovery media (it is not for free)
-to get the new HARD drive and test it with the original recovery disk
In any case, don't spend your money before you try to clarify this with Toshiba service. -
I have a compaq presario cq60 with vista. Could not start after the installation of windows updates. HP recovery failed with error code 100a and bios self-test gave error fail #1-07. I took the hard drive and installed in my office. Windows Explorer displays the main and recovery partitions.
The primary partition has the following folders (including hidden & system)
The recovery partition has the following (including the language files more)
Someone at - it ideas why my laptop does not work?
Thank you
Greg
Hello
You press F11 on startup with a HP Compaq to start the recovery process.
For problems with the recovery process, you will need to contact HP.
BIOS problems:
There are messages for the HP Forums for posters with similar errors:
All the answers it point to a drive about to fail
See you soon.
-
database mobile consitent at point in time.
Guys,
I have a consistent full backup of my database. I have the archivelogs after the last full backup. How put forword the database according to the sequence of the particular journal. (Recovery time point.)
-Thank you,
Sakthivel GSANTANA says:
Keita,I am the fan of your site and learned a lot in the tutorial video. A week back we faced the question on data have been downloaded on a production database table.
So, I'm in a place to recover. cancellation being discontinued, I am not able to do as the flashback. So thought of cloning of RMAN backup database... Unfortunately, the rescue team do not have any knowledge on how to restore the backupexec RMAN (symantec).
So only option to export to a particular table of vRanger connection (machine virtual snapshot backup in option). In the virtual machine snapshot, the database is a consistent state. How I made the table export and imported it on the production.
I have a doubt. Is it possible to move forword the database in line with the point in time using archiving logs?
Kind regards
Santana.Dear Santana
Who is responsible for the RMAN backup and recovery in your company?
Do not test the recoverablity of your database and you don't have the recovery of your data plan?
You cannot forward the database in line with the point in time using archived redo log files. Then please contact the person who is responsible for the backup and recovery and ask him to make a clone of your production system in the hour before the table has been updated, move this table to the production database -
what point of time duplicate database for the DORECOVER of the day BEFORE
Hello
Please specify at what point in time option DORECOVER will recover standby base 10.2.0.3
-at the beginning of the moment of the order duplicate
-so far as archivelog are provided?
-Another option :)
Kind regards.
GregIf you do not specify an UNTIL clause, it attempts to RECOVER up to the most recent ArchiveLog generated by the Production database (target). He knows because he connects to the target instance as well. (10 g, you will need to connect to the target).
DUPLICATE a DATABASE error during RECOVERY if the last archivelog has not been copied to the standby server.
Therefore, it would be good to be
a. copy the archivelogs from production to the waiting
OR
b. specify an UNTIL clauseHemant K Collette
Maybe you are looking for
-
Why the Internet Download Manager does not work on Firefox?
I have Internet Download Manager 6.15 and is used exclusively for download nearly everything. However, I can't use it while using Firefox, why?
-
increase the digits of accuracy in recording data in the file
Hello In the attached VI written in Labview 8.5, can you tell me how I can save the data in the table to 6 decimal places? From the code I posted, I can get up to 4 decimal places. Thanks for your help. hiNi.
-
"Invalid certificate" error when you try to access the internet.
Original title: invalid certificate XP 2001 New computer shop, so using old XP 2001. Can get internet, but sign CERTIFICATE INVALID keeps popping up. What should I do?
-
My request is signed, but when I click on it, There is no answer, just like a dead application. Why?
-
Apps and Windows store do not connect to the Internet and updates cannot be downloaded
Hey fellow users of Windows,. I'm discovering a strange problem with my laptop when it comes to Internet. I can access the web via my browser (Firefox), but any other software that wants to connect to the Internet can not for example cannot connect W