ASM and Cold backup

Is there any way to coldbackup a database that is using ASM?
My development server has a database of 500GB in size. To move this to the production server I used to do cold backups but unable to do it with ASM.
I was planning to use EXPORT utility but I read a few articles saying the export files should be more than a few GB.
Has anyone got any ideas how to move large database that is using ASM from dev to prod?
Thanks

RMAN is the only option to take backups of databases using on ASM and you can use RMAN to take the cold backup of your database. First shutdown the database cleanly and then mount it and issue "backup database" at rman prompt to the cold backup. Read oracle doc for more information on RMAN setup.
Daljit Singh

Similar Messages

  • Hot and cold backups

    i am learning to take hot and cold backups and i am having doubts regarding restoring and recovering/
    1. When restoring the cold backup .. i am copying the control and datafiles from the backup and then starting the database with reset logs is this enough?
    2. When i am recovering a tablespace in hot backup .. i have replaced the file from backup. I need to do something with the archive log files. Where do i place them in the database? If i have done some transactions after taking the hotback.. will i loose those transactions?

    "1. When restoring the cold backup .. i am copying the control and datafiles from the backup and then starting the database with reset logs is this enough?"
    Yes, you are right.... also include password file in your backup file list...
    2. When i am recovering a tablespace in hot backup .. i have replaced the file from backup. I need to do something with the archive log files. Where do i place them in the database? If i have done some transactions after taking the hotback.. will i loose those transactions?
    You can place the old datafile at new location also. For hot backup, your DB must
    be running in archive log mode, so you will not loose any transaction.....

  • RMAN and cold backup

    I am taking cold backup manually through copy command on every sunday of database every week and archive log backup through RMAN
    suppose i want to restore backup on wednesday
    how to retreive and apply archive logs
    as archive logs are after taking backup are in different format

    connect target sys/aa@oas
    connect catalog rman/rman@catdb
    connect auxiliary /
    run {
    set newname for datafile 1 to '/ORADATA/dupdb/system01.dbf';
    set newname for datafile 2 to '/ORADATA/dupdb/undotbs01.dbf';
    set newname for datafile 3 to '/ORADATA/dupdb/users01.dbf';
    set newname for datafile 4 to '/ORADATA/dupdb/indx01.dbf';
    set newname for datafile 5 to '/ORADATA/dupdb/example01.dbf';
    allocate auxiliary channel dupdb1 type disk;
    set until sequence 2 thread 1;
    duplicate target database to dupdb
    logfile
    GROUP 1 ('/ORADATA/u02/redo01.log') SIZE 200k REUSE,
    GROUP 2 ('/ORADATA/u03/redo02.log') SIZE 200k REUSE;
    I THINK THIS OPTION WILL WORK

  • ASM and Logical backups

    Is it possible to use ASM diskgroup as a destination
    for logical backups? For example I have ASM diskgroup
    for Flash Recovery Area and want to use its space for dumps too.

    No,
    only datafiles,
    datafile copies,
    controlfiles,
    online redo log files,
    archived online redo log files,
    rman backup sets
    ar possible as far as I know.
    Not possible are:
    alertlogs,
    trace files,
    password files,
    binaries.
    Regards,
    Lutz

  • Stop and start database for cold backup

    Hi,
    Database :Oracle 10g R1
    OS : Red hat 3
    I have a RAC database with 2 nodes.
    I build this script to make a cold backup of the database. (I will put it in the cron tab).
    My question is the SRVCTL will work in this scripts??
    # ***** COLDBACKUP ORACLE DATABASE ON LINUX *****
    DIRECTORY=/u02/backup/script/; export DIRECTORY
    cd ${DIRECTORY}
    # ***** SHUTDOWN THE DATABASE *******
    export oracle_sid=RCDB
    srvctl stop database -d RCDB
    # *****cold backup for "RCDB" database on 13-FEB-07 ... *****
    # ***** COPY FILES *****
    # Redo logs
    cp /u02/oradata/RCDB/redo01.log ${DIRECTORY}
    cp /u02/oradata/RCDB/redo07.log ${DIRECTORY}
    cp /u02/oradata/RCDB/redo03.log ${DIRECTORY}
    cp /u02/oradata/RCDB/redo08.log ${DIRECTORY}
    # Datafiles
    #*********START UP DATABASE AND SERVICES********
    srvctl start database -d RCDB
    exit
    Message was edited by:
    ASkika
    Message was edited by:
    ASkika

    I need to put a quick policy backup ... and cold
    backup it's what I use and it works.And reduces the availability of your cluster.
    The problem about RMAN is that we never use it. I
    have to learn about it to make scripts to test....
    and this will tack me 2 or 3 days...I'd assume that installing RAC didn't go overnight, so why underfund the crucial part of any database system, the backup?
    There's even a step by step guide for backup on the Getting Started: DBAs page.
    Samples (and changes) on the latest version of RMAN can be found for example in RMAN Enhancements.
    Or take a look at this Oracle Magazine article:Faster Backup, Faster Recovery
    Backup and Recovery Basics in the user documentation may also be a good starting point.
    C.

  • Cold backup of High Availability DB 10gR2 in SOLARIS 8 SPARC

    Hi
    I want to know the procedure of taking Cold backup in Solaris 8 SPARC in
    High Availability Environment.
    Any reference document will be helpful.
    Thanks in advance.
    Renuka

    That seems to be a contradiction in terms, high availibility and cold backup. When you do a cold backup the database is down and not available. In a primary - standby configuration, you could switch the standby to primary, shutdown the (former) primary and perform a cold backup of it.

  • Can cold backup be taken for ASM managed oracle 10g databases

    Can cold backup be taken for ASM managed oracle 10g databases
    Pls help

    do we still need to take cold backupYou need to take backup. Hot or cold depends on how your DB is running (archivelog or not).
    Will we have file permisions for copyng Use RMAN and don't worry about that.

  • COLD BACKUP DATABASE CLONING with +ASM

    Hi,
    I need some help to clone the database using Cold backup with +ASM. Can somebody help me on this
    Here is the steps we did on Source Database.
    1. Copied all the $ORACLE_HOME from Source to TARGET.
    2. Created pfile from spfile.
    3. Created backup control file on the Source.
    Questions:
    =======
    1. Source has 3 diskgroups, do we need to create new 3 disk groups on the TARGET ?
    2. If we needed 3 new disk groups on TARGET, how can we move all the data from SOURCE diskgroup to TARGET disk group, Do we need to use RMAN?
    Please let me know what else need to do to bring up the TARGET database.
    Thanks
    Dheeru.

    Hi,
    1. Source has 3 diskgroups, do we need to create new 3 disk groups on the TARGET ?Not necessarily.
    2. If we needed 3 new disk groups on TARGET, how can we move all the data from SOURCE diskgroup to TARGET disk group, Do we need to use RMAN? Yes, use RMAN to clone/duplicate the database.
    Rapid Clone Documentation Resources, Release 11i and 12 [ID 799735.1]
    Cloning ASM database using RMAN Duplicate
    http://oracleandme.blogspot.com/2007/08/cloning-e-biz-using-rman-duplicate.html
    Thanks,
    Hussein

  • Cold Backup and Redolog vs. Note1026631.6

    Dear Experts,
    I never include the online redolog files in my cold backup but at the end of the note it is said "However, other Oracle documentation states that cold (offline) backups should include backing up online redo log files (see page 8 of Oracle Backup and Recovery Handbook from Oracle Press)..."
    Let's imagine we take a coldbackup with online redolog:
    - The SCN was 100 at the time of this backup.
    - The DB crashes (lost datafiles). The SCN is 250.
    - We copy the datafiles and the redolog online.
    - The DB checks the Control file which has SCN=250, the Datafiles and the redolog have got 100. The DB doesn't know what to do isn't it ? I mean it can' recover.
    - If we copy only the Datafiles from the backup, the DB sees 250 in both Control and online redolog and sees 100 in datafiles and knows it has to perform a recovery from 100 to 250.
    To me copying the online redolog in a cold back up is more than useless , it can be quite dangerous.
    Am I totally wrong and do I miss something fundamental ?
    Thanks for your expertise.
    Regards,
    Guillaume

    i totally disagree with you, 393781.
    They are two reasons not to backup the redo logs.
    reason 1)
    it is consuming tapes and time...
    reason 2)
    if you restore it, you may overwrite existing redologs by mistake while running your os-restore, and the existing may be used (with little chance..) to recover the database, even if running in NOARCHIVELOG mode.
    They are also a lot of oracle customers which are backing up the redo logs. It is an "easier" approach. You backup everything (the whole filesystem or so), then restore everything, so you are sure you have everything and it is really straightforward.
    If you do not have your redologs, you must open your db with resetlogs, which seems to be the correct procedure (you have a new incarnation, have not you? ) but open resetlogs may be dangerous for a junior dba.
    HTH
    Laurent Schneider
    OCM DBA

  • Recover database from cold backup and add ol archivelogs....

    Hello!
    Scenarion : I have create in 1 january cold backup of my database. I have from 1 to 4 January all archive logs generated by my database. My database gone in 4 January.
    Solution question : How can i restore database using cold backup a than add info from archivelogs to recovered database to do database consist from disaster day.
    Regards... Marcin

    1. Kill current instance with SHUTDOWN ABORT.
    2. Copy all control files and data files from your cold backup to original destination.
    3. Make sure all archived redo logs from 01-JAN to 04-JAN are available in the database archive destination (LOG_ARCHIVE_DEST or LOG_ARCHIVE_DEST_x).
    4. Run as SYSDBA:
    startup mount
    recover database using backup controlfile until cancel;When prompted for something like
    ORA-00279: change 864868 generated at 01/14/2010 09:30:10 needed for thread 1
    ORA-00289: suggestion :
    C:\ORACLEXE\APP\ORACLE\FLASH_RECOVERY_AREA\XE\ARCHIVELOG\2010_01_15\O1_MF_1_22_%
    U_.ARC
    ORA-00280: change 864868 for thread 1 is in sequence #22enter:
    AUTOWhen you get something like:
    ORA-00308: cannot open archived log
    'C:\ORACLEXE\APP\ORACLE\FLASH_RECOVERY_AREA\XE\ARCHIVELOG\2010_01_15\O1_MF_1_29_
    %U_.ARC'
    ORA-27041: unable to open file
    OSD-04002: ouverture impossible du fichier
    O/S-Error: (OS 2) Le fichier spécifié est introuvable.run
    alter database open resetlogs;

  • Need clarification for cold backup and recovery

    Hello Everyone ..
    I have much confusion on cold backup and recovery topic.
    Already i posted a scanario regarding this and i want to know some clarity points to understand.
    1. I had cold backup two days before
    2. I am creating an object *(EMP)* and inserting some records then issue log switch continiously.
    3. Manually i removed all physical files (datafiles , control files , log files , redolog files ...)
    4. then i issued STARTUP FORCE MOUNT;
    5. here i am getting error identifying control file.
    6. cold backup two days before all files restored
    6. then i issue recover database using backup controlfile until cancel;
    7. i am trying to issue select * from emp; i am getting error
    select * from emp
    *ERROR at line 1:
    ORA-00942: table or view does not existMy QUESTION IS
    After cold backup finished , i created emp table ..
    when restoring old back " There is no emp table"
    *- then , can i recover emp table ? - If so , please explain about this ..*
    Note : REF - LINK https://forums.oracle.com/forums/message.jspa?messageID=11056341#11056341
    - Above link says what i did ? . In this thread i am asking concept & logic ..
    please do NOT consider as "*DUPLICATE*"

    When you recover the database using backup controlfile until cancel, you have to apply archived logs. Did you apply all of them?
    If the create command was in the online redo, not yet archived, and you lost the online redo, then you won't have it. This is why you want to have redo multiplexed, it is a critical piece.
    In some recovery scenarios, if you haven't lost the online redo, you need to specify those files as if they were archives.
    It is normally easier to just be sure you have the latest controlfiles and let Oracle figure it out automatically (which is why you want to use online RMAN backups rather than cold backups). But yes, it is important to understand what is going on for different scenarios. I used to have manual standbys, and one of the disaster instruction sets explained to try to get online redo over to the standby to lose as few transactions as possible. That could still be useful for some snapshot hardware type scenarios, assuming the business is too cheap to do proper failovers.

  • Database refresh from cold backup and hotbackup.

    How can we perform Database refresh from cold backup and hotbackup?

    OracleM wrote:
    How can we perform Database refresh from cold backup and hotbackup?I understand that you have Cold/hot backup and you need recover(refresh) this backup?If yes then restore cold/hot backup and
    sqlplus "/as sysdba"
    startup mount;
    recover database using backup controlfile unil cancel;
    /*then apply all available archive logs*/
    alter database open resetlogs;

  • Restore cold backup and RMAN backup

    Hi,
    I have cold backup as well as RMAN backup. But i don't know how to restore the backup.
    Please anybody send, steps or links for restoring both backups.
    Regs,
    Brijesh

    The "script" would depend on how the backup was done.
    A cold backup should be a backup of controlfiles and datafiles.
    Was it done using RMAN ? Or done using an OS command (e.g. "cp" or "tar" or "cpio") ?
    A non-RMAN cold backup can be restored with the same command that was used to create the backup. If the backup did not include the Online Redo Log files, you need to simulate a dummy recovery from the SQL command line (RECOVER DATABASE UNTIL CANCEL ; then CANCEL) and ALTER DATABASE OPEN RESETLOGS.
    If the backup was done using RMAN, you need to
    1. RESTORE CONTROLFILE FROM '/location_of_backuppiece'
    2. ALTER DATABASE MOUNT
    3. RESTORE DATABASE
    4. ALTER DATABASE OPEN
    Hemant K Chitale

  • Partition Restore Cold Backup Different System and Different Version DB

    Is it possible, can we restore the cold backup at different database version and different operating system(but same ENDIAN_FORMAT) ????????
    My original system HP-UX (64-bit) and database version 10.2.0.3.0 i have cold backup and i want to partion restore on Linux Redhot 5.5 (64-bit), database version 10.1.0.4.0 .
    If it is possible. How can i do this.

    My original system HP-UX (64-bit) and database version 10.2.0.3.0 i have cold backup and i want to partion restore on Linux Redhot 5.5 (64-bit), database version 10.1.0.4.0 .1. AFAIK you can not do it i mean wiht cold backup move from HP to linux
    2. You can try to use exp-imp if you want to change db version.
    See below notes:
    Master Note For Oracle Database Upgrades and Migrations [ID 1152016.1]
    Different Upgrade Methods For Upgrading Your Database [ID 419550.1]
    Regard
    Helios

  • RMAN Backup to ASM and DISK Multiple Locations

    Hi
    We currently have a RAC database that backs up to the Flash Recovery Area on ASM.
    Is there any way of backing up to ASM and Local Disk at the same time? I know you can configure multiple locations but what is the syntax to backup to ASM?
    I've seen the line
    format '/disk1/......','/disk2/.....' etc which backs upto multiple locations.
    Is ASM just '+data/......' ?
    Thanks

    as you said, use the ASM path in the format scope.
    also if you want to backup the DBF's as is(not a backup set) - use:
    backup as copy database;
    good luck

Maybe you are looking for

  • Running total in report footer returning inaccurate result

    Post Author: smarkta CA Forum: Formula I am writing a report that contains 3 groups.  I have created running totals for each group that are accurate by selecting the group to evaluate and reset on.  now I need to basically sum the results of the all

  • How to install OSX 10.6 client in Mac Mini Server 10.7 Lion Server

    I am ordering a Mac Mini Server with Lion Server 10.7, with 256GB SSD and 750GB HD.  I want to use Snow Leopard (client/workstation) instead.  Previously I have already purchased retailed version of 10.5 clients and 10.6 client upgrade.  Please advis

  • Problem in LSMW ---mapping

    Dear Freinds,                  I have uploaded infotyep 0002 using LSMW wiath a project id  , now i have to upload another infotype 0006 ,as per the documentation i have found that i can use only one project for all my infotypes. so i created one pro

  • Hp pavilion all-in-one green screen problems

    I purchased a brand new 23 inch HP pavilion all-in-one, set it up and used it for 3 or 4 days but kept getting GREEN SCREENS on face book videos and other websites...had to reboot constantly to correct the problem but after a few hours it returns. I

  • How to convert mobi books to ePub format?

    Hello, I have a question for help here, I have a lot of .mobi books on my computer, I wanna transfer these mobi books to my iPhone and iPad for reading, but I found they doesn't accept mobi format, I tried many ways to convert mobi to ePub but failed