Cloning DB using RMAN Backup in a single system

Hi,
I want to clone my database using RMAN backup in the same system only. Please let me know the suitable document for that in both windows and linux.
Thanks in advance
Mahi

hi
find for both platforms linux and windows
http://www.dizwell.com/prod/node/9
http://www.pgts.com.au/pgtsj/pgtsj0211b.html
Regards
Vignesh Bala
Message was edited by:
Vignesh Bala

Similar Messages

  • Cloning using rman backups?

    Is it possible to clone using RMAN backups?
    How do we do it . Please tell me the steps of configuring.

    Hi,
    Let's take the example to create the auxiliary (clone) database using the rman backup in same server.
    1)Building the auxiliary database directory structure
    a) datafile, control file, redo file location
    b) pfile,bdump,cdump,udump
    2) Create the pfile from spfile (if required) and use it for auxiliary database with appropriate modification
    3) Make all the necessary changes to your aux1 init.ora file
    control_files=….
    background_dump_dest=….
    user_dump_dest=…
    log_archive_dest_1=….
    db_name=‘aux1’
    instance_name=‘aux1’
    remote_login_passwordfile=exclusive
    4) Start aux1 instance in nomount mode
    ORACLE_SID=aux1
    export ORACLE_SID=aux1
    sqlplus /nolog
    sql>connect / as sysdba
    sql> startup nomount pfile=/test/initaux1.ora
    5)Configure the listener and tnsname.ora file for auxiliary database. Restart the listener.
    lsnrctl>stop
    lsnrctl>start
    listener.ora entry
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (GLOBAL_DBNAME = AUX1)
    (ORACLE_HOME=/ORAHOME1/)
    (SID_NAME = AUX1)
    TNSNAMES.ORA ENTRY
    AUX1 =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP) (HOST = xxx) (PORT = 1521)
    (CONNECT_DATA =
    (SID = AUX1)
    (SERVER = DEDICATED)
    6) Connect to the target and auxiliary instance and run the duplicate command
    Rman>connect target /
    Rman>connect auxilary sys/password@aux1
    RMAN> connect target sys@prod
    target database Password:
    connected to target database: aaaa (DBID=4199802962)
    RMAN> connect auxiliary sys@aux1
    auxiliary database Password:
    connected to auxiliary database: aux1 (not mounted)
    RMAN> run
    2> {
    3> set newname for datafile 1 to 'C:\AUX1\SYSTEM01.DBF';
    4> set newname for datafile 2 to 'C:\AUX1\UNDOTBS01.DBF';
    5> set newname for datafile 3 to 'C:\AUX1\CWMLITE01.DBF';
    6> set newname for datafile 4 to 'C:\AUX1\DRSYS01.DBF';
    7> set newname for datafile 5 to 'C:\AUX1\EXAMPLE01.DBF';
    8> set newname for datafile 6 to 'C:\AUX1\INDX01.DBF';
    9> set newname for datafile 7 to 'C:\AUX1\TOOLS01.DBF';
    10> set newname for datafile 8 to 'C:\AUX1\USERS01.DBF';
    11> DUPLICATE TARGET DATABASE TO aux1
    12> LOGFILE
    13> GROUP 1 ('C:\aux1\redo01.log') size 100m reuse,
    14> GROUP 2 ('C:\aux1\redo02.log') size 100m reuse;
    15> }

  • Issue Creating Duplicate Database on Different host using RMAN Backup

    HI friends..
    I m trying to create a duplicate db on different host ....... 27
    i have live production db on ............. 15
    its up 24*7.
    i know how to create dup db using cold backup..but dont know how to create it using RMAN Backup..
    I have googled..but getting issues..
    Steps Taken till now
    Note- I dont have catalog created on live db..
    I already have set the tnsnames.ora on both servers
    1) Took full backup plus archivelog plus control file on 15
    2) moved it to another host..ie 27
    3) now on live db..
    I conected to rman target /
    so i m now connected to prod db
    than i try to conect to rman auxiliary sys/sys@dubpd..
    But it gives me insufficient privilages error..
    Can you tell me what to do next..Coz unless i get into mount phase on sever 27( new server)..i cannot use the control file from backup).my dupdb is up in nomount phase..but what enxt i can do..to restore the control file and than restore the backup after cataloging them to right path..
    Thanks in advance frieds...

    sai121 wrote:
    Nope ..on live db..
    @comand prompt when i type sqlplus sys/sys@dupdb..
    its says 0ra-12518...Listener cannot hand off client connection..
    My tns name for live server is..*primary* on live server .. whose ip is 15..(lIVE SERVER).
    i also have another entery with tns names- standby .on live server .. whose ip is 27..(other server for duplicated db).
    now @command prompt..@live server.. i did sqlplus sys/sys@standby
    It gives me ORA-12518
    Am i missing something..1- It could be a network problem. You may enable tracing on listener (and examine the logs).
    2- Add "DIRECT_HANDOFF_TTC_LISTENER=OFF" to listener.ora, then reload the listener
    3- You may want to increase "large_pool_size"

  • Standby database using rman backup

    I'm using oracle11g on my work place and now i wont to create duplicate database using rman backup.
    at the time i installed only oracle 11g software.
    Pls guide me to overcome the problem. i'm newcomer to oracle.
    Pls give the steps.
    Edited by: user10444101 on Apr 30, 2010 2:17 AM

    user10444101 wrote:
    I'm using oracle11g on my work place and now i wont to create duplicate database using rman backup.
    at the time i installed only oracle 11g software.
    Pls guide me to overcome the problem. i'm newcomer to oracle.
    Pls give the steps.
    Edited by: user10444101 on Apr 30, 2010 2:17 AMSee the following link
    http://download.oracle.com/docs/cd/B28359_01/backup.111/b28270/rcmdupdb.htm#i1008564

  • Refresh Dev using RMAN backups

    hi ,
    i would like to refresh my dev environment using RMAN backup set of production ..
    i can not connect to Production database . i only have copy of Backup set ..
    and my dev database is with different name and diffident file locations ..
    how can i get it done ..
    Thanks

    Wrong forum. This is the Oracle Forms forum.
    Francois

  • Error while cloning database using RMAN

    hi there,
    Here is our setup:
    OS: Solaris 5.9
    Database:9.2.0.3
    While cloning test database from our production database using RMAN, we happen to get the following error..
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of Duplicate Db command at 12/11/2007 15:28:59
    RMAN-03015: error occurred in stored script Memory Script
    RMAN-06026: some targets not found - aborting restore
    RMAN-06100: no channel to restore a backup or copy of datafile 450
    RMAN-06100: no channel to restore a backup or copy of datafile 449
    give us a solution to rectify this problem.
    Thanks,
    Balu.

    Can you please post the RMAN restore script ?
    where are the backups located

  • Unable to restore TABLESPACE using RMAN backups

    Hi,
    I am not able to restore tablespace using RMAN (TSPITR).
    I have full backup of database,
    While try to restore it's failed.
    RMAN> recover tablespace TEST1 until logseq 706 auxiliary destination '/tmp';
    Starting recover at 16-OCT-13
    using channel ORA_DISK_1
    RMAN-05026: WARNING: presuming following set of tablespaces applies to specified point-in-time
    List of tablespaces expected to have UNDO segments
    Tablespace SYSTEM
    Tablespace UNDOTBS2
    Creating automatic instance, with SID='CsFz'
    initialization parameters used for automatic instance:
    db_name=TRAINEE
    db_unique_name=CsFz_tspitr_TRAINEE
    compatible=11.2.0.0.0
    db_block_size=8192
    db_files=200
    sga_target=280M
    processes=50
    db_create_file_dest=/tmp
    log_archive_dest_1='location=/tmp'
    #No auxiliary parameter file used
    starting up automatic instance TRAINEE
    Oracle instance started
    Total System Global Area     292933632 bytes
    Fixed Size                     1336092 bytes
    Variable Size                100666596 bytes
    Database Buffers             184549376 bytes
    Redo Buffers                   6381568 bytes
    Automatic instance created
    List of tablespaces that have been dropped from the target database:
    Tablespace TEST1
    contents of Memory Script:
    # set requested point in time
    set until  logseq 706 thread 1;
    # restore the controlfile
    restore clone controlfile;
    # mount the controlfile
    sql clone 'alter database mount clone database';
    # archive current online log
    sql 'alter system archive log current';
    # avoid unnecessary autobackups for structural changes during TSPITR
    sql 'begin dbms_backup_restore.AutoBackupFlag(FALSE); end;';
    executing Memory Script
    executing command: SET until clause
    Starting restore at 16-OCT-13
    allocated channel: ORA_AUX_DISK_1
    channel ORA_AUX_DISK_1: SID=81 device type=DISK
    channel ORA_AUX_DISK_1: starting datafile backup set restore
    channel ORA_AUX_DISK_1: restoring control file
    channel ORA_AUX_DISK_1: reading from backup piece /oracle/product/11.2.0/dbhome_1/dbs/c-332232391-20131016-09
    channel ORA_AUX_DISK_1: piece handle=/oracle/product/11.2.0/dbhome_1/dbs/c-332232391-20131016-09 tag=TAG20131016T144951
    channel ORA_AUX_DISK_1: restored backup piece 1
    channel ORA_AUX_DISK_1: restore complete, elapsed time: 00:00:01
    output file name=/tmp/TRAINEE/controlfile/o1_mf_95wbkpvj_.ctl
    Finished restore at 16-OCT-13
    sql statement: alter database mount clone database
    sql statement: alter system archive log current
    sql statement: begin dbms_backup_restore.AutoBackupFlag(FALSE); end;
    contents of Memory Script:
    # set requested point in time
    set until  logseq 706 thread 1;
    # set destinations for recovery set and auxiliary set datafiles
    set newname for clone datafile  1 to new;
    set newname for clone datafile  7 to new;
    set newname for clone datafile  2 to new;
    set newname for clone tempfile  1 to new;
    set newname for datafile  6 to
    "/oracle/oradata/TRAINEE/datafile/o1_mf_test1_95w9fln9_.dbf";
    # switch all tempfiles
    switch clone tempfile all;
    # restore the tablespaces in the recovery set and the auxiliary set
    restore clone datafile  1, 7, 2, 6;
    switch clone datafile all;
    executing Memory Script
    executing command: SET until clause
    executing command: SET NEWNAME
    executing command: SET NEWNAME
    executing command: SET NEWNAME
    executing command: SET NEWNAME
    executing command: SET NEWNAME
    renamed tempfile 1 to /tmp/TRAINEE/datafile/o1_mf_temp_%u_.tmp in control file
    Starting restore at 16-OCT-13
    using channel ORA_AUX_DISK_1
    channel ORA_AUX_DISK_1: starting datafile backup set restore
    channel ORA_AUX_DISK_1: specifying datafile(s) to restore from backup set
    channel ORA_AUX_DISK_1: restoring datafile 00001 to /tmp/TRAINEE/datafile/o1_mf_system_%u_.dbf
    channel ORA_AUX_DISK_1: restoring datafile 00007 to /tmp/TRAINEE/datafile/o1_mf_undotbs2_%u_.dbf
    channel ORA_AUX_DISK_1: restoring datafile 00002 to /tmp/TRAINEE/datafile/o1_mf_sysaux_%u_.dbf
    channel ORA_AUX_DISK_1: restoring datafile 00006 to /oracle/oradata/TRAINEE/datafile/o1_mf_test1_95w9fln9_.dbf
    channel ORA_AUX_DISK_1: reading from backup piece /tmp/1iomi9rv_1_1
    channel ORA_AUX_DISK_1: piece handle=/tmp/1iomi9rv_1_1 tag=TAG20131016T144935
    channel ORA_AUX_DISK_1: restored backup piece 1
    channel ORA_AUX_DISK_1: restore complete, elapsed time: 00:00:15
    Finished restore at 16-OCT-13
    datafile 1 switched to datafile copy
    input datafile copy RECID=11 STAMP=828975325 file name=/tmp/TRAINEE/datafile/o1_mf_system_95wbkybb_.dbf
    datafile 7 switched to datafile copy
    input datafile copy RECID=12 STAMP=828975325 file name=/tmp/TRAINEE/datafile/o1_mf_undotbs2_95wbkycy_.dbf
    datafile 2 switched to datafile copy
    input datafile copy RECID=13 STAMP=828975325 file name=/tmp/TRAINEE/datafile/o1_mf_sysaux_95wbkybz_.dbf
    contents of Memory Script:
    # set requested point in time
    set until  logseq 706 thread 1;
    # online the datafiles restored or switched
    sql clone "alter database datafile  1 online";
    sql clone "alter database datafile  7 online";
    sql clone "alter database datafile  2 online";
    sql clone "alter database datafile  6 online";
    # recover and open resetlogs
    recover clone database tablespace  "TEST1", "SYSTEM", "UNDOTBS2", "SYSAUX" delete archivelog;
    alter clone database open resetlogs;
    executing Memory Script
    executing command: SET until clause
    sql statement: alter database datafile  1 online
    sql statement: alter database datafile  7 online
    sql statement: alter database datafile  2 online
    sql statement: alter database datafile  6 online
    Starting recover at 16-OCT-13
    using channel ORA_AUX_DISK_1
    starting media recovery
    archived log for thread 1 with sequence 702 is already on disk as file /oracle/product/11.2.0/dbhome_1/dbs/arch1_702_807275402.dbf
    archived log for thread 1 with sequence 703 is already on disk as file /oracle/product/11.2.0/dbhome_1/dbs/arch1_703_807275402.dbf
    archived log for thread 1 with sequence 704 is already on disk as file /oracle/product/11.2.0/dbhome_1/dbs/arch1_704_807275402.dbf
    archived log for thread 1 with sequence 705 is already on disk as file /oracle/product/11.2.0/dbhome_1/dbs/arch1_705_807275402.dbf
    archived log file name=/oracle/product/11.2.0/dbhome_1/dbs/arch1_702_807275402.dbf thread=1 sequence=702
    archived log file name=/oracle/product/11.2.0/dbhome_1/dbs/arch1_703_807275402.dbf thread=1 sequence=703
    archived log file name=/oracle/product/11.2.0/dbhome_1/dbs/arch1_704_807275402.dbf thread=1 sequence=704
    archived log file name=/oracle/product/11.2.0/dbhome_1/dbs/arch1_705_807275402.dbf thread=1 sequence=705
    media recovery complete, elapsed time: 00:00:01
    Finished recover at 16-OCT-13
    database opened
    contents of Memory Script:
    # make read only the tablespace that will be exported
    sql clone 'alter tablespace  TEST1 read only';
    # create directory for datapump import
    sql "create or replace directory TSPITR_DIROBJ_DPDIR as ''
    /tmp''";
    # create directory for datapump export
    sql clone "create or replace directory TSPITR_DIROBJ_DPDIR as ''
    /tmp''";
    executing Memory Script
    sql statement: alter tablespace  TEST1 read only
    sql statement: create or replace directory TSPITR_DIROBJ_DPDIR as ''/tmp''
    sql statement: create or replace directory TSPITR_DIROBJ_DPDIR as ''/tmp''
    Performing export of metadata...
       EXPDP> Starting "SYS"."TSPITR_EXP_CsFz":
       EXPDP> Processing object type TRANSPORTABLE_EXPORT/PLUGTS_BLK
       EXPDP> Processing object type TRANSPORTABLE_EXPORT/TABLE
       EXPDP> Processing object type TRANSPORTABLE_EXPORT/POST_INSTANCE/PLUGTS_BLK
       EXPDP> Master table "SYS"."TSPITR_EXP_CsFz" successfully loaded/unloaded
       EXPDP> ******************************************************************************
       EXPDP> Dump file set for SYS.TSPITR_EXP_CsFz is:
       EXPDP>   /tmp/tspitr_CsFz_17454.dmp
       EXPDP> ******************************************************************************
       EXPDP> Datafiles required for transportable tablespace TEST1:
       EXPDP>   /tmp/TRAINEE/datafile/o1_mf_test1_95wbkyck_.dbf
       EXPDP> Job "SYS"."TSPITR_EXP_CsFz" successfully completed at 14:56:02
    Export completed
    contents of Memory Script:
    # shutdown clone before import
    shutdown clone immediate
    executing Memory Script
    database closed
    database dismounted
    Oracle instance shut down
    Performing import of metadata...
       IMPDP> Master table "SYS"."TSPITR_IMP_CsFz" successfully loaded/unloaded
       IMPDP> Starting "SYS"."TSPITR_IMP_CsFz":
       IMPDP> Processing object type TRANSPORTABLE_EXPORT/PLUGTS_BLK
    Removing automatic instance
    Automatic instance removed
    auxiliary instance file /tmp/TRAINEE/datafile/o1_mf_temp_95wblk08_.tmp deleted
    auxiliary instance file /tmp/TRAINEE/onlinelog/o1_mf_3_95wblj14_.log deleted
    auxiliary instance file /tmp/TRAINEE/onlinelog/o1_mf_2_95wblhn8_.log deleted
    auxiliary instance file /tmp/TRAINEE/onlinelog/o1_mf_1_95wblh8q_.log deleted
    auxiliary instance file /tmp/TRAINEE/datafile/o1_mf_sysaux_95wbkybz_.dbf deleted
    auxiliary instance file /tmp/TRAINEE/datafile/o1_mf_undotbs2_95wbkycy_.dbf deleted
    auxiliary instance file /tmp/TRAINEE/datafile/o1_mf_system_95wbkybb_.dbf deleted
    auxiliary instance file /tmp/TRAINEE/controlfile/o1_mf_95wbkpvj_.ctl deleted
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of recover command at 10/16/2013 14:56:16
    RMAN-06963: Error received during import of metadata
    RMAN-06961:    IMPDP> ORA-39123: Data Pump transportable tablespace job aborted
    ORA-01565: error in identifying file '/oracle/oradata/TRAINEE/datafile/o1_mf_test1_95w9fln9_.dbf'
    ORA-27037: unable to obtain file status
    Linux Error: 2: No such file or directory
    Additional information: 3

    Hi,
    Cloud you please cheek below link:
    ORACLE Cookies: TSPITR to recover a dropped tablespace
    Thank you

  • Document for upgrading 8i to 10g using RMAN backup

    hi
    I need to restore a 8i database on a server and then wanted to upgrade it to 10g.
    Is there any good documentation available ?

    RMAN won't perfom upgrade. You'll have to resotore your database using the Recovery Manager reference manual 8i: http://download-west.oracle.com/docs/cd/A87860_01/doc/server.817/a76990/toc.htm . (Watch out, the above mentioned reference is for RMAN 10g, there were many differences between 8i and 10g, if you try to use 10g syntax on an 8i rman it will partially work or won't work at all)
    Install 8i on your target OS.
    Restore/Recover with rman 8i your 8i rman backup.
    Your rman backup must be located at the same path where it was when you obtained it on your source OS.
    Once you have made sure it opens, proceed with upgrade.
    Read upgrade guide for an specific upgrade procedure for 8i->10g.

  • Clonig EBS using RMAN BACKUP

    Hi,
    How to I clone The Applications And Database Using Rman HotBackup
    Thanks,
    Gita

    Hi,
    Please see the threads/links referenced in this thread.
    Clone, Rman in R12
    Clone, Rman in R12
    Thanks,
    Hussein

  • How to take RMAN backup through a single (default) channel

    Sir,
    In an interview I was asked a question that how can I allocate a single channel to multiple databases to take simultaneous backup. I was unanswer.
    Pl. tell me if it is possible what will be the query with an example.
    Regards
    Neeraj

    No it's not at all possible to take backup of multiple database through the manually allocated channel.
    Allocating the channel manually is only possible while running the commands in batch mode
    eg. run {
    allocate channel ch1 type disk format='/backup1/RMANBACKUP/PROD521_%s_%p';
    allocate channel ch2 type disk format='/backup1/RMANBACKUP/PROD521_%s_%p';
    backup database setsize=12582912;
    release channel ch1;
    release channel ch2;
    And you can connect through single rman prompt to only one target database not more than that. So at any point of time you connect to only one database you can user channels to backup that database only.
    connected to recovery catalog database
    RMAN> CONN TARGET SYS/ORACLE@RMAN
    RMAN> CONNECT TARGET SYS/ORACLE@RMAN
    connected to target database: RMAN (DBID=1528877161)
    RMAN> CONNECT TARGET SYS/ORACLE@CLS
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-06167: already connected
    Edited by: sac on Sep 4, 2008 12:59 PM

  • Cloning issue using RMAN

    Hi All
    I am facing problem while creating clone of Production server
    My database and operating system  version are same on the both server
    Kindly help to resolve the issue.
    error are given below
    Wed Sep 25 14:34:49 2013
    Starting ORACLE instance (normal)
    LICENSE_MAX_SESSION = 0
    LICENSE_SESSIONS_WARNING = 0
    Shared memory segment for instance monitoring created
    Picked latch-free SCN scheme 3
    Using LOG_ARCHIVE_DEST_1 parameter default value as USE_DB_RECOVERY_FILE_DEST
    Autotune of undo retention is turned on.
    IMODE=BR
    ILAT =27
    LICENSE_MAX_USERS = 0
    SYS auditing is disabled
    Starting up:
    Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options.
    Using parameter settings in server-side pfile /u01/oracle/product/11.2.0/db_1/dbs/initclonedb.ora
    System parameters with non-default values:
      processes                = 150
      memory_target            = 628M
      control_files            = "/u01/app/oracle/oradata/clonedb/control01.ctl"
      control_files            = "/u01/app/oracle/flash_recovery_area/clonedb/control02.ctl"
      db_file_name_convert     = "prodb"
      db_file_name_convert     = "clonedb"
      log_file_name_convert    = "prodb"
      log_file_name_convert    = "clonedb"
      db_block_size            = 8192
      compatible               = "11.2.0.0.0"
      db_recovery_file_dest    = "/u01/app/oracle/flash_recovery_area"
      db_recovery_file_dest_size= 3882M
      undo_tablespace          = "UNDOTBS1"
      remote_login_passwordfile= "EXCLUSIVE"
      db_domain                = ""
      dispatchers              = "(PROTOCOL=TCP) (SERVICE=clonedbXDB)"
      audit_file_dest          = "/u01/app/oracle/admin/clonedb/adump"
      audit_trail              = "DB"
      db_name                  = "clonedb"
      open_cursors             = 300
      diagnostic_dest          = "/u01/app/oracle"
    Wed Sep 25 14:34:51 2013
    PMON started with pid=2, OS id=11163
    Wed Sep 25 14:34:52 2013
    VKTM started with pid=3, OS id=11165 at elevated priority
    VKTM running at (10)millisec precision with DBRM quantum (100)ms
    Wed Sep 25 14:34:52 2013
    GEN0 started with pid=4, OS id=11169
    Wed Sep 25 14:34:52 2013
    DIAG started with pid=5, OS id=11171
    Wed Sep 25 14:34:52 2013
    DBRM started with pid=6, OS id=11173
    Wed Sep 25 14:34:52 2013
    PSP0 started with pid=7, OS id=11175
    Wed Sep 25 14:34:52 2013
    DIA0 started with pid=8, OS id=11177
    Wed Sep 25 14:34:52 2013
    MMAN started with pid=9, OS id=11179
    Wed Sep 25 14:34:52 2013
    DBW0 started with pid=10, OS id=11181
    Wed Sep 25 14:34:52 2013
    LGWR started with pid=11, OS id=11183
    Wed Sep 25 14:34:52 2013
    CKPT started with pid=12, OS id=11185
    Wed Sep 25 14:34:52 2013
    SMON started with pid=13, OS id=11187
    Wed Sep 25 14:34:52 2013
    RECO started with pid=14, OS id=11189
    Wed Sep 25 14:34:52 2013
    MMON started with pid=15, OS id=11191
    starting up 1 dispatcher(s) for network address '(ADDRESS=(PARTIAL=YES)(PROTOCOL=TCP))'...
    Wed Sep 25 14:34:52 2013
    MMNL started with pid=16, OS id=11193
    starting up 1 shared server(s) ...
    ORACLE_BASE not set in environment. It is recommended
    that ORACLE_BASE be set in the environment
    Reusing ORACLE_BASE from an earlier startup = /u01/app/oracle
    Wed Sep 25 14:47:14 2013
    Shutting down instance (immediate)
    Shutting down instance: further logons disabled
    Stopping background process MMNL
    Stopping background process MMON
    License high water mark = 4
    All dispatchers and shared servers shutdown
    Wed Sep 25 14:52:18 2013
    SHUTDOWN: Active processes prevent shutdown operation
    Wed Sep 25 14:57:19 2013
    SHUTDOWN: Active processes prevent shutdown operation
    Wed Sep 25 15:02:21 2013
    SHUTDOWN: Active processes prevent shutdown operation
    Wed Sep 25 15:02:40 2013
    Instance shutdown cancelled
    Thu Sep 26 00:18:40 2013
    Shutting down instance (immediate)
    Shutting down instance: further logons disabled
    License high water mark = 4
    All dispatchers and shared servers shutdown
    Thu Sep 26 00:23:41 2013
    SHUTDOWN: Active processes prevent shutdown operation
    Thu Sep 26 00:28:43 2013
    SHUTDOWN: Active processes prevent shutdown operation
    Thu Sep 26 00:33:44 2013
    SHUTDOWN: Active processes prevent shutdown operation
    Thu Sep 26 00:38:46 2013
    SHUTDOWN: Active processes prevent shutdown operation
    Thu Sep 26 00:41:36 2013
    Instance shutdown cancelled
    Thu Sep 26 00:48:21 2013
    Shutting down instance (immediate)
    Shutting down instance: further logons disabled
    License high water mark = 5
    All dispatchers and shared servers shutdown
    Thu Sep 26 00:53:22 2013
    SHUTDOWN: Active processes prevent shutdown operation
    Thu Sep 26 00:58:23 2013
    SHUTDOWN: Active processes prevent shutdown operation
    Thu Sep 26 01:03:25 2013
    SHUTDOWN: Active processes prevent shutdown operation
    Thu Sep 26 01:08:26 2013
    SHUTDOWN: Active processes prevent shutdown operation
    Thu Sep 26 01:13:28 2013
    SHUTDOWN: Active processes prevent shutdown operation
    Thu Sep 26 01:18:29 2013
    SHUTDOWN: Active processes prevent shutdown operation
    Thu Sep 26 01:23:31 2013
    SHUTDOWN: Active processes prevent shutdown operation
    Thu Sep 26 01:28:32 2013
    SHUTDOWN: Active processes prevent shutdown operation
    Thu Sep 26 01:33:34 2013
    SHUTDOWN: Active processes prevent shutdown operation
    Thu Sep 26 01:38:35 2013
    SHUTDOWN: Active processes prevent shutdown operation
    Thu Sep 26 11:10:07 2013
    SHUTDOWN: Active processes prevent shutdown operation
    Thu Sep 26 11:15:08 2013
    SHUTDOWN: Active processes prevent shutdown operation
    Thu Sep 26 11:20:10 2013
    SHUTDOWN: Active processes prevent shutdown operation
    Thu Sep 26 11:25:11 2013
    SHUTDOWN: Active processes prevent shutdown operation
    Thu Sep 26 11:30:13 2013
    SHUTDOWN: Active processes prevent shutdown operation
    Thu Sep 26 11:35:14 2013
    SHUTDOWN: Active processes prevent shutdown operation
    Thu Sep 26 11:40:16 2013
    SHUTDOWN: Active processes prevent shutdown operation
    Thu Sep 26 11:45:17 2013
    SHUTDOWN: Active processes prevent shutdown operation
    Thu Sep 26 11:50:19 2013
    SHUTDOWN: Active processes prevent shutdown operation
    Thu Sep 26 11:55:20 2013
    SHUTDOWN: Active processes prevent shutdown operation
    Thu Sep 26 12:00:22 2013
    SHUTDOWN: Active processes prevent shutdown operation
    Thu Sep 26 12:05:23 2013
    SHUTDOWN: Active processes prevent shutdown operation
    Thu Sep 26 12:10:25 2013
    SHUTDOWN: Active processes prevent shutdown operation
    Thu Sep 26 12:15:26 2013
    SHUTDOWN: Active processes prevent shutdown operation
    Thu Sep 26 12:19:01 2013
    Instance shutdown cancelled

    thanks for your reply
    when i issue command "duplicate target database to 'clone'  "
    it stucks after executing some parameter like
    using target database control file instead of recovery catalog
    allocated channel: c1
    channel c1: SID=4 device type=DISK
    allocated channel: c2
    channel c2: SID=9 device type=DISK
    Starting Duplicate Db at 26-SEP-13
    contents of Memory Script:
       sql clone "create spfile from memory";
    executing Memory Script
    sql statement: create spfile from memory
    contents of Memory Script:
       shutdown clone immediate;
       startup clone nomount;
    executing Memory Script
    inputs are given above
    kinldly see and help to resolve the saem.
    Thanks

  • Using timemachine backup of snow leopard system to restore on system with Lion

    Hello,
    My son has a 13" MacBook Pro (2.66 Ghz Intel Core 2 Duo) currently running Snow Leopard 10.6.8 which has a broken keyboard and a battery that won't charge.  He regularly uses timemachine to make full backups of his system.  We want to give him an old 13" MacBook Pro (2.66 Ghz Intel Core 2 Duo), which is currently running Lion Mac OS X 10.7.5.
    Is it possible for him to restore his entire system from Time Machine running Snow Leopard to a MacBook Pro that has Lion?  If so, what are the best steps to have the target MacBook wiped or prepared for him to restore from his Time Machine back up, given that the systems are on different levels of OS X?
    He's not wedded to keeping Snow Leopard - so can the migration occur without him having to upgrade his old broken MacBook Pro first?  Would the target Mac get "downgraded" to Snow Leopard on the restore (which would be ok too)?
    Thanks in advance.  If there's any other info that will help clarify, please ask.

    If he has no PPC apps that won't run on Lion, then the simplest thing to do is hook up the two machines and use the Migration Assistant to transfer his user account to the newer MBP. Once done, have him log into that account (assuming that it's an admin one), launch the Accounts prefPane, and delete the other accounts. That should do the trick.

  • How do I use a backup of my previous system in migration assistant from an external hard drive?

    I had to redo my system completely because Snow Leopard broke my Parallels and then when I went back to Leopard my entire system got all screwed up. So I archived and reinstalled Leopard. Transferred the entire Previous System file to my external hard drive then erased and installed a fresh install of Leopard then upgraded to Snow Leopard. Now I'm trying to restore my Previous System on my computer and I can get the Macbook Pro to recognize the external hd in Migration Assistant and in Disk Utility it appears I would have to transfer section by section. I'm trying to prevent that. I don't have money to buy Super Duper or anything else at the moment so Migration and Disk U. seem to be my only options unless you know of anything else.

    Carbon Copy Cloner or SilverKeeper - CNet Downloads or MacUpdate.

  • Database refresh without using RMAN duplicate

    Hi All,
    I am planning to refresh my test instance to a PIT using RMAN backups from PROD. I would like to know the process without connecting to PROD database and without using RMAN duplicate command.
    Thanks.

    imran khan wrote:
    Can you please show the demo first then we will discuss on it more.. what if the folk wants to refresh it ten times then we have to change the database name ten times using NID?
    >Can you please show the demo first then we will discuss on it more.. what if the folk wants to refresh it ten times then we have to change the database name ten times using NID?
    1) You use nid only to change the dbid.
    2) I have done this type of cloning much more than 50 times.
    3) As Iordan Iotzov pointed out, in 11gR2 you can run DUPLICATE database without being connected to the PROD
    Here is a sample code of how to do it assuming both file system are the same:
    # -- RMAN Restore to another server
    rman <<EOF2
    CONNECT TARGET /;
    STARTUP NOMOUNT
    SET DBID 987654321;
    CONNECT CATALOG rman/rman@rcvcat
    RUN {
        SET UNTIL SEQUENCE=5678 THREAD=1;
        ALLOCATE CHANNEL ch0 DEVICE TYPE DISK;
        RESTORE CONTROLFILE;
    ALTER DATABASE MOUNT;
    RUN
      SET UNTIL SEQUENCE=5678 THREAD=1;
      ALLOCATE CHANNEL ch0 DEVICE TYPE DISK;
      ALLOCATE CHANNEL ch1 DEVICE TYPE DISK;
      ALLOCATE CHANNEL ch2 DEVICE TYPE DISK;
      ALLOCATE CHANNEL ch3 DEVICE TYPE DISK;
      RESTORE DATABASE;
      RECOVER DATABASE;
    EXIT;
    EOF2:p

  • How to make hot RMAN backup as consistent in 10g?

    Hi,
    While cloning database using rman hot backup it asking archivelog files. how to recover easily? How to make hot RMAN backup as consistent in 10g?
    Thanks,

    user2017273 wrote:
    Hi,
    While cloning database using rman hot backup it asking archivelog files. how to recover easily? How to make hot RMAN backup as consistent in 10g?
    Thanks,Take backup with "plus archivelog" command. This will require archived redo log files and automatically apply them

Maybe you are looking for

  • How do I merge two iCloud accounts?

    I accidentally created a different iCloud account from my old Mobile Me and an entirely new one.  The old Mobile Me one wasn't working on all my devices, but the new one is, so I want to merge the old into the new.  Is that possible?

  • Trying to add dot border around illustrator brochure

    Hi I have made a new layer in my brochure document and have set the swatch fill to black with 30% opacity and a red stroke, yet as soon as click on the document with my blob brush, the fill menu gets a red line (no fill) and I get a red dot which is

  • When setting up converged network in VMM cluster and live migration virtual nics not working

    Hello Everyone, I am having issues setting up converged network in VMM.  I have been working with MS engineers to no avail.  I am very surprised with the expertise of the MS engineers.  They had no idea what a converged network even was.  I had way m

  • After 10.4.10 update G5 XServe is completely unresponsive

    I rebooted after doing today's 10.4.10 OSX Server update. Now the Xserve won't boot. I can boot from the install disc, run disc utilities, all seems fine. I can mount the boot volumes via Terminal, etc. No problems at all. But when I try to boot I ju

  • Datacopy from Dynamic Calc member

    Hi All, Within a dense dimension(Accounts) I want to copy data from dynamic calc member to a stored member. Below is the structure of my dimension. Member X (~, Stored) Member A (Dynamic calc, TBLast) ----Member A1 (Dynamic Calc) ----Member A2 (Dynam