Restore controlfile from backup location
Hi All,
I have a RMAN backup and want to recover my data from backup. RMAN backup has taken by someone but during restore to another DB server I am confused at controlfile point. I can see two controlfile in RMAN backup. Do I need to add both controlfile in restore command or any one controlfile would be okay? Please suggest.
I run below command - rman > restore control file from '<backup location>';
Thanks...
Edited by: user12115 on Jun 15, 2012 5:23 AM
I have a RMAN backup and want to recover my data from backup. RMAN backup has taken by someone but during restore to another DB server I am confused at controlfile point. I can see two controlfile in RMAN backup. Do I need to add both controlfile in restore command or any one controlfile would be okay? Please suggest.
I run below command - rman > restore control file from '<backup location>';In you log file one of backup set contains of data files another backup set contains Controlfile + SPFILE(optional)
Or else you can check from source database
RMAN> list backup of controlfile;
Note that backup piece according to date, and you can use that piece name to restore controlfile.
Similar Messages
-
Restore controlfile from tape backup without autobackup setting on
I am testing a scenraio of restoring control file if we loose all control files.
My RMAN settings for CONTROLFILE AUTOBACKUP is OFF. But, I have taken a backup of controlfile using 'BACKUP CURRENT CONTROL FILE' .
When I tried to restore control file. I am receiving following error:
RMAN> run {
2> allocate channel c101 type sbt_tape;
3> restore controlfile ;
4> }
allocated channel: c101
channel c101: sid=153 devtype=SBT_TAPE
channel c101: VERITAS NetBackup for Oracle - Release 6.0 (2006110304)
Starting restore at 24-MAY-2007 13:44:59
using channel ORA_DISK_1
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of restore command at 05/24/2007 13:44:59
RMAN-06563: control file or SPFILE must be restored using FROM AUTOBACKUP
My question is, How can I restore control file from tape backup without CONTROLFILE AUTOBACKUP setting ON.
It sounds like, There is no way we can restore control file from tape backup if you've not set the CONTROLFILE AUTOBACKUP is ON.
Please adviceWhen all controlfiles are lost and a recovery catalog is NOT used, RMAN has no information , where to find the controlfile backup. It's not enough to specify the channel, such a channel could hold many different backups from many different databases. You have tell , which database and which backupset. Modify your run block:
SET DBID <DBID of the database,for which you want to restore the controlfile>;
RESTORE CONTROLFILE FROM <name_of_backupiece_which_contains_the_controlfile backup>';
Werner -
Restore controlfile from leagato tape backup
I am using legato tool to perform rman tape backup.
I use the following script on legato to get the controlfile backup.
"backup current controlfile format '%d_%s_%p.ctrl'; "
If I lost the controlfile how do i restore controlfile from the tape. Assume that the DB in nomount stage.Hi,
backing up autobackup controlfiles to legato is possible. All you have to do is to configure autobackup accordingly. By default autobackup controlfiles will get written to disk.
However i strongly recommend to use a rman backup catalog. This will save you a lot of time consuming trouble if you need to restore your database.
The rman catalog database itself does not need any license and is rather small (5 GB on disk, 512 MB memory).
Restoring the control file will be something like this:
set controlfile autobackup format for device type sbt to '%F';
restore controlfile from autobackup;
Ronny Egner
My Blog: http://blog.ronnyegner-consulting.de -
Where is the data file for the address book located, I need to restore mine from backup but don't know where it is to do so. Putting my Mac Pro onto icloud synching contacts resulted in duplicate and triplicates of the same cards. I have a few THOUSAND contacts and the last time this happened was on mobile me. that had a function where you could replace info on the mobile me server with info on the computer. I see no way to do that on the new cloud.
In the stupidly hidden user's Library->/Application Support/AddressBook/ labeled as AddressBook-v22.abcddb
For TM restores, see Pondini's TM FAQs for starters, since I don't use TM. -
How to extract controlfile from backup set?
Hi
If I use this "INCLUDE CURRENT CONTROLFILE" in backup command direct to tape and no catalog, How to extract controlfile from backup set from tape?
Thanks,
Taohiko
Edited by: taohiko on Sep 17, 2009 7:54 AMyes
list backup of controlfile
will show you where controlfile backup piece reside with backup piece name
after then
restore controlfile from 'backup_piece_naem_with_its_full_path_from_above_command_result';Khurram -
FOR EXPERTS!! How to restore controlfile from tape using TSM??
Hi ,
I have a backup of my database (controlfiles, datafiles and archives) on tapes (TSM).
I'm doing some tests and i delete all my controlfiles.
Now i'm trying to restore the control file using the following:
RMAN>set DBID=1489198124;
RMAN>run{
allocate channel t1 device type sbt_tape parms 'ENV=(TDPO_OPTFILE=/opt/tivoli/tsm/client/oracle/bin64/tdpo_capdb15p.opt)';
restore controlfile from autobackup;
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of restore command at 05/10/2007 16:25:30
RMAN-06172: no autobackup found or specified handle is not a valid copy or piece
The autobackup is OFF now (i will put this ON later and become a production enviroment).
How can i get the controlfile backup from tape. I have this backup on tape made by RMAN using TIVOLI STORAGE MANAGER.
Tks,
Paulo.This is the command:
run {
allocate channel t1 device type sbt_tape parms 'ENV=(TDPO_OPTFILE=/opt/tivoli/tsm/client/oracle/bin64/tdpo_capdb15p.opt)';
backup current controlfile;
This is my backups!!!
RMAN> list backup of controlfile;
List of Backup Sets
===================
BS Key Type LV Size Device Type Elapsed Time Completion Time
5234 Incr 0 7.25M SBT_TAPE 00:00:06 10-MAY-07
BP Key: 5236 Status: AVAILABLE Compressed: NO Tag: SEMANAL
Handle: BKP_HOT_SEMANAL_02ihckld_1_1 Media: 35240
Control File Included: Ckp SCN: 215589 Ckp time: 10-MAY-07
BS Key Type LV Size Device Type Elapsed Time Completion Time
5254 Incr 1 7.25M SBT_TAPE 00:00:04 10-MAY-07
BP Key: 5260 Status: AVAILABLE Compressed: NO Tag: SEMANAL
Handle: BKP_HOT_SEMANAL_05ihcksm_1_1 Media: 35240
Control File Included: Ckp SCN: 215769 Ckp time: 10-MAY-07
BS Key Type LV Size Device Type Elapsed Time Completion Time
5315 Incr 0 7.25M SBT_TAPE 00:00:05 10-MAY-07
BP Key: 5327 Status: AVAILABLE Compressed: NO Tag: SEMANAL
Handle: BKP_HOT_SEMANAL_0aihcld9_1_1 Media: 35212
Control File Included: Ckp SCN: 216284 Ckp time: 10-MAY-07
BS Key Type LV Size Device Type Elapsed Time Completion Time
5454 Incr 0 7.25M SBT_TAPE 00:00:04 10-MAY-07
BP Key: 5459 Status: AVAILABLE Compressed: NO Tag: SEMANAL
Handle: BKP_HOT_SEMANAL_0gihcmjn_1_1 Media: 35240
Control File Included: Ckp SCN: 217433 Ckp time: 10-MAY-07
BS Key Type LV Size Device Type Elapsed Time Completion Time
5553 Incr 0 7.11M DISK 00:00:01 10-MAY-07
BP Key: 5556 Status: AVAILABLE Compressed: NO Tag: SEMANAL
Piece Name: /oracle/product/10.2.0/db/dbs/BKP_HOT_SEMANAL_0nihcv0m_1_1
Control File Included: Ckp SCN: 260191 Ckp time: 10-MAY-07 -
Restoring controlfile from rman
Hi
Oracle Database 10g Enterprise Edition Release 10.2.0.1.0
on OEL4
I have lost all the control files (infact deleted knowingly to simulate ). i have a full database backup in recovery catalog. I do not know the dbid of database.
I am not able to connect to target database from rman it shows.
RMAN> connect target sys/prod@PROD
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
ORA-12528: TNS:listener: all appropriate instances are blocking new connectionsIs there anyway i can restore controlfiles from rman ? or i need to create controlfiles manually.
Thanks
Edited by: user8896122 on Jan 3, 2010 6:03 AMYou can try on the machine hosting the database:
C:\Users\Pierre>rman target /
Recovery Manager: Release 10.2.0.1.0 - Production on Sun Jan 3 15:29:02 2010
Copyright (c) 1982, 2005, Oracle. All rights reserved.
connected to target database (not started)
RMAN> startup nomount
Oracle instance started
Total System Global Area 805306368 bytes
Fixed Size 1289996 bytes
Variable Size 213909748 bytes
Database Buffers 587202560 bytes
Redo Buffers 2904064 bytes
RMAN>and then you can try to connect to recovery catalog. -
Restore Files from Backup on Vista Home Premium ; HP Pavilion m8120n
Hello,
I backed up files on HP personal media drive M:HP8120 and did a full System Recovery on my HP Pavilion m8120n. Now when I attempt to restore files from a backup made on this computer, the message says there are no backups available on this computer. I tried advanced restore/Restore files from backup made on another computer or restore files for all users on this computer. I can see the file in Select the Backup set to restore window. I select the file and in the next window, select the date to restore from, I get the message “Backup location is not available.” If I click next, in the select the files and folders to restore window, nothing is listed. However, I get the opportunity to restore everything in this backup -- add files, add folders, etc. If I click add folders, I don’t see drive M: but I see drive C: and D:.
At this point I am at a loss. Can anyone shed light on my situation?Thanks for the info. It appears that your Time-Warner router is serving a public IP address.
My suggestion is to use the D-Link wireless-router for your local LAN (connect the Time-Warner to the WAN input of the D-Link). If you're concerned about speed issues, you can connect your laptop into the LAN bridge of the D-Link.
If you're worried about speed, you can do a simple before and after experiment to see if the D-link is degrading your I/O throughput. I've used sites speedtest.net with good success in troubleshooting bandwidth issues.
Regards / Jim B / Wireless Enthusiasts
( While I'm an embedded wireless systems engineer at work, on this forum I do not represent my former employer, Hewlett-Packard, or my current employer, Microsoft )
+ Click the White Kudos star on the left as a way to say "thank you" for helpful posts. -
Had 3G, moved to 3GS. Backed up 3G and restored 3GS from backup with no problem on a Dell computer. But now when I want to add songs, I get itunes message of death that the new iphone is synced to another computer and now wants to erase everything. How can I add music without erasing everything on my new iphone?
Yes, I was aware of this but the phrase "Any items imported from audio CDs or acquired from other sources will not copy from your device to the iTunes library." is what worries me. Will this eliminate my Notes, Calendar Events, etc or will it apply mostly just to the music?
-
Hi, after serious problems (troubleshooting didn't help) with my iMac G5 (PPC) running Mac OS X Leopard I've tried to recover my Mac HD via Time Machine (exactly as described by David Pogue on page 242 of the Leopard Missing Manual). However, "Restore system from backup" in the Utilities Menu of my original Leopard installation DVD failed to show up. What can I do?
Any assistance will be greatly appreciated -
BallantHi Ballant,
I'm not very good with TM, nor a fan of it, but our resident king of TM, Pondini, has a vast array of very well done TM trouble shootings...
http://pondini.org/TM/Troubleshooting.html -
When the mac os x cd installer is running you can go to "Utilities" and "Restore System from Backup". Does this command install snow leopard and then add the time machine files or does it just restore the files (meaning you will have to install Snow Leopard first).
Have a read here How do I restore my entire system?
It restores both the OSX system and the user files (applications and data).
Stefan -
Using InDesign CS4 on iMac. Had to restore computer from backup. Licensing has stopped working. Error code 150:30. How can I reestablish my license?
You'll need to have a chat with Adobe Support. Here's a link:
https://helpx.adobe.com/contact.html?step=ZNA_downloading-installing-setting-up_licensing- activation
We can't help you with that here. -
When restore iPhone from backup, why it copying every single app
when restore iPhone from backup, why it is copying every single app from library? any way to restore whatever was backed up from iPhone?
How to restore from backup without sync all my apps? I recently upraded firmware to IOS 7, and then tried to restore from my privouse backup. But it everytime, when it's saying you are successfully restored. but I when I unlock my phone all app icon are dark gray color, means nothing restored and then itunes automactically copying all my app to iPhone like 100+ apps, I dont need all of them.
Again, How to restore from backup without sync all my apps? -
"Restore system from backup" doesn't work
Hi folks! I've got a strange little problem and my normal rampage through Google hasn't dug up anything, so I figured I'd ask it here.
I currently have an early 2011 MacBookPro running 10.6.8 on an Intel SSD. A few days ago I figured I'd install an XP boot camp partition for the occasional bout of gaming (mmm... Skyrim... *dreamy look*)
So I made my Time Machine backup up-to-date, burned a CD with drivers, and let Disk Utility play with the partitions. Only thing was it said it couldn't do the job due to space issues and suggested I wipe the disk first.
Ok, no problem. My Time Machine backup was snug and secure and I've got plenty of install experience. I popped in the Lion DVD I'd burned for my other iMac and booted from it. Strangely, it give me an installation error (I guess it tries to install automatically without user interaction). But that's fine since I didn't want to install Lion anyway (I'm addicted to SL's Spaces). So I ran Disk Utility again with the partitions the way Boot Camp had advised (GUID, 2 partitions). This also worked without a problem.
Then I attempted the option "Restore system from backup" in the Utilities menu, and lo and behold: nothing happens. Nothing happened at all. No drive spin-up, no color wheel, no indication of any activity whatsoever. If I select any of the other options, it opens promptly, but clicking the restore option is as productive as a glob of ant spit on a meteor strike.
So I figure, still no worries, maybe the Lion disk has issues. So I take out my Snow Leopard DVD and boot from that. Never gave problems before, but alas: the iMac refuses to boot from it and starts throwing out 3 beeps every 5 seconds or so. (Googling the beeps pointed me to memory issues. Wait.. Whut?!?)
Okaaay. Then I tried it with my Leopard DVD. Once again, won't boot, beeps.
The Lion DVD seems to be the only DVD I can boot my mac from. The only thing I can guess at is that Apple prevents us from installing with older DVD's because of driver issues, which makes sense I guess. But I had Snow Leopard running fine up until now. I've tried several different partitioning schemes including the default one for an installation, but no cigar. Both Disk Utility and futil show both drives are visible and ok.
Anyone have any ideas? Thanks in advance for your time!
regards,
Meindert Honiglepkitty wrote:
you should see the time machine come up and be able to select a date on the rite. the screen should look like its something out of star trek with several windows going back into a star like looking thing. if you see that then you want to do is select a date then click restore. you will be promoted that doing this will erase the computer, thats ok! its going to erase it and replace it with what your restoring.
You're mixing two very different things. You get the +Star Wars+ display, with the timeline on the right, only when browsing via +Enter Time Machine.+ Restoring something from there +*does not erase your entire computer!+* It only replaces what you've selected to restore.
If you do a full system restore (meaning boot volume), starting with your Install disc (per #14 in the Frequently Asked Questions *User Tip,* also at the top of this forum), there is no "Star Wars" display, and only the drive/partition that you select as a destination for the restore is erased. -
is anyone else having trouble restoring iphone from backup since 2.0. it worked fine with 1.4 but i have tried it once with 2.0 and once 2.0.1 both times it said my backup was corrupt. this is getting real annoying.
I'm about to just thow my iphone 3G out the window. I cannot upgrade the software without it hanging up and not finishing. Then I am forced to try to restore the phone, and it will not restore. I am taking it to an apple genius again today to get it restored. I have not gotten any information that has helped resolve this issue. I've been on the phone with a tier 1 and tier 2 support person for 4 hours about 3 weeks ago and I'm now in the same boat again. Any info on how to make this work would be greatly appreciated!!
Maybe you are looking for
-
How can I get my itunes purchases to play on any mp3 player?
I can't get my itunes purchases to play on my other mp3 players. I don't want to download these programs people suggest on the internet. And really, I shouldn't have to. If I've already paid for the music, why can't I put it on the device I choose?
-
Playing Tracks one At a Time In ITunes
Hi. I am a totally blind person who uses ITunes. I noticed that when playing a track from an album I have purchased from the ITunes store, it plays the rest of the tracks from that album as one playlist, rather than just playing one track at a time.
-
I try to redeem an iTunes GC and I get a "Session Has Timed Out" Message. The same thing happens when I try to download a song, after I'm taken to the SLA page. I sent Apple Support an email. They told me its software on my computer restricting acces
-
Dear All, User had made a service P.O for which rate for a job is Rs 1500 Per Ton. After Completion of Job Service entry done in ML81N, here the TON qty entered is only 33.5 ton instead of 35 ton. Now MIRO is done by FI Use
-
Debugging ABAP Code From Within Webdynpro Application
Hello Experts, We use ABAP RFC Function in Our Java Webdynpro application, We need to debug the parameters pass from the webdynpro application to the ABAP Function. In order to do that we: 1. Defined a JCO connection with "Single Server Connection" a