A question about restoring from cold backup(control file backup not clear)

Hi,
I had another question about restoring the cold backup. My database is in noarchivelog mode and after taking a consistent cold backup, all I need to do is to restore the backup right? -Why I got this question is because: when I backup my control file to trace, I see statements like this:-----
-- Commands to re-create incarnation table
-- Below log names MUST be changed to existing filenames on
-- disk. Any one log file from each branch can be used to
-- re-create incarnation records.
-- ALTER DATABASE REGISTER LOGFILE '/uo1/app1/arch1_1_647102958.dbf';
-- Recovery is required if any of the datafiles are restored backups,
-- or if the last shutdown was not normal or immediate.
RECOVER DATABASE
-- Database can now be opened normally.
ALTER DATABASE OPEN;
My database is in noarchivelog mode now so don't know why these statements (of register the logfile) is there in the backup of control file? so when I restore the cold backup of this database, it will still work correct? (there is no logfile I have only CRD files in cold backup -no archive log files.)
thanks
Nirav

Thanks for your inputs! It is most useful to me.
Regards
Nirav

Similar Messages

  • A question about restoring from an old Time Machine backup

    My computer has been acting very slow and freezing frequently lately.  The spotlight background processess keep hogging the processor, and
    It keeps getting catalog b-Tree corruption.  I've already done one complete reformat of my drive and a restore from a time machine backup hoping it would fix things, and that didn't work.
    I tried a complete reinstall and used the migration assistant to move all my files and settings from my time machine back over to it.
    That worked for about a week, then had b-Tree corruption that could only be fixed with disk warrior.
    I was suspecting a hardware problem, but I have done thourogh tests of my Ram with memtest from single user mode, and a disk surface scan with Tech Tool Deluxe.  Everything checks out.
    I am thinking there is some corrupt system file or setting that is getting reinstalled from my Time machine backup that is messing things up.
    This all is a leadup to my question:
    I would like to try restoring from a much older Time Machine back up (6 months ago or so before I started experiencing problems). 
    If I do that, can I still use Time Machine to restore individual files and directories from later backups?
    I'd like my system settings and applications to be from six months ago, but my desktop files and documents to be from my most recent backup.
    Thanks,
    -Matt

    Yeah, I usually check the FAQs before posting a question.
    They do talk about how to restore from an older back up, but not about what happens to your newer files once you have done it.  They also talk about accessing files from another computer's time machine backup, but its not clear if that would work on a different fork of the same machine. 
    I may just have to learn from experience, but I don't want to risk losing any data.
    I do recommend time machine though.  Its saved me several times.
    If anyone else has experience with this let me know.
    Thanks,
    -Matt

  • Question about restoring from Time Machine backup because of new SSD

    Hi,
    I have a 15" Late 2011 MacBook Pro running 10.10.1 with a Toshiba hard drive inside. I want to replace the Toshiba HDD with a Crucial MX100 SSD. I use a Time Capsule to backup. After I install the SSD, I would want to restore my data to the new SSD using my Time Capsule, but I have a few questions:
    1) My Mac shipped with OS X 10.7; My Mac is running OS X 10.10.1; Should I use Internet Recovery to start the restore (even though when I start OS X Internet Recovery it will download 10.7 recovery), or should I use a USB drive to start Recovery?
    2) After booting into Recovery, do I format/partition the SSD into 1 partition, GUID partition table, Mac OS Extended Journaled, etc before restoring using Time Capsule?
    3) Do I need to use Trim? Please tell me your opinion on the OS X Yosemite and Cindori Trim Enabler controversy.
    4) How do I install Recovery HD on my new SSD?
    5) Please tell me all tips you have about this entire process.
    Thanks,
    Mike

    The ability to load OS X Internet Recovery is provided by firmware independent of the SSD. Just make sure your MBP has the latest firmware, which was released years ago.
    You won't need a separate step to install OS X. Answered more completely in (2).
    Merely format the SSD Use Mac OS X Extended (Journaled) and as many partitions as you desire. One is sufficient.
    Only Crucial can answer that. You might be better off purchasing a SSD from a company known to support Macs, such as OWC / MacSales. I have several of their SSD products and haven't had to devote a moment of thought to Trim.
    That's done by virtue of the Recovery firmware. It will recognize that no Recovery partition exists and will create one, after which you won't have to use OS X Internet Recovery (though it will remain an option).
    If you obtain your SSD from OWC that's really all you need to know. Mechanically, it's not much more complicated than installing memory. As far as recovering the original HD's contents, restoring from the Time Machine backup is also straightforward. TM doesn't know and doesn't care that it's a SSD.

  • Question about Restoring from an iTunes Backup

    I just did a restore from an iTunes backup on my iPhone 5 and noticed that the restore process seemed different than before.  iTunes went through the restore process and once it appeared that it had finished restoring, I went to the home screen and all of my apps from the previous backup were missing.  Then iTunes went into the syncing process and I saw each of the apps download onto the home screen one by one. Before I thought the restore process covered all of this in one action, whereas now it seems to do the first part of the restore then the app syncing.  Is this what a normal restore from iTunes backup looks like?

    The ability to load OS X Internet Recovery is provided by firmware independent of the SSD. Just make sure your MBP has the latest firmware, which was released years ago.
    You won't need a separate step to install OS X. Answered more completely in (2).
    Merely format the SSD Use Mac OS X Extended (Journaled) and as many partitions as you desire. One is sufficient.
    Only Crucial can answer that. You might be better off purchasing a SSD from a company known to support Macs, such as OWC / MacSales. I have several of their SSD products and haven't had to devote a moment of thought to Trim.
    That's done by virtue of the Recovery firmware. It will recognize that no Recovery partition exists and will create one, after which you won't have to use OS X Internet Recovery (though it will remain an option).
    If you obtain your SSD from OWC that's really all you need to know. Mechanically, it's not much more complicated than installing memory. As far as recovering the original HD's contents, restoring from the Time Machine backup is also straightforward. TM doesn't know and doesn't care that it's a SSD.

  • Question about restoring from backup

    The local Apple store swapped out my iphone 4 for a new one yesterday because of issues with the headphone jack. When I restored from backup, all texts, contacts, call records, etc. moved over perfectly. However, it didn't copy my books, music or photo album (my camera roll is intact, just not my photo album). I was essentially able to recreate them, but was wondering if I should change any sync settings. Thanks.

    No iTunes content on your iPhone is included with your iPhone's backup - no music, movies, tv shows, podcasts, 3rd party apps, or books, and the same for photos transferred from your computer. This data should remain on your computer so it isn't necessary to include this data with your iPhone's backup taking up double the storage space for this data on your computer's hard drive.
    Your selections under the various tabs for your iPhone sync preferences with iTunes should be included with your iPhone's backup. After the backup for a previous iPhone is transferred to a new iPhone or after an iPhone is restored with iTunes from the iPhone's backup, this must be followed by a sync with iTunes to transfer your selections under the various tabs for your iPhone's sync preferences with iTunes back to your iPhone, which should be automatic when transferring a backup to a new iPhone and when restoring an iPhone from the iPhone's backup.

  • Question about restoring from previous iPhone 4 backup...

    Had to replace my iPhone 4 due to Prox. Sensor issues. I went to set up the new one, but it said i couldt because the software on the new iPhone was older than that on the previous, so i could only setup as "New". Now that i have it up to 4.1, can i add all the backup data from my previous iPhone? Theres a lot of texts and stuff id like to get back....photos etc...

    Yes, after you update to 4.1 you should be able to restore the backup to the phone. Right click the device tab on the left side of iTunes, and select "Restore from Backup."
    Do not sync or backup your new phone before doing this as the old backup will be overwritten.

  • Question about restoring from Time Machine

    Hi Everyone, first post so i'll make it a simple one.
    Thankfully, i have never had to restore too much from my back up (TM) drive, Photos/maybe a movie etc... But i always keep an up to date backup, just in case.
    Does anyone know whether or not when you restore an application, for example, if time machine will restore all the necessary preferences/additional information?
    Also, I have a new Macbook Pro on the way. I've read up about moving my photos/music over to a new machine. But how would be a good way of moving applications? I'm not sure if i can move Aperture etc... over and keep the full licensed copy i got way back when it first came out?
    Basically, will time machine be the solution i need to get my new mac, full of everything i had on my old one?
    Many thanks.
    Rich.

    Be sure you have a full, complete recent back-up of your old system on Time Machine (don't exclude any files or folders). Then, with your Time Machine back-up drive attached, put in the install disk that will come with your new machine, choose your language, and on the next page choose restore from back-up, selecting your most up-to-date TM backup. That should give you the exact same machine on your new computer as your old one.

  • Question about restore from Timemachine

    Today, I did a restore from Time Machine of my "Pictures" folder. I was surprised to see that it blessed and renamed the "new" Pictures folder, "Pictures (original)". Is this normally what it does ie rename a folder like this. Moreover, the folder name seems read only, and defies any attempt to rename it just "Pictures". Any insight would be welcome.
    Thanks in advance and a happy upcoming New Year to all.

    Well, after about 20 hrs its done "processing" and all is in order.  So I guess when you do a full restore from TimeMachine it acts like a new import.

  • Question about restoring a backup.

    Question about restoring a backup. I want to restore an old back up to recover messages and photos. If I restore my iPhone with this old backup, will it delete any CURRENT text messages that I currently have on my phone? Same concern current photos on my phone. Thanks!

    Hello,
    I'm having a problem ....
    My phone was giving me trouble and I had to completely wipe everything from it. I had backup on my PC , but when I connect my wiped phone back to my PC, it couldn't recognize it , so I got a question...something like "this phone is connected first time....do you want to authorize this computer...blah,blah" ,
    but than I've got next question, something like "do you want to merge data or you want to overwrite your phone" and I've pressed "merge" by accident
    Now....is there any way back from it? How I can get data from all apps back to my phone ?
    All app's are there, but all of them are empty ! Please help!

  • Restore from cold backup (rac server)

    Hi All,
    Oracle version : 10g
    OS : SunOS dixie1 5.10 Generic_118855-36 i86pc i386 i86pc
    I am having cold backup of RAC server (2 nodes), I want to restore from cold backup.
    The problem is that : when i performed the cold backup using rman at that time Oracle was having 3 ASM diskgroups.But unforunately that disk is no more in use due to some fault.
    Now my question is how can i restore from the cold backup as when i'll restore from the cold backup this will ask for the same ASM diskgroups.Even more if i creates the same diskgroup with the same name and same configuration then my doubt is that rman will allow me to restore the same from the cold backup as ASM disk header changed now ?
    Thanks,
    Vipin

    VipinK wrote:
    Hi All,
    Oracle version : 10g
    OS : SunOS dixie1 5.10 Generic_118855-36 i86pc i386 i86pc
    I am having cold backup of RAC server (2 nodes), I want to restore from cold backup.
    The problem is that : when i performed the cold backup using rman at that time Oracle was having 3 ASM diskgroups.But unforunately that disk is no more in use due to some fault.
    Now my question is how can i restore from the cold backup as when i'll restore from the cold backup this will ask for the same ASM diskgroups.Even more if i creates the same diskgroup with the same name and same configuration then my doubt is that rman will allow me to restore the same from the cold backup as ASM disk header changed now ?
    Yes.You can do these and restore/recover your database.First you need startup your ASM instance then create your ASM disk groups and do following:
    1.Edit pfile and change controlfile location to diskgroup(Consder that +dgr1)
    2.Restore controlfile to this disk group using backup of controlfiles(you say that is cold backup)
    rman target /
    /*Instance  need starting up from pfile*/
    startup nomount ;
    /*then restore controlfile,give full path of controlfile from coldbackup*/
    restore controlfile from 'coldbackup_location\coltrolfile';
    alter database mount;
    catalog start with 'coldbackup_location';
    backup as copy database format  '+dgr1';
    switch database to copy;
    alter database open;

  • Transfered files from Mac Pro to iMac OS10.7. Copied bookmarks using "backup and restore" from "Organize bookmarks". File copied correctly as bookmarks 10-10-11.jsom, but would not restore on new iMac.

    Transfered files from Mac Pro to iMac OS10.7. Copied bookmarks using "backup and restore" from "Organize bookmarks". File copied correctly as bookmarks 10-10-11.jsom, but would not restore on Firefox on new iMac.

    Firefox 2 versions use the file bookmarks.html to store the bookmarks.
    See http://kb.mozillazine.org/Backing_up_and_restoring_bookmarks_-_Firefox
    See also http://kb.mozillazine.org/Transferring_data_to_a_new_profile_-_Firefox
    With Mac OS X 10.4 you can use Firefox 3.5 or 3.6
    * http://www.mozilla.com/firefox/all.html
    * http://www.mozilla.com/firefox/all-older.html
    *http://www.mozilla.com/en-US/firefox/system-requirements.html
    *http://www.mozilla.com/firefox/system-requirements-v3.html

  • Restore Backup control file doubt ?

    when restoring backup control file why we need to set the DBID first?
    Thankx..

    When using a recovery catalog and attempting to restore a lost control file, you encounter an error if there are other databases are registered in the recovery catalog with the same name as your target database. To resolve this error, you must uniquely identify the database by DBID for the restore operation. This requires determining the correct DBID for your database, and then using the SET DBID command to identify the target database before the RESTORE CONTROLFILE.

  • Control File Backups

    Hello-
    I was looking over some configurations that was setup by another DBA.
    There are 3 control files created but they all are on the same disk/directory.
    Control file auto backup is on to tape.
    If there was a hardware failure and all three control were corrupted/lost then a backup would be used but
    full recovery and RESETLOGS would be needed which would lead to redo data loss.
    If I configured 1 control file on a seperate disk. I would be able to copy this one and create 3 files again and the database
    would be started again without needing recovery if all else was fine.
    If the control keeps track of redo logs SCN, Archive logs history and RMAN backups when these change then wouldn't another control file backup/ trace need to be done ?
    Control File Trace only alllows to rebuild the database not to copy. How often is the need to taken ? Every change in the database ?
    Backup to the Flash Recovery is another backup not an updated copy to copy from but to restore/recovery with.
    Do have have these theories correct and my best setup would to send at least one to another disk.
    Thanks-

    If there was a hardware failure and all three control were corrupted/lost then a backup would be used but
    full recovery and RESETLOGS would be needed which would lead to redo data loss. No. If you lose all three controlfiles, you either
    a. RESTORE a backup of the controlfile
    OR
    b. CREATE CONTROLFILE (from a script)
    In either case, you do NOT need to do an INCOMPLETE Recovery. You will be doing a COMPLETE Recovery (if you have the Online Redo Logs). However, an OPEN RESETLOGS is still required. The %r in the log_archive_format since 10g allows ArchiveLogs to be retained through ResetLogs.
    If the control keeps track of redo logs SCN, Archive logs history and RMAN backups when these change then wouldn't another control file backup/ trace need to be done ? If you RESTORE the controlfile you lose no information. However, you still have to OPEN RESETLOGS.
    If you do a CREATE CONTROLFILE, yes, you lose information about ArchiveLogs history and RMAN Backups.
    You can issue a CATALOG command to re-catalog available Backups.
    Control File Trace only alllows to rebuild the database not to copy.A Control File Trace is to recreate the Controlfile. Not rebuild the database.
    Backup to the Flash Recovery is another backup not an updated copy to copy from but to restore/recovery with. I don't understand what your statement or question might be here.
    Hemant K Chitale
    http://hemantoracledba.blogspot.com
    Edited by: Hemant K Chitale on Mar 2, 2011 2:44 PM
    Edited by: Hemant K Chitale on Mar 2, 2011 2:45 PM

  • Need a help: how to recover using backup control file?

    Please a help:
    First computer
    1. I create a database
    2. put it in archive mode,
    3. shutdown and made a cold backup
    4. Created backup control file (alter database backup control file to trace)
    5. I started up and created some archived log files.
    Second Computer
    1. I copied all files created in the step 3 above except the control file
    2. I create all the same map directory on the 2nd computer as in the 1st computer
    3. I recreate the control file from the script got in the step 4 above
    4. I Copy archived log files generated at the step 5 in the local directory in the second computer
    5. I set the logsource and set the autorecovery to on
    6. I recover the database: RECOVER DATABASE USING BACKUP CONTROL FILE UNTIL CANCEL
    Error got:
    the archived log file applied do not go beyond the first one?,How could I do to applied all archived log files copied from the first computer to the second computer to have the same data?
    Thank you very much

    archived log sequeces in the first computerSQL> select sequence#,first_change#,next_change# from v$log_history;
    SEQUENCE# FIRST_CHANGE# NEXT_CHANGE#
    1 553723 555484
    2 555484 557345
    Actions I did in the second Computer(after copied the former two archived log files from the 1st computer)
    SQL> CREATE CONTROLFILE REUSE DATABASE "ORCL" RESETLOGS ARCHIVELOG
    2 MAXLOGFILES 16
    3 MAXLOGMEMBERS 3
    4 MAXDATAFILES 100
    5 MAXINSTANCES 8
    6 MAXLOGHISTORY 292
    7 LOGFILE
    8 GROUP 1 'C:\ORACLE\PRODUCT\10.2.0\ORADATA\ORCL\REDO01.LOG' SIZE 50M,
    9 GROUP 2 'C:\ORACLE\PRODUCT\10.2.0\ORADATA\ORCL\REDO02.LOG' SIZE 50M,
    10 GROUP 3 'C:\ORACLE\PRODUCT\10.2.0\ORADATA\ORCL\REDO03.LOG' SIZE 50M
    11 -- STANDBY LOGFILE
    12 DATAFILE
    13 'C:\ORACLE\PRODUCT\10.2.0\ORADATA\ORCL\SYSTEM01.DBF',
    14 'C:\ORACLE\PRODUCT\10.2.0\ORADATA\ORCL\UNDOTBS01.DBF',
    15 'C:\ORACLE\PRODUCT\10.2.0\ORADATA\ORCL\SYSAUX01.DBF',
    16 'C:\ORACLE\PRODUCT\10.2.0\ORADATA\ORCL\USERS01.DBF'
    17 CHARACTER SET WE8ISO8859P1
    18 ;
    Control file created.
    SQL> archive log list;
    Database log mode Archive Mode
    Automatic archival Disabled
    Archive destination USE_DB_RECOVERY_FILE_DEST
    Oldest online log sequence 0
    Next log sequence to archive 0
    Current log sequence 0
    SQL> alter database archivelog;
    Database altered.
    SQL> set logsource C:\local_destination1_orcl
    SQL> set autorecovery on;
    SQL> recover database using backup controlfile until cancel;
    ORA-00279: change 555611 generated at 01/18/2007 14:14:14 needed for thread 1
    ORA-00289: suggestion :
    C:\LOCAL_DESTINATION1_ORCL\ARCH.1_1_612194518_43F17CF5.ARC
    ORA-00280: change 555611 for thread 1 is in sequence #1
    ORA-00328: archived log ends at change 555483, need later change 555611
    ORA-00334: archived log:
    'C:\LOCAL_DESTINATION1_ORCL\ARCH.1_1_612194518_43F17CF5.ARC'
    Idon't know where the change 555611 is coming from?

  • Recovery using backup control file

    Hello friends,
    I have a scenario where i am unable to recover by database by using backup control file option can u pls give ur expert advice.
    1) Database is working in ARCHIVE MODE.
    2) One of my file was READ ONLY when i take my closed backup. At this time
    v$log file output is :
    group# thread# sequence# bytes member arc status first_change#
    1 1 8 8192 2 yes inactive 4697463
    2 1 9 8192 2 yes active 4717493
    3 1 10 8192 2 no current 4717738
    3) After 2-3 log switches i have made it READ WRITE.
    4) After making it READ WRITE i have taken controlfile backup by using
    ALTER SYSTEM BACKUP CONTROLFILE TO 'E:\ORACLE\CONTROL01.CTL';.
    5) Again i have make some log switches.
    6) Shutdown my database using SHUTDOWN option.
    7) Copy my SYSTEM,UNDO,USER,INDEX datafiles from my backup (taken at
    step 2) and CONTROL file (taken at step 4).
    8) I have not copied my old redo log files so those are new.
    9) I mount database & then use this command to recover database :
    RECOVER DATABASE USING BACKUP CONTROLFILE AUTO;
    10) My recovery process starts applying archived log files and applied upto
    sequence no 9. When it starts applying last one 10 which is online redo log
    and not yet archived my recovery process fails by giving this error:
    ORA-00308: cannot open archived log 'd:\oracle\oradata\practice\archive\1_10.dbf'
    ORA-27041: unable to open file
    OSD-04002: unable to open file
    O/S-Error: (OS 2) The system cannot find the file specified.
    11) I try to open database using :
    ALTER DATABASE OPEN RESETLOGS;
    it gives following warning:
    Error at line 1:
    ORA-01113: file 1 needs media recovery
    ORA-01110: datafile 1: 'D:\ORACLE\ORADATA\PRACTICE\SYSTEM01.DBF'
    Please guide me why it is so ?
    Whether in BACKUP CONTROL FILE CASES system didn't recognise ONLINE REDO LOG FILES or it is anything else.
    Regards
    Sethi

    Hi,
    >>I am not using RMAN. I am taking user managed backups. Moreover i have tried what u said that make checkpoints also but again i came to the same result when it try to apply last archived log which was current redo log when database was started to shutdown it says unable to find the specified file & then when i open database using resetlogs it says system file needs media recovery.
    it show error because you are using wrong approach of Recovery.
    Alter database open Resetlog command is used only in incomplete recovery.
    but your are giving
    Recover database command,it means ur performing full recovery (means you have apply online redo logfile.) and after applying it you should open the database with Alter database Open command.
    No need to give resetlog option.
    Again Restore all backup;
    Issue Recover database;
    and open the database with
    Alter database open;
    Thanks
    Kuljeet Pal Singh

Maybe you are looking for

  • Need to call Shell script that uses SQL loader in APex4.1/11g

    Hi there! I have a requirement, wherein I have to call a shell script that connects to an external server, ftp's a file in and then uses sqlloader to load data into our table. Now we have the ftp script that does this for another program, but is a sc

  • CS3 javascript XML and attribute adding.

    I've been trying to get something working in CS3 javascript XML for some time and it is getting really frustrating. Say I have: var someXML = new XML("<anElement/>"); someXML.@xxx = "something"; $.writeln(someXML.toXMLString()); gives the output I'd

  • Need nitty-gritty help uninstalling

    My computer crashed during an iTunes upgrade... so then, I've got a/some critical file(s) missing. ITunes can't run w/o the file(s), can't uninstall (using the Windows uninstaller) without the file(s), and can't re-install because it detects a previo

  • New 11g RAC Install (Linux-64)

    I would like to get some advice. I keep getting conflicting arguments - however my plans are to first install Clusterware, next install ASM and then finally the database in an 8 node cluster. Is this the best sequence ? On another topic. An associate

  • Noob with code problem. :P

    Hello, I am a beginner in Flash and I have started to pick away at a couple of tutorials, recently I came up with this error in my code and I can´t seem to figure it out. Error C:\Users\anton\Downloads\Flash games\interactivestorybook\Main.as, Line 1