Car cloning + asm_cold RMAN backup

Hello

I have a db v11.2 RAC, that uses asm and saved using rman (backup, back up to asm diskgroup d cold).

is there any document on how to clone this db on the same cluster or remote cluster?
If I clone on the same cluster so I guess I should give it a new name too...


pouvez cloning change db characterset as well?

Edited by: user9198889 January 6, 2011 08:49

Hopes of the documents below will help,

Need to Document/steps of cloning RAC 11 g.
http://download.Oracle.com/docs/CD/E14072_01/RAC.112/e10718/clonerac.htm
http://blogs.Oracle.com/AlejandroVargas/gems/RMANDUPDBPRACTICE.PDF

Thank you

Tags: Database

Similar Questions

  • Cloning time-consuming RMAN backup & hot

    Dear administrators,

    We do both RMAN & Hot backup cloning enemy that takes more time to restore the TEST instance data files. SCP taking too long to copy the server target due to its volume of data (1.5 to) and mounting of the drive of RMAN backups on test server and restore this drive taking more than 8 hours.

    I heard that some companies are using a device to change the copy backup hot high volume of source dest faster for clone instance easily with in a few minutes. What is the name of device to take copies of source hot backup and restore to the server target.

    Test server specifications
    Processor cores 8 with 32 GB of memory.

    Thank you
    S/N

    We have about 2.5 TB of data. It takes about 10 hours to synchronize the data.
    But everything depends on the EMC technology.
    in my previous company, synchronization takes about 1 hour to 900G of data.

  • EBS cloning using hot RMAN backup

    Hi hussein/helios,

    EBS R12.0.6
    Oracle 10g DB

    I was cloning EBS using cold backup, which means that I stop the database and copy it.
    Today, as I face a problem of cloning because I am not allowed to stop the database. This is my first time at this meeting.
    I want to clone a PROD EBS customer, but he's working on a service 24 x 7, which means that I can not close easily.
    I have a RMAN backup, full of Sundays and archive newspapers every day.
    Can you give me the metalink notes where I can clone using a hot RMAN backup?

    Thank you very much

    MsK

    Salvation;

    Now I'm here;

    Let me share my experience with you

    1. copy your ORACLE_HOME from source to the target
    2 give her permission
    3. restore your Db on your target with RMAN
    4. use the ORACLE_HOME which are copied from the source to target
    5. you must activate the automatic configuration on the new database, follow below

    * With the help of automatic configuration to manage system Configurations in Oracle E-Business Suite Release 12 [ID 387859.1] *.
    Section 3: Patch 3.2 AutoConfig. Enabling AutoConfig on a new Oracle home

    Respect of
    HELIOS

  • CAR-to-car cloning of EBS on the same host

    I'm running a car-to-car cloning of EBS on the same host... trying to run the below command, I get the errors below

    Perl adclone.pl component java=/db/app/oracle/product/11.2.0/db_2/jdk/jre = dbTier mode = stage=/db/app/oracle/product/11.2.0/db_2/appsutil/clone/ = dbctxtg=/db/app/oracle/product/11.2.0/db_2/appsutil/dev21_ifmisdbdev01.xml rmanstage = CUSTOM method / fra/STAGE/data/internship/rmantgtloc = + srcdbname FRA = dev2 pwd = apps showProgressode

    Logfile located at /db/app/oracle/product/11.2.0/db_2/appsutil/log/dev21_ifmisdbdev01/ApplyDBTier_09121455.log

    / 50% complete type system database Source key ("single" or "car").

    The system is identified as active CARS!

    Restoring the head node of RAC database on the new system via RMAN target...

    THIS PROCESS TAKES A LONG TIME TO COMPLETE AND DEPENDS ON THE SIZE OF THE SOURCE SYSTEM DB

    Enter the first phase to RMAN restore

    -50% finished

    Not able to run the first phase to RMAN restore!

    ERROR when executing apply...

    -bash-4: $1 tail-f /db/app/oracle/product/11.2.0/db_2/appsutil/out/dev21_ifmisdbdev01/restore-rac1.log

    ORA-19504: could not create the file "+ FRA/dev2/controlfile_dev2.ctl".

    ORA-17502: ksfdcre:3 cannot create the +FRA/dev2/controlfile_dev2.ctl file

    ORA-15001: diskgroup "FRA" does not exist or is not mounted

    ORA-15055: unable to connect to the ASM instance

    ORA-15055: unable to connect to the ASM instance

    ORA-27300: OS dependent operating system: open failed with status: 13

    ORA-27301: OS Error Message: permission denied

    ORA-27302: an error occurred at: sskgmsmr_7

    Complete recovery manager.

    operating system permissions

  • Cloning of RMAN database

    (1) while cloning with RMAN, when we say "target database testdb duplicaicate" will be RMAN apply archives that are not archived (uning "backup database archivelog all") or not.

    (2) why do we need to connect to the target (rman auxiliary target=prod@toprod = / catalog=cat@tocat (IE source db... this db we are cloning form).)

    We backup the backup in a Word with NFS must and we have information about the back of the catalog?

    Hello;

    Version of Dan is important because Oracle 11 has many additional options of duplication.

    That is to say that if you copy archive on the remote server, it will use them in Oracle 10 and 11.

    Here is my Oracle 11 - duplicating a database on a remote host with the same Directory Structure summary notes:

    http://www.Visi.com/~mseberg/RMAN/active_database_duplicating.html

    and with the structure of different directories:

    http://www.Visi.com/~mseberg/RMAN/diff_database_duplicating.html

    Best regards

    mseberg

  • RAC RMAN backup

    Hello

    DB is 10.2.0.4 OS = BSG (CARS with 2 nodes BD01, db02). Here are the types of automated RMAN backups taken on db01.

    -OCR
    -Voting record
    -Talespaces Snapshot
    -Archivelog (hourly)
    -Backup incremental level 0 (SUNDAY)
    -backup incremental level 1 (Mon - Sat)
    -Automatic backup of the control file and SPFILE (CONTROLFILE AUTOBACKUP ON)

    Two big questions please. First of all, are these types of backups/backup are enough to RESTORE FULL speaking of RMAN backup on a RAC environment with 2 nodes? Otherwise please suggest what I need to backup?

    Second, home backup location is /rman that I can see on db01 ONLY. This directory of /rman that I don't see on db02. My question is what db02 failure can I restore from directory /rman? or do I need to automate the backup also schedules on db02 separately?
    [root@db01~]# df -h
    Filesystem            Size  Used Avail Use% Mounted on
    /dev/mapper/VolGroup00-LogVol00
                          3.9G  2.9G  814M  79% /
    /dev/sda3             190M   34M  147M  19% /boot
    tmpfs                  16G     0   16G   0% /dev/shm
    /dev/mapper/VolGroup00-LogVol05
                          3.9G  137M  3.6G   4% /home
    /dev/mapper/VolGroup00-LogVol03
                          3.9G  225M  3.5G   6% /tmp
    /dev/mapper/VolGroup00-LogVol02
                          7.8G  3.7G  3.8G  50% /usr
    /dev/mapper/VolGroup00-LogVol04
                          3.9G  379M  3.4G  11% /var
    /dev/mapper/VolGroup00-ORACLE_BASE
                           12G  8.7G  2.6G  78% /oracle
    10.10.28.140:/vol/px4cinconso
                           40G  1.4G   39G   4% /inconso_px
    /dev/mapper/36001ec9000d5ea810000061349015d98
                          1.3T  551G  665G  46% /rman
    [root@db02~]# df -h
    Filesystem            Size  Used Avail Use% Mounted on
    /dev/mapper/VolGroup00-LogVol00
                          3.9G  887M  2.9G  24% /
    /dev/sda3             190M   34M  147M  19% /boot
    tmpfs                  16G     0   16G   0% /dev/shm
    /dev/mapper/VolGroup00-LogVol05
                          3.9G  137M  3.6G   4% /home
    /dev/mapper/VolGroup00-LogVol03
                          3.9G  261M  3.5G   7% /tmp
    /dev/mapper/VolGroup00-LogVol02
                          7.8G  3.7G  3.8G  50% /usr
    /dev/mapper/VolGroup00-LogVol04
                          3.9G  355M  3.4G  10% /var
    /dev/mapper/VolGroup00-ORACLE_BASE
                           12G  6.5G  4.8G  58% /oracle
    10.10.28.140:/vol/px4cinconso
                           40G  1.4G   39G   4% /inconso_px
    [oracle@db01~]$ rman target /
    
    Recovery Manager: Release 10.2.0.5.0 - Production on Fri Feb 24 11:49:59 2012
    
    Copyright (c) 1982, 2007, Oracle.  All rights reserved.
    
    connected to target database: F1 (DBID=1245145263)
    
    RMAN> show all;
    
    using target database control file instead of recovery catalog
    RMAN configuration parameters are:
    CONFIGURE RETENTION POLICY TO RECOVERY WINDOW OF 28 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 '/rman/f1/fullbackup/%F';
    CONFIGURE DEVICE TYPE DISK BACKUP TYPE TO COMPRESSED BACKUPSET PARALLELISM 1;
    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 ARCHIVELOG DELETION POLICY TO NONE; # default
    CONFIGURE SNAPSHOT CONTROLFILE NAME TO '/oracle/product/10.2.0/db/dbs/snapcf_f11.f'; # default
    # Script for backup
    
    level0 ()
    run {
      allocate channel c1 type disk  maxpiecesize 2000M format '/rman/$ORACLE_SID/fullbackup/$ORACLE_SID-data-%U-%t';
      allocate channel c2 type disk  maxpiecesize 2000M format '/rman/$ORACLE_SID/archive/$ORACLE_SID-arch-%U-%t';
      backup incremental level 0 tag = weeklyfull database channel c1 
      plus archivelog tag = ARCH_$TODAY delete all input channel c2;
      release channel c1;
      release channel c2;
    }
    
    run {
      allocate channel c1 type disk;
      delete noprompt obsolete;
      release channel c1;
    }
    Bundle of thanks.

    Kind regards

    Published by: 910385 on February 24, 2012 03:00

    Hi 910385,
    The error on the node db02

    ORA-19504: cannot create the file ' / rman/fp1/backup/c-1245145263-20120210-11.

    is caused by your installation.
    You have a /rman of mount point visible only on the node db01.
    The controlfile autobackup setting triggers the creation of a backup of the controlfile:
    -during the rman backup (this seems to work only on db01)
    -in the case of a structural change in the database (eg. Adding a data file).
    Sessions to make a structural change can be connected to one of your two instances, but the instance on db02 cannot create controlfile autobackup in /rman.
    You must change the configuration and put the backup on a shared disk that is seen by the two systems.
    Strangely, you have a shared file system:

    10.10.28.140:/vol/px4cinconso 40G 1.4 G 39G 4% /inconso_px

    Better would be to make a second for rman...
    Kind regards
    Tycho

  • RMAN backup incremental level 1 without level 0-10 gr 2

    Hello

    I'm a bit confused after a few tries.

    The issue: It is mandatory to perform incremental level 0 backup before level 1 using Oracle 10 g 2?

    On Oracle 11.2 is mandatory, but I don't know about Oracle 10.2.0.5.

    11.2 test. If there is no level 0 rman take care on this subject and automatically perform level 0 before level1
    RMAN> backup incremental level 1 database;
    
    Starting backup at 29-APR-11
    using channel ORA_DISK_1
    no parent backup or copy of datafile 1 found
    ...
    channel ORA_DISK_1: starting incremental level 0 datafile backup set
    channel ORA_DISK_1: specifying datafile(s) in backup set
    ...
    Docs said:
    Incremental backups capture only blocks that change between backups in each data file.
    In a typical incremental backup strategy, an incremental backup of level 0 is used as a starting point. A level 0 backup captures all the blocks in the data file.

    So, on Oracle 10.2.0.5 happens not like 11.2:

    Parade level 1 without level 0 backup:
    RMAN> list backup;
    
    
    RMAN> backup incremental level 1 database;
    
    Starting backup at 29-APR-11
    using channel ORA_DISK_1
    channel ORA_DISK_1: starting incremental level 1 datafile backupset
    channel ORA_DISK_1: specifying datafile(s) in backupset
    input datafile fno=00001 name=+DG_ORCL/db10g/datafile/system.260.749756975
    ...
    channel ORA_DISK_1: starting piece 1 at 29-APR-11
    channel ORA_DISK_1: finished piece 1 at 29-APR-11
    piece handle=+DG_FRA/db10g/backupset/2011_04_29/nnndn1_tag20110429t190340_0.260.749761421 tag=TAG20110429T190340 comment=NONE
    channel ORA_DISK_1: backup set complete, elapsed time: 00:00:25
    channel ORA_DISK_1: starting incremental level 1 datafile backupset
    channel ORA_DISK_1: specifying datafile(s) in backupset
    including current control file in backupset
    including current SPFILE in backupset
    channel ORA_DISK_1: starting piece 1 at 29-APR-11
    channel ORA_DISK_1: finished piece 1 at 29-APR-11
    piece handle=+DG_FRA/db10g/backupset/2011_04_29/ncsnn1_tag20110429t190340_0.262.749761449 tag=TAG20110429T190340 comment=NONE
    channel ORA_DISK_1: backup set complete, elapsed time: 00:00:05
    Finished backup at 29-APR-11
    
    RMAN> backup archivelog all delete input;
    
    Starting backup at 29-APR-11
    current log archived
    using channel ORA_DISK_1
    ...
    Finished backup at 29-APR-11
    
    RMAN> shutdown abort;
    Oracle instance shut down
    Delete all (except SPFILE) ASM files.
    ASMCMD> cd +DG_ORCL/DB10g
    ASMCMD> ls
    PARAMETERFILE/
    spfiledb10g.ora
    So we will perfom a database restore
    oracle@butao:/home/oracle> rman target /
    Recovery Manager: Release 10.2.0.5.0 - Production on Fri Apr 29 19:06:52 2011
    Copyright (c) 1982, 2007, Oracle.  All rights reserved.
    connected to target database (not started)
    RMAN> startup nomount
    Oracle instance started
    
    Total System Global Area     293601280 bytes
    Fixed Size                     2095872 bytes
    Variable Size                 92275968 bytes
    Database Buffers             192937984 bytes
    Redo Buffers                   6291456 bytes
    
    
    RMAN> restore controlfile from '+DG_FRA/db10g/backupset/2011_04_29/ncsnn1_tag20110429t190340_0.262.749761449';
    
    Starting restore at 29-APR-11
    using channel ORA_DISK_1
    
    channel ORA_DISK_1: restoring control file
    channel ORA_DISK_1: restore complete, elapsed time: 00:00:05
    output filename=+DG_ORCL/db10g/controlfile/current.263.749761699
    output filename=+DG_FRA/db10g/controlfile/current.263.749761699
    Finished restore at 29-APR-11
    
    RMAN> startup mount
    
    database is already started
    database mounted
    released channel: ORA_DISK_1
    
    RMAN> restore database;
    
    Starting restore at 29-APR-11
    Starting implicit crosscheck backup at 29-APR-11
    allocated channel: ORA_DISK_1
    channel ORA_DISK_1: sid=156 devtype=DISK
    Crosschecked 1 objects
    Finished implicit crosscheck backup at 29-APR-11
    
    Starting implicit crosscheck copy at 29-APR-11
    using channel ORA_DISK_1
    Finished implicit crosscheck copy at 29-APR-11
    
    searching for all files in the recovery area
    cataloging files...
    cataloging done
    
    List of Cataloged Files
    =======================
    File Name: +dg_fra/DB10G/BACKUPSET/2011_04_29/ncsnn1_TAG20110429T190340_0.262.749761449
    File Name: +dg_fra/DB10G/BACKUPSET/2011_04_29/annnf0_TAG20110429T190442_0.264.749761485
    
    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 +DG_ORCL/db10g/datafile/system.260.749756975
    restoring datafile 00002 to +DG_ORCL/db10g/datafile/undotbs1.261.749757085
    restoring datafile 00003 to +DG_ORCL/db10g/datafile/sysaux.262.749757095
    restoring datafile 00004 to +DG_ORCL/db10g/datafile/users.264.749757107
    channel ORA_DISK_1: reading from backup piece +DG_FRA/db10g/backupset/2011_04_29/nnndn1_tag20110429t190340_0.260.749761421
    channel ORA_DISK_1: restored backup piece 1
    piece handle=+DG_FRA/db10g/backupset/2011_04_29/nnndn1_tag20110429t190340_0.260.749761421 tag=TAG20110429T190340
    channel ORA_DISK_1: restore complete, elapsed time: 00:00:26
    Finished restore at 29-APR-11
    
    RMAN> recover database;
    
    Starting recover at 29-APR-11
    using channel ORA_DISK_1
    
    starting media recovery
    
    archive log thread 1 sequence 27 is already on disk as file +DG_FRA/db10g/onlinelog/group_3.259.749756971
    archive log thread 1 sequence 28 is already on disk as file +DG_FRA/db10g/onlinelog/group_1.257.749756963
    archive log filename=+DG_FRA/db10g/onlinelog/group_3.259.749756971 thread=1 sequence=27
    archive log filename=+DG_FRA/db10g/onlinelog/group_1.257.749756963 thread=1 sequence=28
    media recovery complete, elapsed time: 00:00:02
    Finished recover at 29-APR-11
    
    RMAN> alter database open resetlogs;
    
    database opened
    
    RMAN>
    See that I don't need level 0 backup to restore the level 1.

    Thank you
    Levi Pereira

    Levi,

    Please visit: http://download.oracle.com/docs/cd/B19306_01/backup.102/b14192/bkup004.htm

    If no level 0 backup is available, then the behavior depends on the setting of compatibility mode. If compatibility is > = 10.0.0, copies all blocks changed since the file was created RMAN and stores the results as a level 1 backup. In other words, the CPN at the time the incremental backup is taken is the creation of SCN file. If compatibility<10.0.0, rman="" generates="" a="" level="" 0="" backup="" of="" the="" file="" contents="" at="" the="" time="" of="" the="" backup,="" to="" be="" consistent="" with="" the="" behavior="" in="" previous="">

    Same info is here:

    http://www.Pythian.com/news/287/level-1-incremental-backup-in-Oracle-10G/

    Concerning

    Grosbois

  • recover the database by using the RMAN backup archivelogs

    Hello

    I tried to find the resolution of this problem in google a lot but couldn't find something useful.

    Location:

    We try to clone the dev environment of production that are completely on different servers and do not share a common mount point.
    Backup RMAN of PROD with RMAN as well as arch newspapers are kept in this mount point.
    We took control of backup files of PROD restored in DEV fired restore with recovery until a when not.
    Turns out that the sequence was not saved in right backupsets there if recovery has not requested more arch newspapers that are present in the PROD.
    Archs are stored in ASM and only way out is to take of RMAN backup of them.
    We control the file as a repository for RMAN.

    my questions are

    1. surely, I need to take backup of the control file after I take the log arch by RMAN backup and restore this file command in the DEV of so that when I start RMAN recovery in DEV, database will be able to find the backupset with arch newspapers. But the new restore a control file will delete the data files restored information?

    2. If we did not have a point of common Assembly and then after sending the backup destination elements how the database would be the locations of the game copied to the new location of the control file that is restored from the backup source?

    Suppose that in the source backups are stored in/backup/rman
    in destination copy us in/backup/clone
    in the PROD control file, their locations are saved in/backup/rman
    so if I restore this command file in custom DEV it find the elements of backup in/backup/rman?
    is it possible to save a backup of outside item in the control of a database file?


    3 al ' ASM, is there another way to extract the PROD archive logs and apply them to a cloned instance? (sending of newspapers without DR)

    The help is very appreciated.

    Kind regards
    Marjorie Dutta

    1. .... But the new restore a control file will delete the data files restored information?

    N ° provided that you do not have renamed, moved or abandoned any of the data files that were already copied in DEV. (also, subject that you did not add da new Production data between two backups - otherwise the new controlfile file will wait as datafile also to be present at DEV).
    You will do an incomplete recovery until a certain SNA / sequence # if information subsequent archivelogs beyond your point of recovery in the controlfile are redundant. In addition, a RESETLOGS would be done when you OPEN the database.

    2... how to know the locations of the game copied to the new location of the control file that is restored from the backup source database?

    What is the order CATALOG. In 9i, CATALOGUE could only of catalog datafilecopy. In 10g and more, you can BackupPieces CATALOGUER. Thus, it would "update" the controlfile (which is the RMAN Repository) with information about the BackupPieces that are present in a replacement / new location.
    See http://download.oracle.com/docs/cd/B19306_01/backup.102/b14194/rcmsynta011.htm#sthref230

    3. ... ASM, is there another way to extract the PROD archive logs and apply them to a cloned instance?

    According to the version you are using, ASMCMD has a 'cp' command to copy the files from the DSO for the operating system. However, you cannot use ASM to apply directly the archivelogs. You always use the 'RECOVER' of RMAN or SQL command line command.

    Hemant K Collette
    http://hemantoracledba.blogspot.com

  • EBS R12: How to clone an RMAN backup online?

    Hi hussein.

    I saw before in this forum, how to copy a database from an RMAN backup.

    The scenario is that I have a PROD on ProdServer instance.
    I want to create a DEV instance clone on the same ProdServer server, by using the RMAN backup.
    I want to clone the database only, this is just to check if my RMAN backup is restorable or legible or complete or etc.

    But I can't find the notes. :(

    Can you help me research it please?


    Thank you very much

    Ms. K

    Hello

    Documents rapid clone (including the "cloning Oracle Application 11i with rapid Clone /R12 - database (9i/10 g / 11 g) Using Hot Backup on the open database") are in (Note: 799735,1 - Rapid Clone library resources, version 11i and 12).

    Thank you
    Hussein

  • Compatibility of RMAN backup 32/64 Bit

    Hi Experts, database

    I have a Windows 2008 Maschine installed with 64-bit RDBMS 11.1 and have successfully taken some RMAN backups.
    Because I have to build a database clone on a Windows 2003 machine with a 32-bit RDBMS (11.2) installed, I would like to know if I could use the backups made in a 64-bit environment.

    Thank you in advance,

    Heiko

    Normally, you can use 64-bit RMAN to restore by 32-bit RMAN backups.
    You can also restore backups RMAN 64 bit with 32 bit RMAN as long as the db_block_size database is 16 K or less. If only some spaces have been created with a 32K block size, backups of data files of these storage spaces would fail to restore.
    I have seen this problem with 10.2 64 bit of RMAN backups, restored 32-bit on 10.2.

    Note: Of course, you must run utlirp.sql on your database of cloned before you start using it.

    Hemant K Collette

  • Consistent test 'copy' of RMAN backup outside the ASM (RAC)

    Hello!
    We create consistent backup RMAN in our CARS (ASM with FRA) environment.
    Safeguard measures looks like:
    alter system set cluster_database=false scope=spfile sid='HAC4';
    srvctl stop database -d HAC
    Then we begin the RMAN backup script as (database is closed to the ground before):
    run {
    startup mount;
    allocate channel t1 type disk format '/u01/rman_backup/HAC/cold_backup/HAC_%U';
    allocate channel t2 type disk format '/u01/rman_backup/HAC/cold_backup/HAC_%U';
    SET CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK TO '/u01/rman_backup/HAC/cold_backup/HAC_%F_ctl';
    backup as copy database include current controlfile;
    }
    After backup, we realize:
    alter system set cluster_database=true scope=spfile sid='HAC4';
    shutdown immediate;
    and later
    srvctl start database -d HAC
    This backup backup files are placed on the area of local disk accessed by noeud4, where HAC4 SID is on.
    We transfer the backup files to tape on an hourly basis...

    Now, we want to test this backup.
    Scenario:
    Because we have consistent backup, we think we can restore her (from files on this disc) and him ALONE!
    Our problem is that while restoration is the use of the DSO files, so we're not sure is our backup.

    So, how to prevent the RMAN restore/recovery process of using any ASM file - just to use our consistent backup data?

    Please a few example script for this...

    Our config:
    Oracle 10gR2.0.4 PS3 (NCPS, ASM database),
    Linux Rhel IA64 5.3 on 'raw devices' (no raw disks)

    THX
    Damir

    Hello

    What I realized is that you want to test the image copy backup you took earlier and test this to restore the database, as it is.

    Now, if I see your script, it shows that you have restored control file and then you tried to recover the database.

    But when you make the copy of the image of the database, and you want to restore, then you have to try to restore the database first. I don't see any "restore order" in your script.

    RMAN > restore database from tag = "";

    Firstly, this will restore the data files.

    Then, use

    RMAN > restore database;

    Then, open the database.

    Kind regards
    Vermorel

  • Import of schemas and tables of RMAN backup

    Hi all

    I have here are 3 requirements:

    (1) is it possible that I can import a single table using RMAN backup, because I have no more than one day of EXPDP dump file and the requirement is to store the data of three days.

    (2) is it possible that I can import a single SCHEMA using RMAN backup, because I have no more than one day of EXPDP dump file and the requirement is to store the data of three days.

    (3) can I import a package from the RMAN backup?

    I have incremental backup of level 1 and level 0.

    My database is 11.2.0.3

    Thank you and best regards,

    Mukesh

    Hi Mukesh,

    All of your needs can be met with output up to 11g using RMAN database, but beyond of 12 c, you can restore a single table RMAN backup (RMAN BACK TABLE new feature to the 12 c (Doc ID 1521524.1) Oracle database). For your condition impdp/expdp is the best Utilities option until oracle provided up to version 11 g.

    I hope this helps.

    Kind regards

  • The user managed based backup Rman backup cold cold vs

    Hi all

    I just want to know the advantages and disadvantages for backup managed user cold and cold backup Rman.

    What is the best cold backup?

    Some some can help me?

    Thank you

    Cedric Joshi

    Hello

    Both are good only... If you took the clod backup (managed by the user), you can also do with RMAN catalog.

    I feel clod RMAN backup is good.

    Reason:

    ======

    ++ with RMAN you can avoid used used block, you can only backup used blocks

    ++ RMAN has its own compression algorithm

    ++ We also have the ability to assign multiple channels to parallelize the backup

  • RMAN backup location must change and remove obsolete

    Dear Experts,

    I'm working on the following environment,

    Operating system: Windows server 2012 R2

    Oracle version: 11.2.0.1.0 release

    Type of RMAN backup: Cumulative (preferred by the direction and I can't change it in differential backup)

    My current situation,

    I set up RMAN and H: drive for purposes of backup and G: for Archivelog.

    Recently, my city was covered by the flood waters and the server works not for a week so that we delete obsolete level 0 does not work.

    Currently there is not enough space to run a level 1 and level 0, while I should change the backup location.

    My Question is,

    (1) I need to change this location of drive H: to G: drive backup backup correctly without error not enough space.

    (2) after having taken a level 1 and level 0, depending on my 1 redundancy, RMAN mechanism should delete obsolete backup disk without failure G: and H:.

    Kindly help me how to get to my need. This will help me, thanks in advance

    You can

    1. replace the DB_RECOVERY_FILE_DEST G:

    2 run backups

    3. wait for the DELETE OBSOLETE delete obsolete backups of H:

    and then

    4. change the DB_RECOVERY_FILE_DEST return h as it was more early

    In this way, you don't have to use the FORMAT or CHANNEL of CONFIGURE commands (I was referring to CONFIGURE CHANNEL, not ALLOCATE CHANNEL) to change the destination of the backup

    Hemant K Collette

  • Waiting for redo log file missing when restore main database using RMAN backup that was taken on the database physical standby

    Here's my question after tons of research and test without have the right solutions.

    Target:

    (1) I have a 12.1.0.2 database unique main enterprise 'testdb' as database instance running on the server "node1".

    (2) I created physical standby database "stbydb" on the server "node2".

    (3) DataGuard running on the mode of MaxAvailability (SYNC) with roll forward in real time 12 default c apply.

    (4) primary database has 3 groups of one-man redo. (/oraredo/testdb/redo01.log redo02.log redo03.log)

    (5) I've created 4 standby redo logfiles (/oraredo/testdb/stby01.log stby02.log stby03.log stby04.log)

    (6) I do RMAN backup (database and archivelog) on the site of relief only.

    (7) I want to use this backup for full restore of the database on the primary database.

    He is a DR test to simulate the scenario that has lost every primary & Eve total servers.

    Here is how to save, on the database pending:

    (1) performance 'alter database recover managed standby database Cancel' to ensure that compatible data files

    (2) RMAN > backup database;

    (3) RMAN > backup archivelog all;

    I got elements of backup and copied to primary db Server something like:

    /Home/Oracle/backupset/o1_mf_nnndf_TAG20151002T133329_c0xq099p_.BKP (data files)

    /Home/Oracle/backupset/o1_mf_ncsnf_TAG20151002T133329_c0xq0sgz_.BKP (spfile & controlfile)

    /Home/Oracle/backupset/o1_mf_annnn_TAG20151002T133357_c0xq15xf_.BKP (archivelogs)

    So here's how to restore, on the main site:

    I clean all the files (data files, controlfiles oder all gone).

    (1) restore spfile from pfile

    RMAN > startup nomount

    RMAN > restore spfile from pfile ' / home/oracle/pfile.txt' to ' / home/oracle/backupset/o1_mf_ncsnf_TAG20151002T133329_c0xq0sgz_.bkp';

    (2) modify pfile to convert to db primary content. pFile shows below

    *.audit_file_dest='/opt/Oracle/DB/admin/testdb/adump '

    * .audit_trail = "db".

    * full = '12.1.0.2.0'

    *.control_files='/oradata/testdb/control01.ctl','/orafra/testdb/control02.ctl'

    * .db_block_size = 8192

    * .db_domain = "

    *.db_file_name_convert='/testdb/','/testdb /'

    * .db_name = "testdb".

    * .db_recovery_file_dest ='/ orafra'

    * .db_recovery_file_dest_size = 10737418240

    * .db_unique_name = "testdb".

    *.diagnostic_dest='/opt/Oracle/DB '

    * .fal_server = "stbydb".

    * .log_archive_config = 'dg_config = (testdb, stbydb)'

    * .log_archive_dest_2 = "service = stbydb SYNC valid_for = (ONLINE_LOGFILE, PRIMARY_ROLE) db_unique_name = stbydb'"

    * .log_archive_dest_state_2 = 'ENABLE '.

    *.log_file_name_convert='/testdb/','/testdb /'

    * .memory_target = 1800 m

    * .open_cursors = 300

    * runoff = 300

    * .remote_login_passwordfile = "EXCLUSIVE."

    * .standby_file_management = "AUTO".

    * .undo_tablespace = "UNDOTBS1.

    (3) restart db with updated file pfile

    SQLPLUS > create spfile from pfile='/home/oracle/pfile.txt'

    SQLPLUS > the judgment

    SQLPLUS > startup nomount

    (4) restore controlfile

    RMAN > restore primary controlfile to ' / home/oracle/backupset/o1_mf_ncsnf_TAG20151002T133329_c0xq0sgz_.bkp';

    RMAN > change the editing of the database

    (5) all elements of backup catalog

    RMAN > catalog starts by ' / home/oracle/backupset / '.

    (6) restore and recover the database

    RMAN > restore database;

    RMAN > recover database until the SNA XXXXXX; (this YVERT is the maximum in archivelog backups that extends beyond the scn of the backup of the data file)

    (7) open resetlogs

    RMAN > alter database open resetlogs;

    Everything seems perfect, except one of the file log roll forward pending is not generated

    SQL > select * from v$ standby_log;

    ERROR:

    ORA-00308: cannot open archived log ' / oraredo/testdb/stby01.log'

    ORA-27037: unable to get file status

    Linux-x86_64 error: 2: no such file or directory

    Additional information: 3

    no selected line

    I intended to use the same backup to restore primary basic & helps record traffic and the downtime between them in the world of real output.

    So I have exactly the same steps (except STANDBY restore CONTROLFILE and not recover after database restore) to restore the database pending.

    And I got the same missing log file.

    The problem is:

    (1) complete alert.log filled with this error, not the concern here

    (2) now repeat it in real time apply won't work since the Party shall LGWR shows always "WAITING_FOR_LOG."

    (3) I can't delete and re-create this log file

    Then I tried several and found:

    The missing standby logfile was still 'ACTIVE' at present RMAN backup was made.

    For example, on db standby, under Group #4 (stby01.log) would be lost after the restoration.

    SQL > select GROUP #, SEQUENCE #, USE (s), the STATUS from v$ standby_log;

    GROUP # SEQUENCE # USED STATUS

    ---------- ---------- ---------- ----------

    4 19 ACTIVE 133632

    5 0 0 UNASSIGNED

    6 0 0 not ASSIGNED

    7 0 0 UNASSIGNED

    So until I take the backup, I tried on the primary database:

    SQL > alter system set log_archive_dest_state_2 = delay;

    This was the Group of standby_log side Eve #4 was released:

    SQL > select GROUP #, SEQUENCE #, USE (s), the STATUS from v$ standby_log;

    GROUP # SEQUENCE # USED STATUS

    ---------- ---------- ---------- ----------

    4 0 0 UNASSIGNED

    5 0 0 UNASSIGNED

    6 0 0 not ASSIGNED

    7 0 0 UNASSIGNED

    Then, the backup has been restored correctly without missing standby logfile.

    However, to change this primary database means break DataGuard protection when you perform the backup. It's not accept on the production environment.

    Finally, my real questions come:

    (1) what I do may not do on parameter change?

    (2) I know I can re-create the control file to redo before delete and then recreate after. Is there any simple/fast to avoid the standby logfile lost or recreate the lost one?

    I understand that there are a number of ways to circumvent this. Something to keep a copy of the log file waiting restoration progress and copy up one missing, etc, etc...

    And yes I always have done no real-time applies "to the aid of archived logfile" but is also not accept mode of protection of production.

    I just want proof that the design (which is displayed in a few oracle doc Doc ID 602299.1 is one of those) that backs up data backup works effectively and can be used to restore the two site. And it may be without spending more time to resume backups or put the load on the primary database to create the database before.

    Your idea is very much appreciated.

    Thank you!

    Hello

    1--> when I take via RMAN backup, RMAN does not redo log (ORL or SRL) file, so we cannot expect ORLs or SRL would be restored.

    2nd--> when we opened the ORL database should be deleted and created

    3rd--> Expecting, SRL should not be an issue.we should be able to do away with the fall.

    DR sys@cdb01 SQL > select THREAD #, SEQUENCE #, GROUP #, STATUS from v$ standby_log;

    THREAD # SEQUENCE # GROUP # STATUS

    ---------- ---------- ---------- ----------

    1 233 4 ACTIVE

    1 238 5 ACTIVE

    DR sys@cdb01 SQL > select * from v$ logfile;

    GROUP # STATUS TYPE MEMBER IS_ CON_ID

    ---------- ------- ------- ------------------------------ --- ----------

    3 /u03/cdb01/cdb01/redo03.log no. 0 online

    /U03/cdb01/cdb01/redo02.log no. 0 2 online

    1 /u03/cdb01/cdb01/redo01.log no. 0 online

    4 /u03/cdb01/cdb01/stdredo01.log WATCH No. 0

    /U03/cdb01/cdb01/stdredo02.log EVE 5 No. 0

    DR sys@cdb01 SQL > ! ls - ltr /u03/cdb01/cdb01/stdredo01.log

    method: cannot access the /u03/cdb01/cdb01/stdredo01.log: no such file or directory

    DR sys@cdb01 SQL >! ls - ltr /u03/cdb01/cdb01/stdredo02.log

    -rw - r-. 1 oracle oinstall 52429312 17 Oct 15:32 /u03/cdb01/cdb01/stdredo02.log

    DR sys@cdb01 SQL > alter database force claire logfile 4;

    change the database group claire logfile 4

    *

    ERROR on line 1:

    ORA-01156: recovery or current flashback may need access to files

    DR sys@cdb01 SQL > alter database recover managed standby database cancel;

    Database altered.

    DR sys@cdb01 SQL > change the database group claire logfile 4;

    Database altered.

    DR sys@cdb01 SQL > ! ls - ltr /u03/cdb01/cdb01/stdredo01.log

    -rw - r-. 1 oracle oinstall 52429312 17 Oct 15:33 /u03/cdb01/cdb01/stdredo01.log

    DR sys@cdb01 SQL >

    If you do, you can recreate the controlfile without waiting for redo log entry...

    If you still think it's something is not acceptable, you must have SR with support to analyze why he does not abandon SRL when controlfile_type is "underway".

    Thank you

Maybe you are looking for

  • HP Probook 450 G3 (P5S63EA): crash HP 450 G3 Sound

    First of all on my laptop.I have the standart P5S63EA Setup (which is described on this page: http://www8.hp.com/ua/ru/products/laptops/product-detail.html?oid=9260217) The problem is my healthy plant after several hours of work. Sometimes one to two

  • Someone knows how to upgrade to Windows 7 64 bit to dm3?

    Hi all Recently, I bought my computer laptop pavilion dm3-1028tx (sp9300, 4 GB ddr3). Unfortunely only it comes with oem windows 7 Home premium 32-bit instead of windows 7 64-bit. Due to the characteristic of 32 bits, its only 3 GB of ram could be us

  • Generate two Archives instead of a newspaper

    Hello guys,.I want to know why when I run this script:export ORACLE_SID = BDRMAN target / < < EOFRun {}allocate channel t1 type disk;ARCHIVELOG backup all the format ' / disk1/arc_%d_%Y%M%D_%s_%p.arc';delete noprompt archivelog all backed up 1 times

  • Missing application icon

    How can I find the missing icon on my iPad? Once you updated the software, the only way I can access my documents is through the App Store. I shouldn't go to the App Store every time I want to read a PDF document. Help! q

  • JqueryUI scripts in Edge animate CC 2014.

    Can someone tell me how to use the trick of box and JqueryUI dialog tool in edge animate CC 2014?