Can I recover some tablespace(only current tbs) - RMAN
Hello, I have ang question about RMAN.
If I have full backup database, and next time database is failed.
Can I recover especially tablespace current data?
this below is my step recovery but it's not pass.
I'm not sure, this are correct or not.
bash-2.05$ rman target / catalog user/password@rcat
RMAN> set dbid=1707756540
RMAN> startup nomount
+RMAN> run{+
+2> ALLocate channel ch00 type 'SBT_TAPE';+
+3> Allocate channel ch01 type 'SBT_TAPE';+
+4> SEND 'NB_ORA_CLIENT=holtuv1';+
+5> SEND 'NB_ORA_SERV=holtbk11';+
+6> SEND 'NB_ORA_POLICY=test_orabk_holtuv1';+
+7> restore controlfile ;+
+8> }+
+RMAN> run{+
+2> ALLocate channel ch00 type 'SBT_TAPE';+
+3> Allocate channel ch01 type 'SBT_TAPE';+
+4> SEND 'NB_ORA_CLIENT=holtuv1';+
+5> SEND 'NB_ORA_SERV=holtbk11';+
+6> SEND 'NB_ORA_POLICY=test_orabk_holtuv1';+
+7> restore database skip tablespace 'PERFSTAT', 'YEAR2009';+
+8> }+
RMAN> alter database mount;
+RMAN> run{+
+2> ALLocate channel ch00 type 'SBT_TAPE';+
+3> Allocate channel ch01 type 'SBT_TAPE';+
+4> SEND 'NB_ORA_CLIENT=holtuv1';+
+5> SEND 'NB_ORA_SERV=holtbk11';+
+6> SEND 'NB_ORA_POLICY=test_orabk_holtuv1';+
+7> recover database skip tablespace 'PERFSTAT', 'YEAR2009';+
+8> }+
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of recover command at 06/04/2010 15:30:41
ORA-00283: recovery session canceled due to errors
RMAN-11003: failure during parse/execution of SQL statement: alter database recover logfile '/data/db01/ORABK_ARCH/ORABK/archivelog/2010_06_03/o1_mf_1_5_60h9p9z0_.arc'
ORA-00283: recovery session canceled due to errors
ORA-16067: activation identifier mismatch in archive log /data/db01/ORABK_ARCH/ORABK/archivelog/2010_06_03/o1_mf_1_5_60h9p9z0_.arc
RMAN> alter database open resetlogs;
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of alter db command at 06/04/2010 15:41:43
ORA-01157: cannot identify/lock data file 5 - see DBWR trace file
ORA-01110: data file 5: '/data/db01/ORABK/perfstat.dbf'
any sugess please.
thank you
Suradech
M.Suradech wrote:
RMAN> alter database open resetlogs;
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of alter db command at 06/04/2010 15:41:43
ORA-01157: cannot identify/lock data file 5 - see DBWR trace file
ORA-01110: data file 5: '/data/db01/ORABK/perfstat.dbf'
any sugess please.
thank you
SuradechHi Suradech.This error(ORA-01157,ORA-01110) because in controlfile remain information about of '/data/db01/ORABK/perfstat.dbf'.Due to you restored controlfile from backup.You have to re-create controlfile or you can open database without this datafile.(Also there is YEAR2009' tablespaces datafile).You can try following.
1.
sqlplus "/as sysdba"
alter database datafile '/data/db01/ORABK/perfstat.dbf' offline drop;
alter database open;or
2.
sqlplus "/as sysdba"
alter database backup controlfile to trace as '/data/ctrl'; --then edit this file and remove '/data/db01/ORABK/perfstat.dbf' line(also YEAR2009`s datafile)
shutdown immediate;
startup nomount;
@/data/ctrl;
alter database open resetlogs; also see following metalink note.
How To Recover Database Where Backup Has Tablespace Excluded [ID 732627.1]
Ora-01157 When Running Recover Database Skip Forever Tablespace Noredo [ID 561440.1]
Similar Messages
-
Can i recover a tablespace in diff database, is it possible ????
i am very frustated as i tried to bakup and recover a
tablespace in diffrent database where i have a tablespace
i would like to tell you (which i want to bkup nad recover)
i have two database one is db01 and the other
is oemrep and i am working on dedicated server i have done few
things on oemrep database i tried few commands which is are..
$ rman target hr@db01
after providing password it connected me to db01 database and
then i backup and recover tablespace test which is on db01 dataabse
i have successfull run backup and recovery command and found no error in that, now i jsut want to know can i see the tablespace
in oemrep database..plese tell me what to do if this in not a right
way to do this..please let me know i wolud be very thankfull of you..
very much thanks from my side....Step 9: Apply this command to see all the options of the export utility
C:\>
C:\>EXP HELP=Y
Export: Release 10.1.0.2.0 - Production on Fri Apr 23 19:48:30 2004
Copyright (c) 1982, 2004, Oracle. All rights reserved.
You can let Export prompt you for parameters by entering the EXP
command followed by your username/password:
Example: EXP SCOTT/TIGER
Or, you can control how Export runs by entering the EXP command followed
by various arguments. To specify parameters, you use keywords:
Format: EXP KEYWORD=value or KEYWORD=(value1,value2,...,valueN)
Example: EXP SCOTT/TIGER GRANTS=Y TABLES=(EMP,DEPT,MGR)
or TABLES=(T1:P1,T1:P2), if T1 is partitioned table
USERID must be the first parameter on the command line.
Keyword Description (Default) Keyword Description (Default)
USERID username/password FULL export entire file (N)
BUFFER size of data buffer OWNER list of owner usernames
FILE output files (EXPDAT.DMP) TABLES list of table names
COMPRESS import into one extent (Y) RECORDLENGTH length of IO record
GRANTS export grants (Y) INCTYPE incremental export type
INDEXES export indexes (Y) RECORD track incr. export (Y)
DIRECT direct path (N) TRIGGERS export triggers (Y)
LOG log file of screen output STATISTICS analyze objects (ESTIMATE)
ROWS export data rows (Y) PARFILE parameter filename
CONSISTENT cross-table consistency(N) CONSTRAINTS export constraints (Y)
OBJECT_CONSISTENT transaction set to read only during object export (N)
FEEDBACK display progress every x rows (0)
FILESIZE maximum size of each dump file
FLASHBACK_SCN SCN used to set session snapshot back to
FLASHBACK_TIME time used to get the SCN closest to the specified time
QUERY select clause used to export a subset of a table
RESUMABLE suspend when a space related error is encountered(N)
RESUMABLE_NAME text string used to identify resumable statement
RESUMABLE_TIMEOUT wait time for RESUMABLE
TTS_FULL_CHECK perform full or partial dependency check for TTS
TABLESPACES list of tablespaces to export
TRANSPORT_TABLESPACE export transportable tablespace metadata (N)
TEMPLATE template name which invokes iAS mode export
Export terminated successfully without warnings.Joel Pérez
http://otn.oracle.com/experts -
Can i recover some sms messages i just deleted by accident?
today i deleted some messages between me and a friend and those messages ive had for years and had information i dearly need back now. i plug my iphone into the computer every night and usually close itunes right away so idk if it syncs or not. since it has happened ive plugged the phone back in but it hasnt synced and i read around that if i restore it it comes back? idk exactly what to do though, and i am in dear need of those messages. if anyone could help me i would appreciate it . thank you.
If these messages were on your phone when you last synced and you haven't synced your phone since, they should still be contained in the backup. Restoring your phone to the backup will revert all settings and data on the phone to those contained in this backup, restoring your messages but losing any more recent information. If you want to do this, before connecting your phone open iTunes on your computer, go to Preferences and on the Devices tab check "Prevent...from syncing automatically". Now connect your phone and when it appears in iTunes on the left sidebar right-click on its name and select Transfer Purchases (to import any recent purchased to your iTunes library prior to restoring from backup). When this completes, right-click on it again and select Restore from Backup, choosing your last backup. When this is done you can go back and re-enable automatic syncing if you prefer this.
-
How can I recover some of my lost contacts?
I've lost some of my contacts on my iphone. how do i recover?
I lost some of my contacts too, strange. However, the next day I realized I change my password on one of my email accounts on my computer. I subsequently updated my new password on my phone, voila the contacts that disappeared came back! I synced my contacts between my phone and email account. Thank God.
-
How to design extractor can have only current Fiscal Year data.
Dear Experts,
I require a full upload DSO , which can have only current fiscal year data . I have created view putting there certain conditions for minimising the data size. How i can restrict it , to have only current fisacal year data for YTD reports. It would be daily uploaded.
Should i created Data Source based on function ?
Regards,
Anand Mehrotra.while extracting the data from source you can set the filters at the info package level so that it will not extract the previous years data.
In the data selection tab in Info package enter the current fiscal year and schedule the IP it will extract only the current year data.
next execute the DTP to load data till DSO.
the data is restricted in the infopackage level before entering to PSA so there is no need to write any routines in the DSO level.
Edited by: prashanthk on Feb 1, 2011 12:45 PM -
How to recover undo tablespace in 9i
How can i recover undo tablespace 9i.Can any provide step by step recovery process
Doc ID 94114.1 on Metalink might be of interest to you
-
Can I recover deleted content in Notes?
I deleted everything I had in Notes by mistake, can I recover it?
Only if you can restore from an iCloud or iTunes backup which contains the Notes.
-
How can I recover time machine backup from previous iMac?
How can I recover some datas from a Time machine backup regularly done with my old imac,using now my new i7?
Problem is that when I open timemachine app,it's not giving me any chance to go "back" in the past snapshots of my desktop nor giving me any errors.So I suppose I'm doing something wrong
Any help?
ThanksIt's TimeMachine,
http://web.me.com/pondini/Time_Machine/Home.html
https://discussions.apple.com/message/16276201#16276201
http://www.macupdate.com/app/mac/29553/back-in-time -
How can I recover an old/disused iCloud account. I was having some issues with my apple id so I restored my iPad, I am now stuck on the activation screen as I no longer use the iCloud account i used to set up the iPad and can't remember the address or pas
I have the same problem - it is maddening. I rely on this iPad for work so this is not just an annoyance! The above solutions of changing the appleid on the device or on the website do not work.
The old email address no longer exists - I haven't used it in a year probably and I no longer have the account. I logged into the appleid website and there is no trace of the old email address so there is nothing that can be deleted or changed there. On the iPad there is no trace of the old email address so nothing can be deleted there either. I have updated the iPad software and the same problem comes right back. Every 2 seconds I am asked to log in using the old non-existent email. The device is currently useless.
The only recent change to anything was the addition of an Apple TV device, which was set up using the correct login and password.
Does anyone have any ideas? The iPad has been backed up to the iCloud so presumably it now won't recognize the current iCloud account? So restoring may notbe an option? -
After cvfsck can't find some files? What chances of recover them?
Hi all,
so the problem is that in my xsan one of the volumes have restarted 2-3 times in a day. So i did cvfsck -wv. During the chek it reported File System Status as Clean and at the end that F+ile system have been modified+. After that i can not find some of the files. Is this normal behavior of cvfsck? Is there any chances to recover lost files?
Thanks in advanceIn the root of the filesystem there normally is a folder "lost+found", in which files with strange names are found. These are the files cvfsck has collected in the recovering of the filesystemnames. It is sometimes not possible to recover the original file name and location. So this is the only way for cvfsck to give them back.
If you think the content of these files is allright, you can rename and relocate them.
Regards
Donald -
Can I change some partitions of the partitioned table read-only?
I have a table partitioned by range( partitioned hourly).
I want to keep the history data online for query (the history data is rarely accessd). But in this way the table is too large. The performance may be a big problem. So some problems may be raised:
How can I change the aged partition read-only?
How to decrease the workload on this table and improve the performance?
Oracle 10g (10.2.0.3)+Solaris 10How can I change the aged partition read-only?In 10.2.x.x I think only tablespaces can be made read only.
In 11g you can place tables in read only mode, but I don't know about specific partitions. -
Can anyone offer some advice i am looking to upgrade the OS system on one of my macbook pro's, currently running os10.4.11, I would like to upgrade to OS10.5? how would I go about this, and is there a cost, for what is an old operating system now?
Since your Mac probably came with 10.4, there is no longer a way to get 10.5 Leopard install media. IF it has the requirements, you may be able to upgrade to 10.6 Snow Leopard by buying the boxed install media at the Apple Store for $30.
System requirements are found here: http://support.apple.com/kb/SP575
General support can be found here: http://www.apple.com/support/snowleopard/ -
Can a member be READ-ONLY in a row of some Planning forms?
Hi,
Can a member be READ-ONLY in a row of some Planning forms?
For example, I have a member called Salary as a row in a Form that is used to maintain employees. We allow Planners to update Salary in "Employee Detail" form.
However, in another form , we roll up Salary to "ALL EMPLOYEES IN DEPT" member and we do not want users to update that as it is added up by a calc script.
What is the best way to restrict users from updating in this 2nd form but allow update to Salary in first form.
Thanks.Hi,
You can use Asymmetric Rows and set the member you want to be read only, for more information on how to create them on forms have a read of http://download.oracle.com/docs/cd/E12825_01/epm.111/hp_admin/ch06s03s14.html
Cheers
John
http://john-goodwin.blogspot.com/ -
I have had my Iphone 5 for a little while now and today I connected it to Itunes to download a movie to my phone. I thought I had to restore the phone so I restored it back to my iphone 4. I deleted all the new ringtones I just bought and I lost all photos and notes I had on my iphone 5. Is there a way to unsync?? Is there a way to recover what I lost. I downloaded wondershare but I can't recover from an Iphone 5 and I hadn't synced the iphone 5 with itunes until today but again i restored it back to iphone 4 data.
It can not do that all by itself.
When you plugged it in, iTunes said 'Oh goody! You got a new phone! Would you like to make it just like your old phone?'...
You explicitly said 'Yes'.
You can't undo that.
No backup of the current state of the new phone was made. It was wiped and the last backup of your old phone was restored to it.
Anything you had on the new phone is gone. -
How can I recover my account information I lost all the details and only remember my email address
how can I recover my account information I lost all the details and only remember my email address
https://getsupport.apple.com/Issues.action
Maybe you are looking for
-
Installing Solaris 10 from another hard drive
I do more reading and digesting than actually adding content. But I wanted to share my recent experience with a recalcitrant server. I have a V440 server remote to my home location. We needed to rebuild it from scratch - wipe and reload the OS, pat
-
HI all, Can we use Group by clause in PLD. IF yes how to use group by.. Thanks, Neetu
-
New Bank Account- config for Manual Bank Statement
Hi, Currently we are using Manual Bank Statement (FF67),and client have opened a new bank account and new GLs have been created, I need to configure for this new bank account, kindly let me know where to maintain the GL accounts for Incoming and Ou
-
Hi I want to do some development related to PDF forms. I have downloaded Adobe Live Cycle Designer from Adobe Site but not able to integrate it with SAP. So can anyone please tell me what are the steps to configure the same with SAP? Thanks Siddarth
-
File to IDOC : Code page error
Hi I am working on Scenario File to IDOC. T90CLNT90 is the rfcdest for SAP R3 System from XI. The file sender succesfully sends thefile to the XI Engine.From XI to R3 the adapter fails to send the idoc. What could be the reason for code page error?