Restore Oracle Backup into New Oracle Database

Oracle9i Enterprise Edition Release 9.2.0.7.0 - 64bit Production
PL/SQL Release 9.2.0.7.0 - Production
CORE 9.2.0.7.0 Production
TNS for HPUX: Version 9.2.0.7.0 - Production
NLSRTL Version 9.2.0.7.0 - Production
I need the steps on how to restore a backup taken from November into a new database.
Can I just create the new controlfile, mount the database and then perform the restore with the tag option?
All input is appreciated.
Thanks

Jamie CC wrote:
Oracle9i Enterprise Edition Release 9.2.0.7.0 - 64bit Production
PL/SQL Release 9.2.0.7.0 - Production
CORE 9.2.0.7.0 Production
TNS for HPUX: Version 9.2.0.7.0 - Production
NLSRTL Version 9.2.0.7.0 - Production
I need the steps on how to restore a backup taken from November into a new database.
Can I just create the new controlfile, mount the database and then perform the restore with the tag option?
All input is appreciated.
ThanksWhen discuss about restoring then there is not think "creating" control file (CF),there is restoring files(like control,data or archive logs).I exactly do not know which operation you did for this restoration but you can not be create CF without restoring data files.If you have COLD backup then you need just create need directories for traces(background,user dumps) and files(control/data/online log) and set environment variable(ORACLE_HOME,ORACLE_SID) then start database using STARTUP PFILE='PFILE_LOCATION',in this case if you want restore datafiles different location then source database then STARTUP MOUNT PFILE='PFILE_LOCATION' and rename files names using ALTER DATABASE RENAME FILE 'OLD_NAME' TO 'NEW_NAME' then open database as ALTER DATABASE OPEN.If you have HOT backup then after restoring database STARTUP MOUNT and need recover it using RECOVER DATABASE USING BACKUP CONTROLFILE UNTIL CANCEL and apply all available archive logs then you an open database using ALTER DATABASE OPEN RESETLOGS.And Finally if you have RMAN backup(HOT or COLD) then firstly you have to restore spfile from autobackup using RESTORE SPFILE FROM 'AUTOBACKUP_LOCATION'(you need execute this command after STARTUP NOMOUNT) and need again STARTUP FORCE NOMOUNT.After that you have to restore controlfile as same as RESTORE CONTROLFILE FROM 'AUTOBACKUP_LOCATION'.Now you can restore database as RESTORE DATABASE and RECOVER DATABASE then open database with RESETLOGS option.But remember that in oracle 9i you must copy all backups to original/same location as target database.

Similar Messages

  • Newbie Trying to restore Oracle database. please help

    Hi All,
    I am a newbie who is trying to restore Oracle database, I currently use RMAN to backup the database, but the database needs to be restored onto a test server, I'm not quite sure of what I need to do or where I need to start here.
    I currently backup the following
    SPfile
    ControlFile
    Datafile
    Archive Log
    If someone can point me in the right direction or maybe a link to a website, I would be very grateful.
    Thanks.

    Hi,
    login to your box using ssh or telnet
    1. rman> connect target /
    3. rman >startup force nomount;
    4. rman >restore spfile from '/u01/restore/restore/2009_02_07/o1_mf_s_678160942_4rstxj3k_.bkp';
    5. rman > shutdown immediate;
    6. rman > startup nomount;
    7. rman > restore controlfile from '/u01/restore/restore/2009_02_07/o1_mf_s_678160942_4rstxj3k_.bkp';
    8. rman > mount database;
    9. rman > restore database;
    10.rman > recover database;
    11. rman > sql 'alter database open resetlogs';
    below is the sample i've done on my test environment
    RMAN> startup mount;
    connected to target database (not started)
    Oracle instance started
    database mounted
    Total System Global Area 167772160 bytes
    Fixed Size 1218316 bytes
    Variable Size 67111156 bytes
    Database Buffers 96468992 bytes
    Redo Buffers 2973696 bytes
    RMAN> backup database;
    Starting backup at 11-FEB-09
    allocated channel: ORA_DISK_1
    channel ORA_DISK_1: sid=158 devtype=DISK
    channel ORA_DISK_1: starting full datafile backupset
    channel ORA_DISK_1: specifying datafile(s) in backupset
    input datafile fno=00001 name=/u01/app/oracle/oradata/ORCL1/datafile/o1_mf_system_4qzm5q6g_.dbf
    input datafile fno=00003 name=/u01/app/oracle/oradata/ORCL1/datafile/o1_mf_sysaux_4qzm5qc1_.dbf
    input datafile fno=00005 name=/u01/app/oracle/oradata/ORCL1/datafile/o1_mf_example_4qzmky86_.dbf
    input datafile fno=00002 name=/u01/app/oracle/oradata/ORCL1/datafile/o1_mf_undotbs1_4qzm5sgk_.dbf
    input datafile fno=00004 name=/u01/app/oracle/oradata/ORCL1/datafile/o1_mf_users_4qzm5vqj_.dbf
    channel ORA_DISK_1: starting piece 1 at 11-FEB-09
    channel ORA_DISK_1: finished piece 1 at 11-FEB-09
    piece handle=/backup/ORCL1_1_1_678528722 tag=TAG20090211T081201 comment=NONE
    channel ORA_DISK_1: backup set complete, elapsed time: 00:02:35
    Finished backup at 11-FEB-09
    Starting Control File and SPFILE Autobackup at 11-FEB-09
    piece handle=/backup/c-1061732667-20090211-00 comment=NONE
    Finished Control File and SPFILE Autobackup at 11-FEB-09
    RMAN>
    --- deleted all my file including spfile..
    RMAN> shutdown immediate;
    database dismounted
    Oracle instance shut down
    RMAN> exit
    Recovery Manager complete.
    [oracle]:/home/oracle>
    [LinuxForOracle.bai.com]: orcl1 >rman target /
    Recovery Manager: Release 10.2.0.1.0 - Production on Wed Feb 11 08:17:27 2009
    Copyright (c) 1982, 2005, Oracle. All rights reserved.
    connected to target database (not started)
    RMAN> startup nomount;
    startup failed: ORA-01078: failure in processing system parameters
    LRM-00109: could not open parameter file '/u01/app/oracle/product/10.2.0.3/dbs/initorcl1.ora'
    starting Oracle instance without parameter file for retrival of spfile
    Oracle instance started
    Total System Global Area 159383552 bytes
    Fixed Size 1218268 bytes
    Variable Size 54528292 bytes
    Database Buffers 100663296 bytes
    Redo Buffers 2973696 bytes
    RMAN> restore spfile from '/backup/c-1061732667-20090211-00';
    Starting restore at 11-FEB-09
    using target database control file instead of recovery catalog
    allocated channel: ORA_DISK_1
    channel ORA_DISK_1: sid=36 devtype=DISK
    channel ORA_DISK_1: autobackup found: /backup/c-1061732667-20090211-00
    channel ORA_DISK_1: SPFILE restore from autobackup complete
    Finished restore at 11-FEB-09
    RMAN> shutdown immediate;
    Oracle instance shut down
    RMAN> startup nomount;
    connected to target database (not started)
    Oracle instance started
    Total System Global Area 167772160 bytes
    Fixed Size 1218316 bytes
    Variable Size 67111156 bytes
    Database Buffers 96468992 bytes
    Redo Buffers 2973696 bytes
    RMAN> restore controlfile from '/backup/c-1061732667-20090211-00';
    Starting restore at 11-FEB-09
    using channel ORA_DISK_1
    channel ORA_DISK_1: restoring control file
    channel ORA_DISK_1: restore complete, elapsed time: 00:00:16
    output filename=/u01/app/oracle/oradata/ORCL1/controlfile/o1_mf_4s5n6jvq_.ctl
    output filename=/u01/app/oracle/flash_recovery_area/ORCL1/controlfile/o1_mf_4s5n6n4f_.ctl
    Finished restore at 11-FEB-09
    RMAN> mount database;
    database mounted
    released channel: ORA_DISK_1
    RMAN> restore database;
    Starting restore at 11-FEB-09
    Starting implicit crosscheck backup at 11-FEB-09
    allocated channel: ORA_DISK_1
    channel ORA_DISK_1: sid=156 devtype=DISK
    Crosschecked 1 objects
    Finished implicit crosscheck backup at 11-FEB-09
    Starting implicit crosscheck copy at 11-FEB-09
    using channel ORA_DISK_1
    Finished implicit crosscheck copy at 11-FEB-09
    searching for all files in the recovery area
    cataloging files...
    no files cataloged
    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 /u01/app/oracle/oradata/ORCL1/datafile/o1_mf_system_4qzm5q6g_.dbf
    restoring datafile 00002 to /u01/app/oracle/oradata/ORCL1/datafile/o1_mf_undotbs1_4qzm5sgk_.dbf
    restoring datafile 00003 to /u01/app/oracle/oradata/ORCL1/datafile/o1_mf_sysaux_4qzm5qc1_.dbf
    restoring datafile 00004 to /u01/app/oracle/oradata/ORCL1/datafile/o1_mf_users_4qzm5vqj_.dbf
    restoring datafile 00005 to /u01/app/oracle/oradata/ORCL1/datafile/o1_mf_example_4qzmky86_.dbf
    channel ORA_DISK_1: reading from backup piece /backup/ORCL1_1_1_678528722
    channel ORA_DISK_1: restored backup piece 1
    piece handle=/backup/ORCL1_1_1_678528722 tag=TAG20090211T081201
    channel ORA_DISK_1: restore complete, elapsed time: 00:02:57
    Finished restore at 11-FEB-09
    RMAN> recover database;
    Starting recover at 11-FEB-09
    using channel ORA_DISK_1
    starting media recovery
    archive log thread 1 sequence 6 is already on disk as file /u01/app/oracle/flash_recovery_area/ORCL1/onlinelog/o1_mf_2_4qzmccv0_.log
    archive log filename=/u01/app/oracle/flash_recovery_area/ORCL1/onlinelog/o1_mf_2_4qzmccv0_.log thread=1 sequence=6
    media recovery complete, elapsed time: 00:00:01
    Finished recover at 11-FEB-09
    RMAN> sql 'alter database open resetlogs';
    sql statement: alter database open resetlogs
    RMAN> exit
    [oracle]:/home/oracle>
    [LinuxForOracle.bai.com]: orcl1 >sqlplus '/ as sysdba'
    SQL> select name from v$database;
    NAME
    ORCL1
    SQL>
    i hope this will help you... enjoy!
    Regards,
    baidba

  • Restoring Oracle Database

    Hi All,
    If we have to restore Oracle database than is it necessary to drop users everytime while restoring. If not, then what are the steps to restore the database.
    Thanks,
    Nikky

    Nikky wrote:
    Hi All,
    If we have to restore Oracle database than is it necessary to drop users everytime while restoring. If not, then what are the steps to restore the database.
    Thanks,
    NikkySorry but your question is not clear at all,
    please provide the following :
    - what is your oracle version ?
    - your os ?
    - your backup strategy ?

  • TS4036 I have been restoring the backup into a new iphone for a week. My pictures do not get restored however. Is there anything I can do?

    I have been restoring the backup into a new iphone for a week. My pictures do not get restored however. Is there anything I can do?

    Not unless the phone was backed up to the icloud or in iTunes at some point. I know you said it's crushed but can it be connected to a computer? If so you can still back it up in iTunes and then when the new phone comes use iTunes to restore that back up on it.

  • TS4036 I have restored a backup into a new iPad but it did not downloaded all my photos. There is a message saying " downloading 515 of 1230" but it never finishes downloading. How can I get all my photod downloadeda.

    I have restored a backup into a new iPad but it did not downloaded all my photos. There is a message saying " downloading 515 of 1230" but it never finishes downloading. How can I get all my photod downloadeda.

    Sorry this solution is late but I just got off of the phone with Apple support and this worked. 
    Open iTunes
    Connect your iPhone and keep it connected during this entire process.
    In the iTunes menu at the very top (File, Edit, View) choose STORE> Sign in and sign into your iTunes account.
    Once this is complete look at the upper right corner of iTunes and you will see an iPhone and Store button, cick STORE.  Now you will be in the iTunes store where you see the advertisements of the various albums, songs etc.  Look on your upper left of the window for your itunes account name and in the black band next to your iTunes account name, you will see a House icon, then Music, Movies, TV Shows etc.
    Make sure the HOUSE icon is selected.
    Stay on this screen in iTunes and on the lower RIGHT, you will see an area that says- QUICK LINKS.  In that area click - Purchased
    After you do this you will be transported to another area of iTunes.  Here there will be a menu across the top- Music, Movies, TV Shows, Apps, Books are the choices. 
    Choose APPS and you will see the apps that you have purchased.  You will also see the apps that didn't download to your phone. 
    Find the apps that didn't download and click the cloud next to their name.  Doing this will download the chosen apps to the computer you are on. 
    Once you have downloaded the apps in question, in the upper right corner click LIBRARY.
    Now you should see the button that says iPhone because your phone is still plugged in.  Click the iPhone button and then click SYNC on the lower right to sync your iPhone.  
    The apps you downloaded will now be on your phone.
    Sorry for the long instructions but this is what works.

  • Error while restoring oracle database by using brrestore command

    Dear Experts ,
    please check and give me your suggesitions on my issue
    now we are trying to restore my oracle database from prd to quality
    by using brrestore command
    and it is terminated with an error at persent 30 %
    error log
    BR0278E command output of 'LANG=C dd ibs=64k if=/dev/rmt/ocbn of=/oracle/QAS/sapdata1/sr1_11/sr1.data11';
    BR0359E Restore of /oracle/QAS/sapdata1/sr1_11/sr1.data11 from /dev/rmt/ocbn failed due to previous errors
    BR0406I End of file restore
    BR0404I brrestore terminated with errors
    Regards

    Ershad Ahmed wrote:
    Hi Swathi,
    >
    > Before performing the restore i would always restore control file from the backup to make sure that restore is working
    Hi,
    he already restored 30%, so I think we can safely assume at least some stuff did work.
    Allthough I agree that since the controlfile is saved last, this is a good test.
    Seems to be either a dirty tape (clean drive, repeat) or a faulty backup ( ugh ).
    When you retry after cleaning, you can use -f (fillup) to save the restore from retrieving the files it allready got.
    Check the initSID.sap for the backup  & restore commands and esp. the bs= / ibs= / obs= options.
    Volker

  • Restore RMAN backup on new server

    Hi
    I took RMAN backup of a database with control file autobackup on...I copied the backup
    to a new server restored the spfile from the backup and modified the parameters
    bdump,udump,control file because the directory structure is different from the original
    machine.I restored the control file and it was restored properly.
    Now I need to restore the datafiles in the new path so I used set newname and switch
    but I get some error ....I have posted the error please look at it
    RMAN> run
    2> {
    3> set newname for datafile 1 to 'E:\ORACLE\METAGRID\ORADATA\METAGRID\SYSTEM01.DBF';
    4> set newname for datafile 2 to 'E:\ORACLE\METAGRID\ORADATA\METAGRID\UNDOTBS01.DBF';
    5> set newname for datafile 3 to 'E:\ORACLE\METAGRID\ORADATA\METAGRID\SYSAUX01.DBF';
    6> set newname for datafile 4 to 'E:\ORACLE\METAGRID\ORADATA\METAGRID\USERS01.DBF';
    7> set newname for datafile 5 to 'E:\ORACLE\METAGRID\ORADATA\METAGRID\TSDATA_01.DBF';
    8> set newname for datafile 6 to 'E:\ORACLE\METAGRID\ORADATA\METAGRID\TSIDX01.DBF';
    9> set newname for datafile 7 to
    'E:\ORACLE\METAGRID\ORADATA\METAGRID\TSDATA_AUDIT01.DBF';
    10> restore database;
    11> switch datafile all;
    12> recover database;
    13> }
    executing command: SET NEWNAME
    executing command: SET NEWNAME
    executing command: SET NEWNAME
    executing command: SET NEWNAME
    executing command: SET NEWNAME
    executing command: SET NEWNAME
    executing command: SET NEWNAME
    Starting restore at 11-NOV-10
    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 E:\ORACLE\METAGRID\ORADATA\METAGRID\SYSTEM01.DBF
    restoring datafile 00002 to E:\ORACLE\METAGRID\ORADATA\METAGRID\UNDOTBS01.DBF
    restoring datafile 00005 to E:\ORACLE\METAGRID\ORADATA\METAGRID\TSDATA_01.DBF
    restoring datafile 00006 to E:\ORACLE\METAGRID\ORADATA\METAGRID\TSIDX01.DBF
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of restore command at 11/11/2010 12:38:24
    ORA-19693: backup piece E:\RMAN\DB_0FLSLJH1_1_1 already included

    Try to clear and recatalog the backups to be used, before the restore:
    rman target /
    crosscheck backup;
    delete expired backup;
    catalog start with 'path_to_your_backup';

  • Restoring from backup to new location + not wanting files renamed

    Hi there - I am a newbie to this forum.
    I have a Win XP machine that recently needed to have the hard drive wiped and the OS re-installed. Fortunately I had a recent backup of all my data so I'm in a good starting position for a restore. However I have some questions as the re-install of the OS has had a change in profile name.
    Before my machine was wiped, I had a "Daniel" profile and so my "iTunes Media folder location" was set to C:\Documents and Settings\Daniel\My Documents\My Music.
    After my PC was rebuilt, a new profile was created called "dnl". iTunes has been re-installed (version 10.1.2.17). The first time I launched iTunes the "iTunes Media folder location" was set to C:\Documents and Settings\dnl\My Documents\My Music. I did NOT choose to have iTunes browse/load my files and so currently iTunes shows no files or playlists.
    I have recreated the C:\Documents and Settings\Daniel\My Documents\My Music folder from my backup so all the music files and the previous libraries are presently in this location. However even if I change the "iTunes Media folder location" within iTunes to point to the "old" location, it doesn’t find the files or libraries.
    I have tried deleting the following files from C:\Documents and Settings\dnl\My Documents\My Music\iTunes:
    iTunes Library Extras.itdb
    iTunes Library Genius.itdb
    iTunes Library.itl
    iTunes Music Library.xml
    I did this assuming that the next time iTunes was launched, it would refer to the old location (as specified as my "iTunes Media folder location"), find the old library files there and use them. However it seems to ignore them and simply re-creates the files above in the location I deleted them from.
    So…I am unclear as to the best strategy to have iTunes point back to the old location to find the music files and retain all the playlists I had.
    I found this thread: http://support.apple.com/kb/ht1364. It mentions a method that will find all the files in the old location and move them to the new location, retaining playlists, artwork etc. Once the data has been copied, it advises to delete the files from the original location.
    However I see that it mentions checking the ‘Keep iTunes Media folder organized’ option. From reading other threads I know this to be a source of one very irritating problem – it renames all the file names. I have specifically ripped my music using software other than iTunes for the express purpose of being able to tag the filenames with more specific info than iTunes would. I like the files to named <artist>-<album>-<track no>-<track title>.<file extension> and am not a fan of the very basic filenames that iTunes assigns.
    So…I want to have iTunes simply point back to the old location and not do any file renaming. I am happy enough to have iTunes simply point to a location that isn’t technically part of my current profile. I don’t have a desperate need for the files to be moved to the dnl profile.
    So…I am guessing there has to be some other file (or registry setting?) that knows where best to point to? Can this modified?
    I would be appreciative of any assistance.
    Thanks!

    Hi Daniel, welcome to Apple Discussions.
    The default location for the iTunes library folder is <Profile><Music>iTunes with the media folder at *<Profile>\<Music>\iTunes\iTunes Media*. For XP the <Music> folder is My Documents\My Music.
    When iTunes starts up it looks for a set of library files in the last location it used. If that location is also the default location and it can't find the library files it assumes it has just been installed and creates a new set.
    Changing the location of the *iTunes Media* folder in preferences does not change which set of library files it opens, nor will it automatically detect all the media in that location.
    Ideally you should restore the folder iTunes and all its subfolders from your backup into *C:\Documents and Settings\dnl\My Documents\My Music* and start iTunes. All should work perfectly and, as far as iTunes is concerned, you will be using the same library as you used to. Any iDevices should sync without problems.
    If you media was not is the usual locations or you are unable to restore the entire iTunes folder then things become more complicated. Post back if you still have trouble and I will try to go into more detail.
    tt2

  • Restoring Rman backup on New Host with different directory structure

    Hi,
    I have a following scenario to clone the database.
    1. clone the database on new server
    2. source is non - ASM and target is ASM
    3. On source incremental level 0 backup taken on disk connecting to catalog, the backup is moved to target host to different directory structure
    4. source is running on 32-bit Linux two node Rac and Target is running on 64-bit Linux two node Rac
    I did the following steps and getting below error:
    1. I copied incremental Level 0 backup to target server(where we need to build new db) to different directory structure
    2. On target i created pfile and build the instance, as dbf file are in multiple locations in source i put following tow parameters in init.ora of target database
    *.db_file_name_convert =(/u02/oradata/app1p/,+QADATA2/udev/datafile),(/u03/oradata/app1p/,+QADATA1/udev/datafile),(/u12/oradata/app1p/,+QADATA1/udev/datafile,),(/u99/oradata/app1p/,+QADATA1/udev/datafile),(/u09/oradata/app1p/,+QADATA1/udev/datafile),(/u14/oradata/app1p/,+QADATA1/udev/datafile),(/u07/oradata/app1p/,+QADATA1/udev/datafile),(/u06/oradata/prod/,+QADATA1/udev/datafile'),(/u05/oradata/app1p/,+QADATA1/udev/datafile)
    *.log_file_name_convert =("/u99/oradata/app1p/","+QADATA2/udev/onlinelog/")
    3. connected to rman -->> started db in nomount -->> restored the controlfile --> cataloged the backup piece and then i am trying to restore
    All the above steps i did using the Doc id *How To Restore Rman Backups On A Different Node When The Directory Structures Are Different [ID 419137.1]*
    script i am using is :
    RMAN> run {
    2> set until time "to_date('DEC/20/2010 05:30:00','Mon/DD/YYYY HH24:MI:SS')";
    3> allocate channel c1 device type disk;
    4> allocate channel c2 device type disk;
    5> allocate channel c3 device type disk;
    6> allocate channel c4 device type disk;
    7> set newname for datafile 1 to '+QADATA1/UDEV/DATAFILE';
    8> set newname for datafile 2 to '+QADATA1/UDEV/DATAFILE';
    9> set newname for datafile 3 to '+QADATA1/UDEV/DATAFILE';
    10> set newname for datafile 4 to '+QADATA1/UDEV/DATAFILE';
    11> set newname for datafile 5 to '+QADATA1/UDEV/DATAFILE';
    12> set newname for datafile 6 to '+QADATA1/UDEV/DATAFILE';
    13> set newname for datafile 54 to '+QADATA1/UDEV/DATAFILE';
    set newname for datafile 63 to '+QADATA1/UDEV/DATAFILE';
    14> 15> set newname for datafile 67 to '+QADATA1/UDEV/DATAFILE';
    16> set newname for datafile 68 to '+QADATA1/UDEV/DATAFILE';
    17> set newname for datafile 50 to '+QADATA1/UDEV/DATAFILE';
    18> set newname for datafile 39 to '+QADATA1/UDEV/DATAFILE';
    19> set newname for datafile 38 to '+QADATA1/UDEV/DATAFILE';
    20> set newname for datafile 7 to '+QADATA1/UDEV/DATAFILE';
    21> set newname for datafile 9 to '+QADATA1/UDEV/DATAFILE';
    22> set newname for datafile 8 to '+QADATA1/UDEV/DATAFILE';
    23> set newname for datafile 11 to '+QADATA1/UDEV/DATAFILE';
    24> set newname for datafile 10 to '+QADATA1/UDEV/DATAFILE';
    25> set newname for datafile 66 to '+QADATA1/UDEV/DATAFILE';
    26> set newname for datafile 48 to '+QADATA1/UDEV/DATAFILE';
    27> set newname for datafile 47 to '+QADATA1/UDEV/DATAFILE';
    28> set newname for datafile 12 to '+QADATA1/UDEV/DATAFILE';
    29> set newname for datafile 13 to '+QADATA1/UDEV/DATAFILE';
    30> set newname for datafile 14 to '+QADATA1/UDEV/DATAFILE';
    31> set newname for datafile 15 to '+QADATA1/UDEV/DATAFILE';
    32> set newname for datafile 16 to '+QADATA1/UDEV/DATAFILE';
    33> set newname for datafile 18 to '+QADATA1/UDEV/DATAFILE';
    34> set newname for datafile 17 to '+QADATA1/UDEV/DATAFILE';
    35> set newname for datafile 19 to '+QADATA1/UDEV/DATAFILE';
    36> set newname for datafile 69 to '+QADATA1/UDEV/DATAFILE';
    37> set newname for datafile 60 to '+QADATA1/UDEV/DATAFILE';
    38> set newname for datafile 59 to '+QADATA1/UDEV/DATAFILE';
    39> set newname for datafile 55 to '+QADATA1/UDEV/DATAFILE';
    40> set newname for datafile 53 to '+QADATA1/UDEV/DATAFILE';
    41> set newname for datafile 44 to '+QADATA1/UDEV/DATAFILE';
    set newname for datafile 22 to '+QADATA2/UDEV/DATAFILE';
    42> 43> set newname for datafile 21 to '+QADATA2/UDEV/DATAFILE';
    set newname for datafile 20 to '+QADATA2/UDEV/DATAFILE';
    44> 45> set newname for datafile 72 to '+QADATA2/UDEV/DATAFILE';
    46> set newname for datafile 70 to '+QADATA2/UDEV/DATAFILE';
    47> set newname for datafile 65 to '+QADATA2/UDEV/DATAFILE';
    48> set newname for datafile 64 to '+QADATA2/UDEV/DATAFILE';
    49> set newname for datafile 57 to '+QADATA2/UDEV/DATAFILE';
    50> set newname for datafile 56 to '+QADATA2/UDEV/DATAFILE';
    51> set newname for datafile 49 to '+QADATA2/UDEV/DATAFILE';
    52> set newname for datafile 45 to '+QADATA2/UDEV/DATAFILE';
    53> set newname for datafile 26 to '+QADATA2/UDEV/DATAFILE';
    54> set newname for datafile 25 to '+QADATA2/UDEV/DATAFILE';
    55> set newname for datafile 24 to '+QADATA2/UDEV/DATAFILE';
    56> set newname for datafile 23 to '+QADATA2/UDEV/DATAFILE';
    57> set newname for datafile 27 to '+QADATA2/UDEV/DATAFILE';
    58> set newname for datafile 28 to '+QADATA2/UDEV/DATAFILE';
    59> set newname for datafile 29 to '+QADATA2/UDEV/DATAFILE';
    60> set newname for datafile 30 to '+QADATA2/UDEV/DATAFILE';
    61> set newname for datafile 73 to '+QADATA2/UDEV/DATAFILE';
    62> set newname for datafile 32 to '+QADATA2/UDEV/DATAFILE';
    63> set newname for datafile 31 to '+QADATA2/UDEV/DATAFILE';
    64> set newname for datafile 34 to '+QADATA2/UDEV/DATAFILE';
    65> set newname for datafile 33 to '+QADATA2/UDEV/DATAFILE';
    66> set newname for datafile 35 to '+QADATA2/UDEV/DATAFILE';
    67> set newname for datafile 36 to '+QADATA2/UDEV/DATAFILE';
    68> set newname for datafile 37 to '+QADATA2/UDEV/DATAFILE';
    69> set newname for datafile 51 to '+QADATA2/UDEV/DATAFILE';
    70> set newname for datafile 43 to '+QADATA2/UDEV/DATAFILE';
    71> set newname for datafile 40 to '+QADATA2/UDEV/DATAFILE';
    72> set newname for datafile 41 to '+QADATA2/UDEV/DATAFILE';
    set newname for datafile 71 to '+QADATA2/UDEV/DATAFILE';
    set newname for datafile 58 to '+QADATA2/UDEV/DATAFILE';
    set newname for datafile 52 to '+QADATA2/UDEV/DATAFILE';
    set newname for datafile 46 to '+QADATA2/UDEV/DATAFILE';
    set newname for datafile 42 to '+QADATA2/UDEV/DATAFILE';
    73> 74> 75> 76> 77> 78> set newname for datafile 62 to '+QADATA2/UDEV/DATAFILE';
    79> set newname for datafile 61 to '+QADATA2/UDEV/DATAFILE';
    80> set newname for datafile 74 to '+QADATA2/UDEV/DATAFILE';
    81> restore database;
    82> switch datafile all;
    83> recover database;
    84> alter database open resetlogs;
    85>
    86> release channel c1;
    87> release channel c2;
    88> release channel c3;
    89> release channel c4;
    90> }
    Getting the following error, copied lines from the error i am getting.
    executing command: SET NEWNAME
    executing command: SET NEWNAME
    executing command: SET NEWNAME
    executing command: SET NEWNAME
    Starting restore at 27-DEC-10
    released channel: c1
    released channel: c2
    released channel: c3
    released channel: c4
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of restore command at 12/27/2010 08:09:08
    RMAN-06026: some targets not found - aborting restore
    RMAN-06100: no channel to restore a backup or copy of datafile 74
    RMAN-06100: no channel to restore a backup or copy of datafile 73
    Please advice...
    Thanks,
    Tanveer Mohammed

    If you would like, please refer the link:-
    http://gavinsoorma.com/2010/04/creating-an-asm-duplicate-database-from-a-non-asm-database/

  • Music not restoring from backup during new iPhone 5 setup

    Quick question.  Recently puchased iPhone5 and need to transfer everything from old iPhone4.  I've performed a manual backup in iTunes.  When connecting the new phone and selecting restore from backup, it restores everything but the music and the playlists.  I have no idea why.  This process worked with my phone, but when it comes to my wifes the music never restores.  The only difference between the 2 devices is that she likes to manully manage her music, so the sync only checked items and the sync music boxes are unchecked.  I don't see why this would prevent the music from being backed up though.  Any suggestions?

    rockmyplimsoul wrote:
    Instead of manually managing the music on your iPhone, manually manage the contents of a playlist and auto-sync to that playlist.  You're doing the same thing, just managing a playlist instead of your phone.  The beauty of this is that you never lose track of what you manually chose to sync to your iPhone.
    Oh that's what I do now, lol. I just (naively) assumed that my phone was doing that for me, so to speak. When I first put music on my phone (manually) I assumed that if I manually synced my music, the information relating thereto would be included in my backup data. If I had known it wasn't, I would have dumped all my songs into an "iPhone" playlist and then copied that playlist to my phone. Problem solved. I just didn't know that at the time.
    iTunes, and Apple in general, does so many good things that this clearly isn't a huge complaint. But it strikes me that most people who manually selected their "iPhone" music probably don't want to "lose" that carefully selected music when they upgrade their phone. And maybe I'm an idiot but it took me a little digging to wind up here to find out why my music hadn't transferred, and how to go about "rectifying" it (ie you bloody can't, really, you just start anew).
    Maybe I'm asking too much, but I find it strange that there isn't an import feature on the iPhone - provided the corresponding file is found on the iTunes being used. Especially since it's the same computer the phone is synced to, to begin with. A) I'm giving music to myself, B) I'm not even giving myself music, because I already have the corresponding music in iTunes, so there's clearly no threat of file-sharing. Barring that, maybe a warning when you choose to manually sync music to your phone. (Apologies to Apple if I'm wrong, but I don't remember seeing one.)
    Again, this clearly didn't ruin my life, but everything on my phone synced seamlessly except my music. It only took me 15 minutes or so to recreate my iPhone playlist, but it took me a good hour to figure out why I had to (and how to avoid having to in the future). It was a strange hiccup from a company that pretty much always makes my life easier (unless I need to run Flash).
    In the end I got to read a bunch of Allan's posts, which did provide some entertainment

  • Restore incremental backups to new server

    Hello!
    I am trying to create my database on a new server using rman incremental cold backups.
    I have already restored my level 0 database, but i am not able to restore the level 1 backup because rman doesn't find it on the new server. I have transported the level 0 and level 1 backup in tar format from the old server to the new one. Also I have not executed recover copy of database with tag 'xxxx' after level 1 backup on the source server , because i want to transport only the incremental files. Can sb help me on this issue?
    Thanks in advance!

    Hi,
    Please follow the below process....
    1- Take Level 0 backup with archivelog from Primary machine.
    Note:- Auto Cotrolfile backup should be set in parameters setting of RMAN
    2- Ship this dackup to another machine(Directory Structure Should be same , If directory Strucuture is different then use set new name option while restore)
    3- STARTUP WITH NOMOUNT to second machine.
    4- connect rman
    5- RESTORE CONTROLFILE FROM AUTOBACKUP;(All backup files should be placed at same location as on primary server , if Location is different then use RESTORE CONTROLFILE FROM 'backup file'
    6- MOUNT THE DATABASE
    7- RESTORE DATABASE
    8 -RECOVER DATABASE
    After this go to primary machine do some updations and take INCREMENTAL LEVEL 1 BACKUP
    Move all files to New machine
    1-STARTUP NOMOUNT
    2- RESTORE CONTROLFILE FROM AUTOBACKUP;(All backup files should be placed at same location as on primary server , if Location is different then use RESTORE CONTROLFILE FROM 'backup file'
    Note:- This time controlfile should bw retored from New backup;
    3- MOUNT THE DATABASE;
    4- RECOVER DATABASE;( This time no need to restore database again).
    Hope this will help
    Thanks & Regards
    Rahul Sharma
    Database Administrator
    IndiaMART InterMESH Ltd.

  • How do i restore a backup to new iphone in itunes, how do i restore a backup to new iphone in itunes

    I just got a new iphone changing carriers. I did a backup of my old one to itunes, how can i restore that backup onto the new phone to include all my stuff (i.e. - apps, photos, email setup, etc)

    http://support.apple.com/kb/HT2109

  • Hyperion 9.3.1 Disaster Recovery Steps For Restoring Prod Backups Into QA ?

    Hello All:
    We run Hyperion 9.3.1.1 (SQL back end) and I was wondering what the correct steps are for restoring sql backups from PROD into QA?
    Does anyone have any experience with this? I've tried it out and can't get the QA system to come up after the restore of the PROD bak files. When I try to log into the QA workspace after the restore, it errors saying I need proper username/id....even when I use the local shared services admin account....like there is a disconnect between workspace and shared services.
    Any suggestions are greatly appreciated.....thanks!
    Jim
    Edited by: Bozich on Mar 9, 2009 11:57 AM

    HI and Welcome to Apple Discussions...
    The most recent version of iTunes is 9.0.2
    Try updating your iTunes software and *then try to Restore the iPhone.*
    On your Mac, click the Apple Menu  / Software Updates.
    After the installation, repair disk permissions.
    Quit any open applications/programs. Launch Disk Utility. (Applications/Utilities) Select MacintoshHD in the panel on the left, select the FirstAid tab. Click: Repair Disk Permissions. When it's finished from the Menu Bar, Quit Disk Utility and restart your Mac. If you see a long list of "messages" in the permissions window, it's ok. That can be ignored. As long as you see, "Permissions Repair Complete" when it's finished... you're done. Quit Disk Utility and *restart your Mac*.
    Make sure your Windows based machine has the latest version of iTunes also. 9.0.2
    Launch iTunes on the PC. If it's not up to date you should see a dialog box asking if you want to updage your iTunes software.
    Carolyn

  • My work issued iphone won't restore the backup. New password twist!

    My work issued iphone won't restore the backup. I get an error that my password is wrong. I tried variations of all recent passwords. Checked various threads and saw one that suggesting to use the "Change Password" feature under "Encrypt iPhone Backup" as a faster way to find your password. After a few wrong attempts I then successfully changed my backup password and wrote it down!!
    Now when I tried to restore my backup with my shiny new password I get the same error that "iTunes could not restore the iPhone "my iphone" because the password was incorrect"  The "Encrypt iPhone backup" option is checked and grayed out. I assume the fact its grayed out means its a policy set by my company. I cannot uncheck the "Encrypt iPhone Backup" option. My company IT helpdesk can't help me as they say they don't set a password or force its encryption. The phone has Mobile Iron 5.7.4 app installed as a corporate requirement.
    Any ideas? I am using iOS 6.1.3 and I will not update it to iOS 7 since I cannot restore my backup. Learned this the hard way when it wouldn't restore after the iOS 5 to iOS 6 update. I have an iPhone 4s.
    Thank you,

    This is a problem.  We also set a policy which requires users create a backup password.  That way if they salvage their computer, someone that buys it at the Thrift store won't be able to access what might be company data.  The problem is that the password is only required one time, when the initial backup is made, and it might be a year or more before you need to use it to do a restore.  Here is an article which may help out...at least with some ideas on password ideas...http://support.apple.com/kb/TS5162
    If you can't remember it, you can always transfer your content to your computer, music, apps, photo's etc, then setup the device as new and transfer the content back.  This won't allow you to get various settings, and points on games, etc, but at least you will have the really really important stuff.  If you are connected to an enterprise mail server, that will restore all of your mail, contacts and calendar. 

  • Can I restore from backup to new device without SIM

    I have a 4s and should be receiving my new iPhone 6 tomorrow. I plan to hand down my 4s to my son who currently has a 3gs.
    Can I backup my 4s, then setup my new iPhone 6 by using that 4s backup BEFORE I call in to AT&T and have them transfer my line over to the new phone?
    Also, if after I do that, I reset my 4s (to factory settings), then can I set it up with iTunes to restore from my son's 3gs backup, then call AT&T to migrate his number over to the 4s?
    I know this sounds confusing, it does to me.  Basically what I'm asking is do I need to first put in the new SIM and tell AT&T, THEN restore from the backup, or can I do all that first, then set it up with AT&T.
    Thanks!

    You are working with 3 different SIM card sizes. All three take a different size SIM. Once you stop service on your 4S, that SIM is disabled. You would need a new SIM for the 4S. While you could backup and the 3GS and restore that to the 4S, and you could activate it with the disabled SIM, you couldn't transfer his service to that SIM, he would need a new one from AT&T. You can backup the 4s and restore the 6 to that one. The time you call is not important, except that you may not be able to complete the activation of the new device after restoring the backup until you call and activate the SIM that came in the iPhone 6. Check with AT&T and they can help. If you have a corporate store in your area, you will be able to get all of that done in-house.

Maybe you are looking for