RMAN backup restoration on a different server under ASM .

Hello Experts,
This is regarding new installation of Oracle RAC 11gR2 on AIX 6.1 . Its a two node cluster setup , using ASM . As i am newbie for RMAN , I would like to know how i can restore my rman backup to another uat server which has standby database again cofigured under asm .
Thanks for your kind help .

Hi ,
Thanks for reply
1) I performed the full database backup on source .
2) Source (prod) and target remote database (uat) are in ASM and have same DG for datafiles .
3) I have transfered the backup from production to UAT . I have already running uat database
do i need to drop it before i start the restoration ? My final purpose is just to refresh target with production backup . Kindly advice the steps from here to proceed with .
Thank you

Similar Messages

  • RMAN backup restore from RAC to single instance ASM

    Hi,
    We are using oracle 11gR2 on AIX 6.1,
    We need to restore RMAN backup from RAC to single instance ASM,
    Im new to RAC & ASM, What will be the changes
    What will be steps involved into it.
    Thanks

    Hello,
    Refer this MOS doc *HowTo Restore RMAN Disk backups of RAC Database to Single Instance On Another Node [ID 415579.1]*
    On the Single Instance ASM, you need to specify the diskgroup name for the parameters "control_files, db_create_file_dest"
    Handle:      user10745179
    Email:      [email protected]
    Status Level:      Newbie (5)
    Registered:      Feb 24, 2009
    Total Posts:      168
    Total Questions:      74 (52 unresolved)
    Name      Devesh
    Location      Mumbai If you feel that your questions have been answered, then please consider closing the threads by providing appropriate points. Please keep the forum clean !!
    Regards,
    Shivananda

  • RMAN backup restore leads to the error "ORA-00600: internal error code, arguments: [kccsbck_first], [2], [2349545192]" on DB startup

    Hi All,
    DB:11.2.0.3.0
    OS: Sun Solaris SPARC 64 bits
    I am facing an issue -  RMAN backup restore leads to the error "ORA-00600: internal error code, arguments: , , " on DB startup. Restored from RMAN backup DB test2 to DB test1.
    <p mcekeep="true">  $ sqlplus / as sysdba
    <p mcekeep="true">   SQL*Plus: Release 11.2.0.3.0   Production on Sun Oct 6 09:31:28 2013
    <p mcekeep="true">   Copyright (c) 1982, 2011,   Oracle.  All rights reserved.
    <p mcekeep="true">   Connected to an idle instance.
    <p mcekeep="true">  
    SQL> startup
    ORACLE instance started.
    Total System Global Area 4277059584 bytes
    Fixed Size                  2166160 bytes
    Variable Size            1493176944 bytes
    Database Buffers         2768240640 bytes
    Redo Buffers               13475840 bytes
    ORA-00600: internal error code, arguments: , , ,
    SQL> exit
    DB test2 database validated:
    RMAN> validate Database;
    No issues reported.
    Could anyone please let me the what's the cause of this error
    Thanks for your time
    Regards,
    user10088255

    HI,
    CASE : I
    C:\>set ORACLE_SID=xxxx
    C:\>sqlplus sys/XXXXX@rosen as sysdba
    SQL*Plus: Release 11.2.0.1.0 Production on Sat Jan 29 12:28:00 2011
    Copyright (c) 1982, 2010, Oracle.  All rights reserved.
    Connected to an idle instance.
    SQL> startup
    ORACLE instance started.
    Total System Global Area   3423965184 bytes
    Fixed Size                      2180544 bytes
    Variable Size                2080377408 bytes
    Database Buffers           1325400064 bytes
    Redo Buffers                   16007168 bytes
    ORA-00600: internal error code, arguments: [kccsbck_first], [1], [3978145973],
    Solution:   AFTER GETTING  ORA-00600, SHUT THE DATABASE AND STARTUP IT INTO MOUNT STAGE  AND  THEN ALTER  DATABASE   TO OPEN STAGE .
    SQL> shut immediate
    ORA-01507: database not mounted
    ORACLE instance shut down.
    SQL> startup mount
    ORACLE instance started.
    Total System Global Area 3423965184 bytes
    Fixed Size                      2180544 bytes
    Variable Size                 2080377408 bytes
    Database Buffers           1325400064 bytes
    Redo Buffers                    16007168 bytes
    Database mounted.
    SQL> alter database open;
    Database altered.
    SQL> select name,open_mode from v$database;
    NAME      OPEN_MODE
    ROSEN     READ WRITE
    CASE :: II
    C:\>sqlplus sys/XXXX@royalton as sysdba
    SQL*Plus: Release 11.2.0.1.0 Production on Sat Jan 29 12:37:37 2011
    Copyright (c) 1982, 2010, Oracle.  All rights reserved.
    Connected to an idle instance.
    SQL> startup
    ORACLE instance started.
    Total System Global Area  3423965184 bytes
    Fixed Size                      2180544 bytes
    Variable Size                  1979714112 bytes
    Database Buffers            1426063360 bytes
    Redo Buffers                  16007168 bytes
    ORA-00600: internal error code, arguments: [kccsbck_first], [1], [73515151],[], [], [], [], [], [], [], [], []
    Solution :  As in above case, I have started the database in mount and then alter it to the open mode but it doesnot work out. After some analysis ,troubleshooting and googling, we have decided to flush the shared pool  component of the SGA . So, we have started the database in mount stage and then flush the shared pool and further alter it to open stage . Below are the steps performed to solve this issue .
    SQL> shut immediate
    ORA-01507: database not mounted
    ORACLE instance shut down.
    C:\>set ORACLE_SID= royalton
    C:\>sqlplus sys/xxxxxxxx@royalton  as sysdba
    SQL*Plus: Release 11.2.0.1.0 Production on Sat Jan 29 12:28:00 2011
    Copyright (c) 1982, 2010, Oracle.  All rights reserved.
    Connected to an idle instance.
    SQL> startup mount
    ORACLE instance started.
    Total System Global Area 3423965184 bytes
    Fixed Size                     2180544 bytes
    Variable Size                 2080377408 bytes
    Database Buffers            1325400064 bytes
    Redo Buffers                  16007168 bytes
    Database mounted.
    SQL> alter system flush shared_pool;
    SQL> alter database open
    Database altered.
    SQL> select name,open_mode from v$database;
    NAME            OPEN_MODE
    ROYALTON        READ WRITE
    Conclusion : Though this is not the solution but a workaround to solve ORA-00600  which is having same argument as above, then you may follow the above steps.
    Please chek this link : One Can Succeed at Almost Anything For Which He Has Enthusiasm...: ORA-00600: internal error code, arguments: [kccsbck_f…

  • Can rman backups be used to restore to a different server

    We are using R12 with 10gr2 database
    If i take Rman backups, can they be used to restore on some other test server for cloning and bringing that test server upto date like the production.
    I am confues and dont know and This is the only reason i dont use rman for backups, instead take cold backups manually every night as they are used every week to clone some other server for testing purpose
    Please advice
    Thanks

    Hi..
    1. Copy the pfile to the new server.
    2. startup nomount the database using the pfile.
    3. Open a new RMAN session and connect to this database
    4. Restore the controlfile, this will bring the database in mount stage
    5. Once step 4 is completed, restore and recover the database.
    NOTE:-- These are the steps for restoring the database when the RMAN backup pieces are copied to the same location as they are on the main server.If you copy the rman backup to some different location, then you will have to use the CATALOG BACKUPPIECE 'location' command before restoring the database.
    Go through [http://download.oracle.com/docs/cd/B10500_01/server.920/a96566/rcmdupdb.htm]
    HTH
    Anand
    Edited by: Anand... on Dec 23, 2008 8:13 PM Added link

  • Backup few partitions from a database and restore them on different server

    I have a Database called Datamart. Datamart database has multiple partitioned tables and the database has different filegroups and partitions. I would split the database on to three servers with one-third of the database on each.
    If the database has 1500 partitions, then 0-499 on server1 Datamart database, 500-999 on server2 Datamart database and 1000-500 on server3 Datamart database.
     

    See
    http://aboutsqlserver.com/2014/06/24/partial-database-backup-and-piecemeal-restore-in-microsoft-sql-server/
    http://msdn.microsoft.com/en-us/library/ms177425.aspx
    http://msdn.microsoft.com/en-us/library/ms190984.aspx
    Please Mark This As Answer if it helps to solve the issue Visakh ---------------------------- http://visakhm.blogspot.com/ https://www.facebook.com/VmBlogs

  • RMAN backup restore on new server with CATALOG START WITH

    Hello Experts,
    CATALOG START WITH
    is this required RMAN in catalog mode ?
    reference of post
    Disastor Recovery with RMAN : Restore backup on new separate Server
    Edited by: 873142 on Jul 18, 2011 9:27 PM

    If you use a recovery catalog and want to duplicate database in a fresh server.
    1. connect with the target database.
    2. connect with the recovery catalog.
    3. connect with the auxiliary database.
    4. Run the duplicate command.
    Before running the duplicate command copy the backup piece to your fresh server from the target server. Both mount point should be same.
    Regards
    Asif Kabir
    -- mark your helpful post as correct/helpful.

  • RMAN backup, restore across different versions

    OS : Solaris 10
    I have an RDBMS software only installation of 11.2.0.3 in a server ---> Server B
    I have my source DB running on another server which is of version 11.2.0.1.0 -----> Server A
    Is it possible to take RMAN backup of the source DB of version 11.2.0.1.0 and use it create a DB of 11.2.0.3.0 in server B ?
    Is the same possible for 10.2.0.1.0 to 11.2.0.3.0 ?

    I believe its this
    alter database open resetlogs upgrade;The startup has to be either MOUNT or NOMOUNT ( double checking )
    Create a spfile and then
    SQL*Plus: Release 11.2.0.3.0 Production on Fri Jul 13 15:33:24 2012
    Copyright (c) 1982, 2011, Oracle.  All rights reserved.
    Connected to an idle instance.
    SQL> startup nomounth2. Super example
    See Levi Pereira's post here :
    alter database open resetlogs upgrade ;         throwing error
    Best Regards
    mseberg
    Edited by: mseberg on Jul 25, 2012 10:18 AM

  • RMAN Backup then moving to different location.

    Hi,
    Any help is much appreciated.
    I have a situation where I must backup a 1TB database to a different location than where the database resides using rman, there is also an rman catalog being used, the backup location is NFS mounted on the database server.
    If I backup directly to the NFS mount, it takes about 5 hours.
    If I backup locally on the server the database resides, the backup is completed in just over 1 hour.
    One option I have is to backup the database locally then immediately after wards copy the backup files to the backup location over NFS. However, when it comes to backing up the database he following day, it assumes the backup no longer exists.
    The question is :
    If I do 1 level 0 backups and 6 level 1 backups per week and each day rman finds no backup files, how will it know at what point the level 1 backup should start from ? Will the backups valid in the event of a restore ?
    In the event of a restore, if I copied over the backup files from the nfs mounted backup location to the local disk, will rman be able to identify that these are the backup files it had created and now can be used for a restore ?
    Below are 2 copies of the backup script, Level 0 and level 1 :
    rman target $TARGET_DB@$ORACLE_SID catalog $CATALOG_DB <<EOD1
    crosscheck archivelog all;
    crosscheck backup;
    resync catalog;
    run {
    CONFIGURE DEVICE TYPE DISK PARALLELISM 5;
    CONFIGURE RETENTION POLICY TO RECOVERY WINDOW OF 14 DAYS;
    CONFIGURE BACKUP OPTIMIZATION OFF;
    CONFIGURE CONTROLFILE AUTOBACKUP ON;
    CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK TO '$BACKUP_DIR/CTL_%F';
    CONFIGURE CHANNEL DEVICE TYPE DISK FORMAT '$BACKUP_DIR/DB_L0_%d_%U';
    backup spfile;
    BACKUP INCREMENTAL LEVEL 0 DATABASE include current controlfile filesperset 4;
    EOD1
    rman target $TARGET_DB@$ORACLE_SID catalog $CATALOG_DB <<EOD1
    crosscheck archivelog all;
    crosscheck backup;
    resync catalog;
    run {
    CONFIGURE DEVICE TYPE DISK PARALLELISM 5;
    CONFIGURE RETENTION POLICY TO RECOVERY WINDOW OF 14 DAYS;
    CONFIGURE BACKUP OPTIMIZATION OFF;
    CONFIGURE CONTROLFILE AUTOBACKUP ON;
    CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK TO '$BACKUP_DIR/CTL_%F';
    CONFIGURE CHANNEL DEVICE TYPE DISK FORMAT '$BACKUP_DIR/DB_L1_%d_%U';
    backup spfile;
    BACKUP INCREMENTAL LEVEL 1 CUMULATIVE DATABASE include current controlfile filesperset 20;
    EOD1

    Where shall I start?
    This is yet again a post where including the four digit version number was considered irrelevant, though functionality of RMAN changes with every new release. Whether this is Oracle 9i or Oracle 10g, who can tell.
    It is at least 9i style code, with many misunderstandings on how RMAN works.
    First of all, by relocating your backup to a NFS mounted drive you make it unavailable to the catalog.
    By running crosscheck the status of the backup will go to expired, so it will not be considered anymore.
    Secondly, making a RMAN backup on a NFS device is dangerous. You don't specify an OS (also irrelevant) but I had to observe a backup to a correctly mounted NFS device (with a 32k read buffer and a 32k write buffer) couldn't be restored
    in a later stage as the backup was 'corrupt'.
    Thirdly, 'restore database' will only consider level 0 backups. This means: when the level 0 backup is no longer available, you can not restore your database, l1 backups are only used in the recover phase.
    Fourthly, there are few minor problems in the backup scripts, as when datafile 0 is being backed up the spfile and controlfile are included. Also you don't seem to autobackup the controlfile.
    All in all, my crystal ball tells me in the event of disaster, you will have no backup at all.
    Time to review this situation. Urgently!
    Sybrand Bakker
    Senior Oracle DBA

  • Database restore on a different server

    I have a database ORADB1 running on unix server and I took a hot backup using a script and restored it on the same server as ORADB2 and opened the database to verify it comes up and then shut it down.
    Now I have to restore ORADB2 into a different server and bring it up as ORADB1 and I can't take another backup due to performance issue on the server, can someone tell me the steps involved in this?
    Thanks

    Yes - this would be no different than the way you created ORADB2 from ORADB1 to begin with.
    Use the same process by modifying the initialization file. If you use a different directory structure you will need to modify the control file since it specifies the location of the datafiles. You can execute
    alter database backup controlfile to traceto put a 'text' copy of the binary control file in a trace file. Then extract the text to a a new file and modify the directory paths for the datafiles.
    Just remember that your new ORADB1 will not contain the same data as your original ORADB1 since users have been making changes this entire time.

  • RMAN backup restoration on diff OS

    Hi,
    Is it possible to restore an RMAN backup taken on AIX on Solaris?
    Any special tasks need to be done?
    TIA.
    KV

    Pavan Kumar wrote:
    Hi,
    Alternatives are available.
    Refer to doc : http://youngcow.net/doc/oracle10g/backup.102/b14191/rcmrecov002.htm (Old one)
    Try to test since I have not tested on AIX.
    - Pavan Kumar NHi Pavan
    As you know, AIX and Solaris are two different type of operating systems. It's not possible to copy RMAN backups from one host (AIX) and restore it at the second host (Solaris)
    File headers will be different and the system will not recognize the datafiles

  • How to backup/restore credentials in sql server 2012

    Hi, Can any one direct how to restore credentials using T-sql or GUI on SQL Server 2012.
    As per BOL, we know how to create credentials. 
    http://msdn.microsoft.com/en-us/library/ms189522.
    But looking for taking backup/restore credentials sql serve 2012.
    Thanks

    Hi,
    I highly recommend to go from step 1 to the end in this tutorial, but if you realy want to just only to restore than you can start in Lesson 4: Perform a Restore From a Full Database Backup
    http://msdn.microsoft.com/en-us/library/jj852091(v=sql.110).aspx
      Ronen Ariely
     [Personal Site]    [Blog]    [Facebook]

  • RMAN backup error in R&D Server

    friends,
    OS: RHEL 4.8
    DB: 10gR2
    i am doing some R&D in my 10g test db....
    i deleted the last archive log file...then i tried to do rman backup plus archivelog all;
    but i am getting an error...then i copy the deleted file in the same location...then the backup is working fine...
    suppose if this situation comes in production db what should i do....am i have to wait for the next archive log generation or i have to alter system switch log file;
    thanks

    Hi,
    RMAN>change archivelog all crosscheck;
    If below error commes then Your options are either to restore the missing file(s), or to perform a crosscheck. To perform a crosscheck,
    run the above command from within RMAN
    It is advisable to perform a full backup of the database at this point.
    When an archive log crosscheck is performed, RMAN checks each archive log in turn to make sure that it exists on disk (or tape).
    Those that are missing are marked as unavailable. If you have got missing logs, this won't bring them back. It will allow you to get
    past this error and back-up the database though.
    Regards

  • RMAN Backup Restore from tape

    Hello Gurus
    We have lvl0 RMAN database backup restored from tape but due to some reasons we could not apply recovery on it. On checking the information in controlfile, it identified only the system file and no other file. So, we recreated the controlfile and decided to recover using backup controlfile option (until cancel or until change or until time). However, to my surprise, when I listed the checkpointchange# and checkpoint_time columns of v$datafile_header, I found the difference in timestamps ranging 24 hrs -- which menat we had to apply 24 hrs of archiving to bring all dbfs to a consistent state (before it allowed us to open the db) -- so far so good, it worked that way.
    My question is that, while I trigger a lvl0 RMAN backup at say 4PM on 27th July and it finishes on 4PM on 28th July (as I am directly pushing around 1 TB data to tapes) -- what is the consistency timestamp of this backup. In other words, is this backup available for a restore of 4PM 27th July? Or is it available only for a restore of 4PM 28th July and later ...?
    Isn't it that RMAN works at block level and when I fire a backup it should give me all the dbf's of that timestamp..?
    Appreciate your inputs/comments.

    When taking a online backup with RMAN, the datafiles backup is always inconsistent because it needs the archived redo logs generated during the backup to be consistent: http://download.oracle.com/docs/cd/B19306_01/backup.102/b14192/intro005.htm#sthref70.
    A full online backup can only be used to restore the database to a point in time starting after backup end: if a backup starts at 4PM on 27th July and it finishes on 4PM on 28th July you can use it to restore the database to a point in time after 28-JUL 4PM.

  • Backup / Restore Test on SQL server. Am I right?

    Hello Colleagues,
    We want to execute the following plan in order to test our backup&restore infrastucture. Please couls you point me if I´m leaving something back?
    SQL Server 2005 SAP nw2004s based system (I think that the below procedure is valid no matter the system is Abap standalone, JAVA standalone or ABAP+JAVA standalone)
    We want to Stop SAP production System HRP in production host.
    Detach HRP SQL server in production Host.
    Restore from the last full backup on production Host changing the database name to HRPNEW (logical name and filenames)
    Attach the new restored files to the SQL Server 2005 (I think that this point is not needed because the restore will leave the database operational if I mark the corresponding option)
    Start Sap System and check that everything is OK inside.
    Stop SAP system again
    detach HRPNEW database
    attach HRP original database
    Start SAP system and check
    FInally delete db files and log files from HRPNEW database.
    What do you think?
    Thank you very much in advance!
    Regards

    Thank you for your response.
    But, is it needed if I´m restoring in the production server (same host name) the database with another name?
    Or you meant to change the database name in anywhere?
    Thanks
    Regards!

  • RMAN backup goes to filesystem and not to ASM diskgroup

    Hi,
    DB: 11.2.0.1
    OS: Linux
    Parameter configured in database:
    SQL> show parameter db_recovery_file_dest
    NAME TYPE VALUE
    db_recovery_file_dest string +BACKUP
    db_recovery_file_dest_size big integer 10184M
    If i execute the command " RMAN> backup database; " , then the backup ( backup pieces) is going to +BACKUP destination and this is as expected.
    But, if i execute the same command using script, then the backup pieces are going to filesystem(default location $ORACLE_HOME/dbs ).
    Could you suggest me(if i understood wrongly), why the backup pieces are going to the location of filesystem , and not to the ASM diskgroup ?.
    I want to take the backup to ASM diskgroup, because of less space at filesystem.
    The script i used is this:
    [oracle@rac1 rmanscripts]$ more online.sh
    export ORACLE_SID=test;
    export NLS_DATE_FORMAT='dd/mm/yy hh24:mi:ss';
    umask 022
    date
    rman target / cmdfile online.rcv msglog online.log
    [oracle@rac1 rmanscripts]$ more online.rcv
    run {
    backup
    full
    tag b_db_full_test
    filesperset 2
    format 'df_%d_%t_%s_%p'
    database include current controlfile;
    Thanks in advance,
    Regards,

    Hi mseberg,
    Thanks for your reply and the thing is that the controlfile autobackup is going to ASM diskgroup ( +BACKUP).
    Even after changing the suggested config, no luck to me.
    RMAN> show all;
    RMAN configuration parameters for database with db_unique_name TEST are:
    CONFIGURE RETENTION POLICY TO RECOVERY WINDOW OF 15 DAYS;
    CONFIGURE BACKUP OPTIMIZATION ON;
    CONFIGURE DEFAULT DEVICE TYPE TO DISK; # default
    CONFIGURE CONTROLFILE AUTOBACKUP ON;
    CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK TO '+BACKUP';
    CONFIGURE DEVICE TYPE DISK PARALLELISM 3 BACKUP TYPE TO BACKUPSET;
    CONFIGURE DATAFILE BACKUP COPIES FOR DEVICE TYPE DISK TO 1; # default
    CONFIGURE ARCHIVELOG BACKUP COPIES FOR DEVICE TYPE DISK TO 1; # default
    CONFIGURE MAXSETSIZE TO UNLIMITED; # default
    CONFIGURE ENCRYPTION FOR DATABASE OFF; # default
    CONFIGURE ENCRYPTION ALGORITHM 'AES128'; # default
    CONFIGURE COMPRESSION ALGORITHM 'BASIC' AS OF RELEASE 'DEFAULT' OPTIMIZE FOR LOAD TRUE ; # default
    CONFIGURE ARCHIVELOG DELETION POLICY TO APPLIED ON ALL STANDBY;
    CONFIGURE SNAPSHOT CONTROLFILE NAME TO '/home/oracle/app/oracle/product/11.2.0/dbhome_2/dbs/snapcf_test.f'; # default
    Backup piece destination info from log is here:
    channel ORA_DISK_2: finished piece 1 at 16/02/13 22:41:22
    piece handle=/home/oracle/app/oracle/product/11.2.0/dbhome_2/dbs/df_TEST_807575973_155_1 tag=B_DB_FULL_TEST comment=NONE
    channel ORA_DISK_2: backup set complete, elapsed time: 00:01:49
    Finished backup at 16/02/13 22:41:22
    Starting Control File and SPFILE Autobackup at 16/02/13 22:41:22
    piece handle=+BACKUP/test/autobackup/2013_02_16/s_807576082.342.807576083 comment=NONE
    Finished Control File and SPFILE Autobackup at 16/02/13 22:41:25
    I cannot understand why this is,
    Regards,

Maybe you are looking for

  • Copying methods from one component controller to other ?

    Hi, I have many methods in one component controller, which i wish to copy to another component controller through standard buttons. When i try to copy them, it says 'The method or methods are copied to the clipboard'. But, i was unable to copy them t

  • Text animation

    hi, how to create some 3d text animatrion in flash . I want animation with max 8-10 sec can you give me some site also.

  • HT2729 I bought my iPad in America. Now living in Germany and cannot access iTunes???

    I bought my iPad in America. Now living in Germany and cannot access iTunes???

  • How do I change the size of the point tool in an image

    Dear LabVIEW fans I want to have a very large "Point Tool" in an image display, actually it should cover the whole image as a crosshair. Does anyone know how do this? I've searched among the long list of image properties, but haven't found anything u

  • Restoring 15GB+ Backup

    Hello all: I want to first say that I am by no means an expert at SQL but can figure things out if explained to me properly. Due to a motherboard going out on me, I had to purchase a new server (well, used so that I could install Windows Server 2003