Oracle Restore and Recovery
Hello.
Guys I`m pretty new to Oracle and I been trying to restore our backup from Live Database to Our Test Database.
This is what i did.
After installing the Oracle 11g (11.2.0) on our Rhel6 environment, I try to create the folder structure to Test Server same as on Live Server.
After that I "startup nomount pfile='directory'" then created the spfile.
Then I copy the backupset and control file from Live Server to Test Server and restore the control file.
I alter Database to mount mode then go to rman to restore Database.
It all goes well but when I try to recover Database I receive an error.
This is the Error = RMAN-06054: media recovery requesting unknown archived log for thread 1 with sequence 8929 and starting SCN of 811164225283.
I try to ignore this error and proceed to opening the database;
Alter Database Open resetlogs.
But then again I receive this error.
ORA-01092: ORACLE instance terminated. Disconnection forced
ORA-00704: bootstrap process failure
ORA-39700: database must be opened with UPGRADE option
Process ID: 8020
Session ID: 3 Serial number: 4461
Can some one please help me on how to do this?
I`m really new to oracle and I dont know what to do.
user9176069 wrote:
Sir,
Thanks for your assistant.
I have successfully restore the Database.
Now my problem is after recovery I cannot access the EM.
Here is the error shown.
"503 Service Unavailable
Servlet error: An exception occurred. The current application deployment descriptors do not allow for including it in this response. Please consult the application log for details."
Is this the cause of my recovery?
Should I turn off EM first before I recover?Just to expand on what Hemant said, the dbcontrol has two parts. One is the repository, which is a bunch of tables in the database. The other is the configuration, which is a bunch of files buried under ORACLE_HOME. The two have to be in sync in ways I don't fully understand, but when you replicate a database from one host to another, especially if any kind of database rename is involved, you are getting the repository from the source system and laying it down with the configuration on the target system. Bottom line, exactly as Hemant said, drop and recreate at least the repository. I do both the repository and the config.
Similar Messages
-
Restore and Recovery basics!!!
Hi All,
Can somebody provide some useful links for restore and recovery basics...
Thanks in advance,
Regards,
Nick.this is a create book to have. It talk everything from general backup to diff situation, to settin up tape backup...
http://www.amazon.com/Oracle-Database-RMAN-Backup-Recovery/dp/0072263172 -
Database is pending after restore and recovery
Database is in the pending status after restore and recovery.
The database can not startup today and it shows a error message: the log file 2 cannot be archived. Then I issue the following command:
SQL> select group#, sequence#, bytes, members, status from v$log;
GROUP# SEQUENCE# BYTES MEMBERS STATUS
1 452 52428800 1 CURRENT
3 451 52428800 1 INACTIVE
2 450 52428800 1 INACTIVE
SQL> ALTER DATABASE CLEAR UNARCHIVED LOGFILE GROUP 3;
Database altered.
SQL> ALTER DATABASE CLEAR UNARCHIVED LOGFILE GROUP 2;
Database altered.
SQL> alter database open;
Database altered.
SQL> shutdown immediate;
ORA-01109: database not open
Database dismounted.
ORACLE instance shut down.
SQL> startup
ORACLE instance started.
Total System Global Area 566231040 bytes
Fixed Size 1220580 bytes
Variable Size 125829148 bytes
Database Buffers 432013312 bytes
Redo Buffers 7168000 bytes
Database mounted.
Database opened.But when I try to login using EM console, it shows the database is not open. Then I restore and recover the database using EM Console. But the database then get into the pending status.
What to do next?Stop the EM console and then restart it. I expect all is OK then.
-
Restore and Recovery in ms sql server
What is Restore when will we use this restore ?
What is Recovery when will we use this recovery?
what is the difference between restore and recovery?
could anyone plz explain in detail ?
bhageeYou may refer the below MSDN article that would help you...
http://msdn.microsoft.com/en-us/library/ms191253.aspx -
[HELP] Problem with restore and recovery to new host
Hi, guys!
I have been trying for two days, but still cannot get it to work.
I have taken a full hot(online) backup with archive logs as well as the control file and SPFILE, and then copied the backup to the new host with the same directory structure and settings. Finally, I have tried to restore & recover the database on the new host but failed during the restore process.
Both the original host and the new host have the same Oracle installed down to the patch level. I couldn't figure out the proper solution to this problem base on my limited knowledge about Oracle DB.
Could anyone help me out here? Any advice would be appreciated!
RMAN> restore database until sequence 10 thread 1;
Starting restore at 08-NOV-11
using channel ORA_DISK_1
channel ORA_DISK_1: starting datafile backupset restore
channel ORA_DISK_1: specifying datafile(s) to restore from backup set
restoring datafile 00001 to D:\DBDATA\PRODDB\SYSTEM01.DBF
restoring datafile 00002 to D:\DBDATA\PRODDB\UNDOTBS01.DBF
restoring datafile 00003 to D:\DBDATA\PRODDB\SYSAUX01.DBF
restoring datafile 00004 to D:\DBDATA\PRODDB\USERS01.DBF
restoring datafile 00005 to D:\ORA_DATADATA01.DBF
restoring datafile 00006 to D:\ORA_DATA\DATA02.DBF
restoring datafile 00007 to D:\ORA_DATA\INDX01.DBF
restoring datafile 00008 to D:\ORA_DATA\INDX02.DBF
channel ORA_DISK_1: reading from backup piece C:\ORACLE\PRODUCT\10.2.0\FLASH_REC
OVERY_AREA\PRODDB\BACKUPSET\2011_11_07\O1_MF_NNNDF_TAG20111107T175037_7CH6YYVJ_.BK
P
failover to previous backup
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of restore command at 11/08/2011 11:41:33
RMAN-06026: some targets not found - aborting restore
RMAN-06023: no backup or copy of datafile 4 found to restore
RMAN-06023: no backup or copy of datafile 3 found to restore
RMAN-06023: no backup or copy of datafile 2 found to restore
RMAN-06023: no backup or copy of datafile 1 found to restore
Here is some extra information that you might want to know about:
RMAN> list incarnation;
List of Database Incarnations
DB Key Inc Key DB Name DB ID STATUS Reset SCN Reset Time
1 1 PRODDB 3774691295 PARENT 1 17-APR-07
2 2 PRODDB 3774691295 PARENT 521803 06-OCT-11
3 3 PRODDB 3774691295 PARENT 1595143 20-OCT-11
4 4 PRODDB 3774691295 PARENT 1600974 20-OCT-11
5 5 PRODDB 3774691295 PARENT 1952053 27-OCT-11
6 6 PRODDB 3774691295 CURRENT 2146951 07-NOV-11
RMAN> list backup recoverable;
List of Backup Sets
===================
BS Key Type LV Size Device Type Elapsed Time Completion Time
37 Full 822.34M DISK 00:29:47 07-NOV-11
BP Key: 37 Status: AVAILABLE Compressed: NO Tag: TAG20111107T175037
Piece Name: C:\ORACLE\PRODUCT\10.2.0\FLASH_RECOVERY_AREA\PRODDB\BACKUPSET\
2011_11_07\O1_MF_NNNDF_TAG20111107T175037_7CH6YYVJ_.BKP
List of Datafiles in backup set 37
File LV Type Ckp SCN Ckp Time Name
1 Full 2149673 07-NOV-11 D:\DBDATA\PRODDB\SYSTEM01.DBF
2 Full 2149673 07-NOV-11 D:\DBDATA\PRODDB\UNDOTBS01.DBF
3 Full 2149673 07-NOV-11 D:\DBDATA\PRODDB\SYSAUX01.DBF
4 Full 2149673 07-NOV-11 D:\DBDATA\PRODDB\USERS01.DBF
5 Full 2149673 07-NOV-11 D:\ORA_DATA\DATA01.DBF
6 Full 2149673 07-NOV-11 D:\ORA_DATA\DATA02.DBF
7 Full 2149673 07-NOV-11 D:\ORA_DATA\INDX01.DBF
8 Full 2149673 07-NOV-11 D:\ORA_DATA\INDX02.DBF
BS Key Type LV Size Device Type Elapsed Time Completion Time
38 Full 6.95M DISK 00:00:03 07-NOV-11
BP Key: 38 Status: AVAILABLE Compressed: NO Tag: TAG20111107T182034
Piece Name: C:\ORACLE\PRODUCT\10.2.0\FLASH_RECOVERY_AREA\PRODDB\AUTOBACKUP
\2011_11_07\O1_MF_S_766606834_7CH8Q439_.BKP
Control File Included: Ckp SCN: 2151141 Ckp time: 07-NOV-11
SPFILE Included: Modification time: 07-NOV-11
BS Key Size Device Type Elapsed Time Completion Time
39 18.46M DISK 00:00:05 08-NOV-11
BP Key: 39 Status: AVAILABLE Compressed: NO Tag: TAG20111108T093359
Piece Name: C:\ORACLE\PRODUCT\10.2.0\FLASH_RECOVERY_AREA\PRODDB\BACKUPSET\
2011_11_08\O1_MF_ANNNN_TAG20111108T093359_7CJY7TG1_.BKP
List of Archived Logs in backup set 39
Thrd Seq Low SCN Low Time Next SCN Next Time
1 1 2146951 07-NOV-11 2149493 07-NOV-11
1 2 2149493 07-NOV-11 2149519 07-NOV-11
1 3 2149519 07-NOV-11 2149565 07-NOV-11
1 4 2149565 07-NOV-11 2149641 07-NOV-11
1 5 2149641 07-NOV-11 2172859 07-NOV-11
1 6 2172859 07-NOV-11 2197851 07-NOV-11
1 7 2197851 07-NOV-11 2220349 08-NOV-11
1 8 2220349 08-NOV-11 2222621 08-NOV-11
1 9 2222621 08-NOV-11 2222729 08-NOV-11
1 10 2222729 08-NOV-11 2223088 08-NOV-11
BS Key Type LV Size Device Type Elapsed Time Completion Time
40 Full 6.95M DISK 00:00:00 08-NOV-11
BP Key: 40 Status: AVAILABLE Compressed: NO Tag: TAG20111108T093411
Piece Name: C:\ORACLE\PRODUCT\10.2.0\FLASH_RECOVERY_AREA\PRODDB\AUTOBACKUP
\2011_11_08\O1_MF_S_766661651_7CJY84LK_.BKP
Control File Included: Ckp SCN: 2223097 Ckp time: 08-NOV-11
SPFILE Included: Modification time: 08-NOV-11
Thanks in advance!
JayThank you for your reply,Hemant K Chitale!
>
a) Does the directory structur exist on the new server :
D:\DBDATA\PRODDB\ --- for files 1 to 4
D:\ --- for file 5
D:\ORA_DATA\ --- for files 6 to 8
>
Yep, I have doubled check the directory structure that get in the way, and they are all exist.
Would it be something to do with the folder permissions?
>
b) Apparently a RESETLOGS has been issued on 07-Nov. Which controflile backup do you have restored and mounted on the new server ? It should be the one after the RESETLOGS.
>
I restored the one included with the backup. Should I take another backup of controlfile seperately and restore from it instead?
>
(I assume that you did a RESTORE CONTROLFILE followed by sql "alter database mount" before the attempt to RESTORE DATABASE)
>
Yep, that's exactly what I did.
//executed @ RMAN prompt of the new host
startup nomount; 'the new host has the right SPFILE to start with so i didn''t bother to RESTORE SPFILE first.
restore controlfile from autobackup;
alter database mount;
restore database sequence 10 thread 1;
//get stucked here with RMAN-06026, 06023
//...the following is not executed yet.... :-(
recover database until sequence 10;
alter database open resetlogs;Edited by: HappyJay on 2011/11/08 13:25
I have made several attemps with your advice, but still get the same type of errors.
Here is the output:
RMAN> list backup of controlfile;
List of Backup Sets
===================
BS Key Type LV Size Device Type Elapsed Time Completion Time
38 Full 6.95M DISK 00:00:03 07-NOV-11
BP Key: 38 Status: AVAILABLE Compressed: NO Tag: TAG20111107T182034
Piece Name: C:\ORACLE\PRODUCT\10.2.0\FLASH_RECOVERY_AREA\PRODDB\AUTOBACKUP
\2011_11_07\O1_MF_S_766606834_7CH8Q439_.BKP
Control File Included: Ckp SCN: 2151141 Ckp time: 07-NOV-11
BS Key Type LV Size Device Type Elapsed Time Completion Time
40 Full 6.95M DISK 00:00:00 08-NOV-11
BP Key: 40 Status: AVAILABLE Compressed: NO Tag: TAG20111108T093411
Piece Name: C:\ORACLE\PRODUCT\10.2.0\FLASH_RECOVERY_AREA\PRODDB\AUTOBACKUP
+\2011_11_08\O1_MF_S_766661651_7CJY84LK_.BKP+
Control File Included: Ckp SCN: 2223097 Ckp time: 08-NOV-11
as you suggested, this backup piece of controlfile should be right one to be restored.
RMAN> shutdown;
database dismounted
Oracle instance shut down
RMAN> startup nomount;
connected to target database (not started)
Oracle instance started
Total System Global Area 490733568 bytes
Fixed Size 1291360 bytes
Variable Size 364907424 bytes
Database Buffers 121634816 bytes
Redo Buffers 2899968 bytes
RMAN> restore controlfile from autobackup;
Starting restore at 08-NOV-11
allocated channel: ORA_DISK_1
channel ORA_DISK_1: sid=157 devtype=DISK
recovery area destination: C:\oracle\product\10.2.0\flash_recovery_area
database name (or database unique name) used for search: PRODDB
channel ORA_DISK_1: autobackup found in the recovery area
channel ORA_DISK_1: autobackup found: C:\ORACLE\PRODUCT\10.2.0\FLASH_RECOVERY_AR
EA\PRODDB\AUTOBACKUP\2011_11_08\O1_MF_S_766661651_7CJY84LK_.BKP
channel ORA_DISK_1: control file restore from autobackup complete
output filename=D:\DBDATA\PRODDB\CONTROL01.CTL
output filename=D:\DBDATA\PRODDB\CONTROL02.CTL
output filename=D:\DBDATA\PRODDB\CONTROL03.CTL
Finished restore at 08-NOV-11
tried shutdown normally and mount again instead.
RMAN> shutdown;
Oracle instance shut down
RMAN> exit
Recovery Manager complete.
C:\>rman target /
Recovery Manager: Release 10.2.0.3.0 - Production on Tue Nov 8 13:49:42 2011
Copyright (c) 1982, 2005, Oracle. All rights reserved.
connected to target database (not started)
RMAN> startup mount;
Oracle instance started
database mounted
Total System Global Area 490733568 bytes
Fixed Size 1291360 bytes
Variable Size 369101728 bytes
Database Buffers 117440512 bytes
Redo Buffers 2899968 bytes
RMAN> restore database until sequence 10 thread 1;
Starting restore at 08-NOV-11
Starting implicit crosscheck backup at 08-NOV-11
using target database control file instead of recovery catalog
allocated channel: ORA_DISK_1
channel ORA_DISK_1: sid=156 devtype=DISK
Crosschecked 3 objects
Finished implicit crosscheck backup at 08-NOV-11
Starting implicit crosscheck copy at 08-NOV-11
using channel ORA_DISK_1
Crosschecked 2 objects
Finished implicit crosscheck copy at 08-NOV-11
searching for all files in the recovery area
cataloging files...
cataloging done
List of Cataloged Files
=======================
File Name: C:\ORACLE\PRODUCT\10.2.0\FLASH_RECOVERY_AREA\PRODDB\AUTOBACKUP\2011_11_
08\O1_MF_S_766661651_7CJY84LK_.BKP
using channel ORA_DISK_1
channel ORA_DISK_1: starting datafile backupset restore
channel ORA_DISK_1: specifying datafile(s) to restore from backup set
restoring datafile 00001 to D:\DBDATA\PRODDB\SYSTEM01.DBF
restoring datafile 00002 to D:\DBDATA\PRODDB\UNDOTBS01.DBF
restoring datafile 00003 to D:\DBDATA\PRODDB\SYSAUX01.DBF
restoring datafile 00004 to D:\DBDATA\PRODDB\USERS01.DBF
restoring datafile 00005 to D:\ORA_DATA\DATA01.DBF
restoring datafile 00006 to D:\ORA_DATA\DATA02.DBF
restoring datafile 00007 to D:\ORA_DATA\INDX01.DBF
restoring datafile 00008 to D:\ORA_DATA\INDX02.DBF
channel ORA_DISK_1: reading from backup piece C:\ORACLE\PRODUCT\10.2.0\FLASH_REC
OVERY_AREA\PRODDB\BACKUPSET\2011_11_07\O1_MF_NNNDF_TAG20111107T175037_7CH6YYVJ_.BK
P
failover to previous backup
//however, still get the same results(ended up with errors)
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of restore command at 11/08/2011 13:50:29
RMAN-06026: some targets not found - aborting restore
RMAN-06023: no backup or copy of datafile 4 found to restore
RMAN-06023: no backup or copy of datafile 3 found to restore
RMAN-06023: no backup or copy of datafile 2 found to restore
RMAN-06023: no backup or copy of datafile 1 found to restore
Edited by: HappyJay on 2011/11/08 13:59 -
Full database restore and recovery
Hi all,
All my datafiles are corrupted.
I have a incremental level 0 backup
can i restore and recover the db with this backup?
regards,
premwe went for a point in time recovery
while restoring we received the following error.
Full Database restoration failed with error
ORACLE error from target database:
ORA-00600: internal error code, arguments: [2103], [0], [0], [1], [900], [], [], []
ORA-06512: at "SYS.X$DBMS_BACKUP_RESTORE", line 5157
ORA-06512: at line 1
released channel: GMUP1
released channel: GMUP2
released channel: GMUP3
Please help us in this regard -
Oracle Backup and Recovery 101: where can I get more information?
Hey everyone. I'm a pretty new Oracle DBA and backup and recovery is something I want to learn as much about as I can.
I read a blog about "how to be a good DBA" and it really drove home the importance of backups. I know how important they are, I just want to learn more.
What I mean is, I understand a lot of the high level concepts. It is pretty much straight forward. What I am looking for is something that really goes down in the internals of what is going on behind the scenes so I know what is going on.
I thought it would be extremely beneficial for me to learn about user backups. Granted, RMAN is the direction my company is heading to, but right now, we are doing user made backups. My thinking is that if I can get a solid grip and understanding of backup and recovery, user made backups, it will make the transition to RMAN much easier. That way, when I am working in RMAN, issue a command to do backup, I know the equivalent of a user backup and what is going on.
I hope that makes sense.
Is there a recommended book that goes over backup and recovery in depth?
I'd like to learn about all the user-made backup commands that can be executed at the command line (example, putting a tablespace in backup).
Since backups are essential to the life of a DBA, I thought the more I know, the better off I would be.You can always find good information from Oracle document site,
Oracle® Database Backup and Recovery Basics
http://download.oracle.com/docs/cd/B19306_01/backup.102/b14192/toc.htm
Oracle® Database Backup and Recovery Advanced User's Guide
http://download.oracle.com/docs/cd/B19306_01/backup.102/b14191/toc.htm
User managed backup is quite different from RMAN backup. For RMAN backup you need to get familiar with the RMAN command syntax and configure. -
Restore and Recovery problem-XP reinstall
I have a N100 laptop that I am trying to reinstall XP operating system. I have the recovery discs. Started the process in the Rescue and Recovery menu. Part way into the process after putting in the first disc the process will go no further. Just to review how I got thru the menu. I chose option Restore my entire hard drive. then selected backup from CD/DVD. then I get a message: to restore from CD/DVD either insert final C disc or insert final discs of recovery discs. nothing happens when inserting the disc. also-when I restart the computer it always goes to the Rescue and Recovery menu. I can't get a normal Windows startup. Any suggestions of how to get at least to a normal Windows startup and avoid getting to the R and R menu or how to re-format the drive?
Hi dawcary,
I dug out my old x32 that has the recovery discs. The version of Recovery is the same as yours.
Booting from the R&R disc it eventually comes to the window with the two options that you describe, plus a third option to restore factory settings. Choosing to restore to factory settings wipes the drive and installs the predesktop. If you reboot at that point, it will go into the predesktop and that window will then only show the two choices that you listed above.
I don't know why yours doesn't show that third option.
At this point, it sounds like the predesktop is installed on your hard drive and nothing else. Rebooting might be bypassing the cd drive and booting into the predesktop. You probably already did this, but it's the only thing I can think of. Put your R&R disc in the cd drive and start the machine. Press F12 at startup and in the list of bootable devices that comes up, choose cd drive. That "should" give you the third option to restore to factory.
Dave
T430u, x301, x200T, x61T, x61, x32, x41T, x40, U160, ThinkPad Tablet 1838-22R, Z500 touch, Yoga Tab 2 Windows 8.1, Yoga Tablet 3 Pro
Did someone help you today? Press the star on the left to thank them with a Kudo!
If you find a post helpful and it answers your question, please mark it as an "Accepted Solution"!
If someone helped you today, pay it forward. Help Someone Else!
English Community Deutsche Community Comunidad en Español Русскоязычное Сообщество -
T42 HD replaced, can't get restore and recovery disc to work properly
Hello Support Team!
I purchased a ThinkPad from a company going out of business and was happy with it until the hard drive started to freak out. I replaced the hard drive with a new Western Digital 250 GB and ordered the recovery discs from the place in Atlanta. The discs arrived and I thought I was ready for my new computer. I'm following all the directions in the install, changing the startup to boot from the CD. I get the Recovery Welcome Screen and try to click on Restore Factory Settings. At this point, I get a screen that says "In order to proceed, your system must be rebooted". I haven't gotten past this point now matter what I try.
I like this little machine, but I'm afraid I can no longer breathe new life into it????
Do you have any suggestions?
Thanks!
slhackett
Solved!
Go to Solution.OK, that's a good start.
Have you wiped the drive before attempting to install the OS? If not, now would be a good time to do it.
Download the PC Doctor for DOS bootable CD, burn a disk and boot from it.
http://download.lenovo.com/ibmdl/pub/pc/pccbbs/mobiles/1ety48ww.exe
Wipe the drive clean (under utilities), run diagnostics on the rest of the system.
If everything comes back clean, re-try installing the OS.
Good luck and keep us posted.
Cheers,
George
In daily use: R60F, R500F, T61, T410
Collecting dust: T60
Enjoying retirement: A31p, T42p,
Non-ThinkPads: Panasonic CF-31 & CF-52, HP 8760W
Starting Thursday, 08/14/2014 I'll be away from the forums until further notice. Please do NOT send private messages since I won't be able to read them. Thank you. -
Backup and Restore and Recovery
I just recently ran the Backup for my NB255-N245 Notebook with Windows 7 Starter. I did not use the Online Backup but used a USB drive with 128GB of capacity. After doing this I was looking to see what was on the drive because it seemed only 2GB of space was used. I on see 2 items 1 named Notebook and another file MediaID.bin. I am curious what is on this drive and what can be restored or recovered with it? I was originally trying to make a copy of the C drive so I could restore it from the original files, if I am explaining that correctly. This being I think there may be a corrupted file somewhere. I did find out apparently recovery disks seem to be needed to do what I was going to do but not sure if that is correct?
There is a lot of information around, but I will try to explain it in simple terms from my head (sorry, I won't provide links).
Anyway, here is how it is supposed to work.
You must create a user who will be designated as a Data Recovery Agent (DRA).
Do the following on a domain joined workstation - could be a VM.
Encrypt a file using this account so that EFS certificate is created for the DRA.
Export the certificate and export private key. Delete private key during the export.
Save the exported certificate into the safe. Delete exported certificate from the workstation. Optionally, if it was a VM, delete a VM too.
This leaves you with account for DRA that only has the public key, but not the private key. This user can encrypt EFS files, but cannot read them. This is your DRA account. You don't use it for anything else but as a DRA.
So, configure Data recovery policy, using your prepared account as DRA.
That's all.
When you need to recover files, get a new (clean) domain joined workstation - could be a VM.
Get certificate from the safe.
Create a new user JohnDoe.
Import a certificate from the safe to JohnDoe.
Now JonhnDoe has both private and public key and can read EFS encrypted data.
Decrypt the data as you like.
When you are finished, destroy JohnDoe and workstation (VM).
HTH -
Single Tablespace Backup, Restore and Recovery
Hi Experts,
I need your kind help. Actually I want to take hot backup by RMAN for a particular TABLESPACE ..
I know this is possible. My question is when I restore a tablespace to any other test database
I need to create new database or I can restore it to any existing database? Just like adding new tablespace??
To recover this tablespace I need to archive log backup ?
How I can open the database on which I m going to restore/recover this particular tablespace ???
Regards,
RizwanYou cannot copy a tablespace from one database to another using the normal Backup/Restore methods.
You have to use the TTS (Transportable Tablespace) methods.
See http://download.oracle.com/docs/cd/E11882_01/server.112/e17120/tspaces013.htm#ADMIN01101
Hemant K Chitale
http://hemantoracledba.blogspot.com -
I have a T420 CTO that a customer of mine has returned that is passowrd enabled. How can I restore this T420 to its original factory configuration without a password?
Solved!
Go to Solution.@robepur,
You got to obtain the password from your customer.
No discussing of "bypassing" of password here on the Lenovo forums.
No solicitation for, nor exchange of information that will aid or enable unethical, illegal or immoral activities.
For example, no posts concerning exchange of passwords, credit or banking information, warranty entitlement information for purpose of re-entitling out of warranty products. No posts shall include instructions or directions intended to subvert security measures, including passwords, locking mechanisms, fingerprint scans, etc, nor shall any posts provide descriptions to the location of, nor direct links to content related to these topics.
*Non Lenovo employee*
I have a Y2P (i5) ... Feel free to ping me if you want me to test some applications with your Y2P if you have the same model. I don't mind keep doing recovery on it if needed .... =) -
Restore and recovery cases, please add any if i am missing any
in an up database, datafile gets corrupted
in an up database, system file gets corrupted
in an up database, datafile lost
when you start database, log file shows corruption
Please addI am not sure that what exactly you are trying to do, sorry for a dry comment! There are a lot of different cases which are defined in the B/R guide. I must say that you finish them all first reading the B/R guide side by side. Once you are done, read Rama Velpuri's 8i Backup and ecovery guide and practise it. Once you are fnished from both, I doubt that ther would be anything left .
Just my 2 cents.
Aman.... -
Error in Check DB after RESTORE and RECOVER
Hi Team,
System was partially restored and recovered due hardware failure.
We had 3 file systems that had to be restored and in one of them we has "/oracle/BWP/sapdata8/temp_2/temp.data2" data file.
After the restore and recovery , the system was up.When ran check DB , the get the below error message and when i checked in DB02 , everytime when trying to see the datafile inside PSAPTEMP , there is a short dump with the same error message listed below.
Database error text........: "ORA-01157: cannot identify/lock data file 256 -
see DBWR trace file#ORA-01110: data file 256:
'/oracle/BWP/sapdata8/temp_2/temp.data2'"
When checked the restore , looks like "oracle/BWP/sapdata8/temp_2/temp.data2'" was not restored.
Kindly help to check how to correct this error. Even my online backup's are failing.Hello Priyanka,
how did you restore your database?
The temporary files are not included in a backup, because they are not needed for a recovery - that works as designed.
After the recovery you have to add these files again.
If you would have used brrecover for restoring/recovering your database the temporary files would be added automatically.
Check the documentation here:
http://help.sap.com/saphelp_nw70/helpdata/EN/6e/4c37b85dc7f24d88f177396dc45645/content.htm
Now you have to do this manually like this:
shell> sqlplus / as sysdba
SQL> ALTER TABLESPACE PSAPTEMP ADD TEMPFILE '/oracle/BWP/sapdata8/temp_2/temp.data2' REUSE;
Regards
Stefan -
Hi,
I am a newbie in Oracle database 11g Release 11.2.0.1.0 and Oracle Linux and I have questions regarding backup and recovery.
I used the “Schedule Oracle-Suggested Backup” and have it run nightly to back up to local disk. In the Backup Setting, on the Retention Policy, I selected “Retain backup that are necessary for a recovery to any time within the specified number of days (point-in-time recovery) day = 7”
With the setting above, I checked the “Manage Current Backups” and I have many back sets for SPfiles, controlfiles, datafiles, and archivelogs for the last several days. However, for image copies, I have only one set and it get over write nightly. With the configuration above, is that true that I can only recover to any point in last 24 hours?
My goal is to be able to recover any “point-in-time” in the past 5 days, should I change my Retention Policy to “Retain at least the specified number of full backups for each datafile” to 5 backups (each full daily backup)? Please provide some advices. ThanksBy looking the following, it looks like by default its 24 hours but it depends upon the recovery window you choose.
Enterprise Manager makes it easy to set up an Oracle-suggested backup strategy for backups to disk that protects your data and provides efficient recoverability to any point in the a recovery window of your choosing. (In the simplest case, examined in this section, this window is 24 hours.) The Oracle-suggested strategy leverages Oracle's incremental backup and incrementally-updated backup features to provide faster backups than whole database backups, and faster recoverability than is possible through applying database changes from the archived log to your datafiles.
The Oracle-suggested backup strategy is based on creating an image copy of your database. This copy is rolled forward by means of incrementally updated backups. Oracle Enterprise Manager schedules RMAN backups jobs for you to run during the overnight hours.
For each datafile, the strategy calls for backups as follows:
At the beginning of day 1 of the strategy (the time the first scheduled job actually runs), an incremental level 0 datafile copy backup. It contains the datafile's contents at the beginning of day 1. In a restore-and-recovery scenario, the redo logs from day 1 can be used to recover to any point during day 1.
At the beginning of day 2, an incremental level 1 backup is created, containing the blocks changed during day 1. In a restore-and-recovery scenario, this incremental level 1 can be applied to quickly roll forward the level 0 backup to the beginning of day 2, and redo logs can be used to recover to any point during day 2.
At the beginning of each day n for days 3 and onwards, the level 1 backup from the beginning of day n-1 is applied to the level 0 backup. This brings the datafile copy to its state at the beginning of day n-1. Then, a new level 1 is created, containing the blocks changed during day n-1. In a restore-and-recovery scenario, this incremental level 1 can be applied to the datafile rolled forward on day n-1 to the beginning of day n, and redo logs can be used to recover the database to any point during day n.
The datafile copies used in the Oracle-suggested backup strategy are tagged with the tag ORA$OEM_LEVEL_0. The level 1 incremental backups for use in this strategy are created for use with datafile copies that are so labelled. You can safely implement other backup strategies without concern for interference from the backups for the Oracle suggested strategy.
There are also Oracle-suggested strategies that use tape backups along with disk backups, but those are beyond the scope of this chapter.
Maybe you are looking for
-
I am getting data from a flat file and want to know how to create a logical file name instead of hard-coding the path. Please help
-
Best practices for saving files when emailing to the media?
I'm pretty much an Ai imposter. I have Illustrator cs4 (14.0.0) and the way I use it is to cobble my designs together from iStock vector files and a lot of trial and error. Occasionally my husband throws me a lifeline because he is skilled with Photo
-
Think I fried my external FW HD
Today I got the little spinning ball that wouldn't go away, so after the usual things to do I had to force restart by holding down the power button. I have 2 external LaCie firewire drives connected, nothing happened to one the other one won't mount.
-
I want code on placing textbox and Jbutton in a cell of JTable.Please
Dear All, Iam doing project on swing and XMl iam using swing for fron end design. Here i have to use table in one cell i have to put textbox and button. please can any body send me the code. Pleae iam waiting for your valuable code. regards, surya
-
Opening multiple movie files to play sequentially.
Currently, if I highlight several movie (e.g. .avi) files in a Finder window and then double-click on one of them, each of the files is opened in a separate QuickTime window and if I have "automatically play movies when opened" QuickTime preference s