How to restore a table using RMAN with previous backup ?
Hi everyone,
we have to restore a table from 1 week previous backup using RMAN.
Could you show me how to restore a table using RMAN with previous full backup.
please Help me out.
Thanks
Info > oracle 10g, OS: AIX5L
Hi,
first of all you must have all the archivelogs since you want to recover your table from the previous backups.
anyways if you want to recover your table then you need to perform incomplete recovery to the point where you loss the table for that you need to restore and recover your database.you likely to loose all the transcation which occurs to the point where you you loose your table.
thanks..
Similar Messages
-
How do I move databases using RMAN with minimal downtime ?
How can I do the following using RMAN ?
DB version 10.2.0.4
Redhat 5.2
I am not using an rman catalogIn the past I have moved large databases from 1 server to another with 5 minutes downtime using backups done the old way by putting tablespaces in backup mode and making copies of the datafiles.
I used the following method :
========> Part 1
STARTUP NOMOUNT
CREATE CONTROLFILE REUSE set DATABASE "VPMY" RESETLOGS ARCHIVELOG
MAXLOGFILES 32
MAXLOGMEMBERS 3
....etc
LOGFILE
......... log file names
DATAFILE
... list of datafiles
CHARACTER SET US7ASCII;
========> Part 2
Up until the scheduled downtime, I would copy the archive logs from the production server to the new and run the following to apply the latest archive logs:
RECOVER DATABASE USING BACKUP CONTROLFILE UNTIL CANCEL;
->AUTO<-
========> Part 3
After applying the last archive log while in restrict mode -
ALTER DATABASE OPEN resetlogs;
My question is, how do I do Part 2 in RMAN. I have managed to duplicate databases and restore databases using rman to a different server, but this obviously only covers the data upto the backup point. How can I do the above parts 1 -3 with downtime of about 5 minutes like I have done using old methods ?
Any help is much appreciated/you should be able to recover as you go with rman as well..
copy the archived logs from A to B and apply them as they come in.
run
set until sequence x thread 1;
recover database;
if you're not opening the database after recovery you can just increment the set until sequence as the logs come in and do a new recovery. -
Error using rman with cumulative backup
Hi,
Can anyone help?
Current system configuration : Oracle 8.0.4 & Veritas Netbackup.
Encounter error when allocate 2 channel for cumulative backup using rman. Using a single channel works fine.
RMAN-08010: channel t1: including datafile 1 in backupset
RMAN-08008: channel t2: starting datafile backupset
RMAN-08502: set_count=152 set_stamp=432319182
RMAN-08010: channel t2: including datafile 7 in backupset
RMAN-08010: channel t2: including datafile 20 in backupset
RMAN-08010: channel t2: including datafile 13 in backupset
RMAN-08010: channel t2: including datafile 15 in backupset
RMAN-08010: channel t2: including datafile 16 in backupset
RMAN-08011: channel t1: including current controlfile in backupset
RMAN-00569: ================error message stack follows================
RMAN-03007: retryable error occurred during execution of command: backup
RMAN-07004: unhandled exception during command execution on channel t2
RMAN-10032: unhandled exception during execution of job step 2: ORA-06512: at li
ne 153
RMAN-10035: exception raised in RPC: ORA-19624: operation failed, retry possible
ORA-27015: skgfcls: failed to close the file
Additional information: 7023
ORA-19502: write error on file "bk_152_1_432319182", blockno 3713 (blocksize=512
ORA-27010: skgfwrt: write to file failed
Additional information: 7043
ORA-06512: at "SYS.DBMS_BACKUP_RESTORE", line 408
RMAN-10031: ORA-19624 occurred during call to DBMS_BACKUP_RESTORE.BACKUPPIECECRE
ATE
Thanks in advance
nullHi,
first of all you must have all the archivelogs since you want to recover your table from the previous backups.
anyways if you want to recover your table then you need to perform incomplete recovery to the point where you loss the table for that you need to restore and recover your database.you likely to loose all the transcation which occurs to the point where you you loose your table.
thanks.. -
How to overcome Block corruption using RMAN
Hi All,
How to overcome bolck corruption using RMAN. What is the procedure to do so.
Thanks & Regards
J.VenugopalHi all,
I´ve performed the following command on RMAN:
RMAN> BACKUP VALIDATE CHECK LOGICAL DATABASE ARCHIVELOG ALL;After, I query the V$DATABASE_BLOCK_CORRUPTION table, and the below records
was returned:
FILE# BLOCK# BLOCKS CORRUPTION_CHANGE# CORRUPTIO
67 4670 1 1202832866 LOGICAL
68 154131 338 1175601952 LOGICAL
68 155329 60 1174783128 LOGICAL
68 155409 60 1174783132 LOGICAL
68 155471 78 1174783135 LOGICAL
68 155551 78 1174783139 LOGICAL
68 155631 18 1174783143 LOGICAL
68 155651 18 1174783144 LOGICAL
68 155671 18 1174783145 LOGICAL
68 155691 18 1174783146 LOGICAL
68 155711 18 1174783147 LOGICAL
68 155731 18 1174783148 LOGICAL
68 155751 18 1174783149 LOGICAL
68 155771 78 1174783150 LOGICAL
68 155851 78 1174783154 LOGICAL
68 155931 49 1174783158 LOGICAL
73 165758 1 1180191676 LOGICALSo, when I try to recover these blocks by using blockrecover command, I got the error:
RMAN> blockrecover corruption list;
Starting blockrecover at 27-SEP-07
using channel ORA_DISK_1
using channel ORA_DISK_2
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of blockrecover command at 09/27/2007 10:22:10
RMAN-06026: some targets not found - aborting restore
RMAN-06023: no backup or copy of datafile 73 found to restore
RMAN-06023: no backup or copy of datafile 68 found to restore
RMAN-06023: no backup or copy of datafile 67 found to restoreWhat can I do in this case?
Thank U very much!
[]´s -
How to restore one table from the previous backup in 9.2.0.8 version.
Hi,
How to restore one table from the previous backup in 9.2.0.8 version.
Thanks
-GangaHi,
What is the table you want to restore?
Using export/import is supported with Oracle Apps database (for full database exp/imp, and certain schemas like custom ones). For the Apps schema, I believe it is not supported due to object dependencies and integrity constraints.
Regards,
Hussein -
How to restore my iPhone using a iPad?
How to restore my iPhone using a iPad?
You can't. You'll need a computer with iTunes installed.
-
How to create labeled table of Content with expand and collapse
Hi All,
Can somebody help me how to create labeled table of Content with expand and collapse as example given below:
User1
Template1
Template2
User2
+
User3
Template1
Template2
Like when we see expand (+) and collapse (-) button when we click on 'about this page' link.
Thanks
BhupendraHi,
Tou can use Table inside table to show the details this way but I'm not sure about Expand/Collapse.
Expand/Collapse are part of HGRID.
I think we can develop this functionality with little manipulation.
Regards,
Reetesh Sharma
Edited by: Reetesh Sharma on Jun 28, 2010 4:56 AM -
My iphone4 has been stuck on the connect to itunes logo for a few hours. I connected it to itunes and it says that the iphone is on recovery mode and that I need to restore it to use it with itunes. I'm afraid that if I restore it I will loose everything help please!!
AT this point whatever data you have on yoru phone is already gone since it is in recovery mode.
However you can restore from your backup, when your phone reboots from recovery.
YOu do have a backup right? -
How to create a table using Text Layout Framework?
How to create a table using Text Layout Framework? I meen real tables - like in HTML.
Cell as indipendant TLF should work, I have created my table using same approach and works fine for me ... this is where it is
http://apps.live-documents.com/docs/openWebDoc.do?docId=1480607
Regards
Raf -
How do I import music using homeshare with iTunes 11...I can see the shared libraries but I can't drag and drop and there is no import button. Thanks!
Yes, that appears how Mavericks works right now. However, you can open the Address Panel, select all your contacts, then click the To (or CC, or Bcc) buttons to move the selection to the address field.
If it is not already in the Toolbar, right-click on the Toolbar and select Customize Toolbar…
Then, drag the address panel up to wherever you want it.
You may also want to add it to the New Message window in the same way. -
after itunes finishes restoring my ipod touch 8gb, itunes still says itunes has detected an ipod touch recovery mode. You must restore it before using it with itunes. and i dont know what to do
Are you sure it is 1043? I've never seen that error before. But you can try disabling your security software, connecting the phone to a USB port directly on the computer (not a hub), and trying to restore again.
-
How can I create Droplets using Actions with several Stops?
My Droplets (using Actions but with several Stops) work very nicely when using a single image source. However when using multiple images thing start to go crazy.
At the first stop on the first image a pop-up emerges asking me to continue to the next image or stop. If I select stop I can continue with the Action for this first image and complete the Action on that first photo.
If I select continue it halts the action on that photo at the first stop then opens the 2nd image and repeats the action to the first stop on the next photo then the pop-up appears again and the cycle repeats.
How can I create Droplets using Actions with several Stops?I don't believe this is possible when starting from Java. I think you need to start with a WSDL to get this to work. I am curious as to why having multiple WSDLs is an issue, would you care to eloborate.
Thanks -
How to restore a control file without having its backup
Hi,
Can any one please suggest me how to restore a control file without having its backup.
ThanksTo add to what SB said, in years past the instructions for re-creating the control file manually were contained in the DBA Administration manual. It used to be and may still be common to be taking and saving a "backup control file to trace" for this purpose.
If you lost only the primary copy of the control file and it is an OS file then while the database is shutdown you can copy the secondary over the primary and then use if to start the database. If the control file is stored in ASM then there should be a way to perform the copy via ASM.
If you use rman for backups then a copy of the control file should be part of the backup process and you can retrieve it from the backup set then perform recovery using the backup control file though I do note the OP said something to the effect no backup exists. Still, I have knows of instances where the DBA did not realize that the backup set contained the control file and the spfile so I think this is worth mentioning just in case.
HTH -- Mark D Powell -- -
Migrate Oracle 11g database from Windows To Linux using RMAN hot / cold backup ?
Hi Friends,
Is it possible to Migrate Oracle 11g database from Windows To Linux using RMAN hot / cold backup ? ( as i would like to perform Point In Time recovery)
(or) The only way is to use RMAN convert as mentioned here - Transporting Data Across Platforms
(or) Is there any other method (except exp/imp and data pump)
Regards,
DBHI
his post describes the procedure required to migrate a database from Windows to Linux using the RMAN Convert Database command.
Both Windows and Linux platforms have the same endian format, which makes possible to transfer the whole database, making the migration process very straightforward and simple.
To migrate between platforms that have a different endian format, Cross Platform Transportable Tablespaces (XTTS) needs to be used instead.
List of Steps Needed to Complete the Migration
The migration process is simple, but as it has several steps it is convenient to be familiar with them before running it.
1. Check platform compatibility between source and target OS
2. Start the database in read only mode
3. Check database readiness for transport from Windows to Linux using DBMS_TDB.CHECK_DB
4. Check if there are any external objects
5. Execute the Rman Convert database command
6. Copy converted datafiles, generated Transport Script and Parameter File to Linux
7. Edit the init.ora for the new database
8. Edit the Transport Script and Parameter File changing the windows paths to Linux Paths
9. Execute the Transport Script
10.Change the Database ID
11.Check database integrity
Thank you -
In the process of updated to iOS 5, my iphone4 performed a backup, after installing IOS5 it performed ANOTHER backup (not sure why), but without all my stuff being synced from iTunes, now the backup file (and my phone) contain NOTHING!
How do I get the data from my previous backup back?!? Please Help!! I have already looked into the backup fies on my PC and everything is from the second backup.
I really need my contacts and photos backOk. I have 2 hard drives and one of them died apparently so..not knowing what to do, I did chose reinstall Lion after command r open start-up. The whole thing is a mess but my computer is back up and running with the second hard drive. I had a time machine backup which I've been dragging stuff out of. i had to re enter serial numbers and do all sorts of initial set up stuff. 1) How do I get all of my icons (like my HD icon and external drives icons) to appear on my desktop again? I can only find them through a finder window. 2) i now have to type a password to get into my computer (user) - I 'm the only user and don't want to have to do that.
Maybe you are looking for
-
IPhoto 6 very sluggish with keywords
Just upgraded to iPhoto 6. The speed for importing images has improved greatly, unfortunately it seems the speed at which keywords are being assigned has degraded significantly. Running iPhoto 6.0.2 under OSX 10.4.5 on 800MHz PowerMac G4 iMac w/512MB
-
I downloaded the new icloud control pannel and when I click on the links in the start menu it always opens in internet explorer. Chrome is my default browser, and the bookmarks are synced with Chrome. Why is this opening in internet explorer and how
-
Brand new to Mac world...
All my apps are Windows apps, if I install Win7 with Parallels on my new MacBook Pro, would I be able from Photoshop on the Windows side be able to access an image file that is saved on the Mac side, like for instance, open>MacOS>IPhoto>image.jpg, or
-
Startup slower that it used to be...Jargon translator needed
can anyone decipher this console jargon and tell me if there are any issues during startup. My mbp seems to be starting up a lot slower that it used to be. and any suggestions of how to freshen up my speedy startup would be great. ---start of jargon-
-
i want some information a bout system analysis of stock control problem