RMAN backup using control as repository via networker file

Hi guys,.

I use the control as the rman repository file. Currently I have this backup running at 20:00 every night:

backup format full filesperset 4 ' / Data_%d_%U/' (database);
SQL 'alter system switch logfile;
SQL 'alter system archive log current';
overlap archivelog all;
backup format '% s_ %%t p_ arch_' archivelog all;
delete archivelog all completed before ' sysdate-3'; "

And the log backup archive running from 07:00, 11:00, 16:00.


Have a few queries:

1. understand that with the above, backup control files will also be included as RMAN automatically includes the control file and the SPFILE in backups of data file 1.
So in all cases when my control file is accidentally deleted from the server, I always can I restore from the backup right?
I think I need set the db first as a control the file id is my deposit. If the control is absent, it can identify the control file for restore by setting db IDs?
2. my automatic backup of control is set to off. What is the difference between the control file backup taken by autobackup compared to 1?
understand controlfile autobackup is good because it will automatically backup if there is no change in the db (as new file created, etc.). Any other difference?
3.
Plateforme BACKUP CURRENT CONTROLFILE
❐ a control within a file backup by using the CONTROLFILE CURRENT INCLUDE of the BACKUP command
What is the difference with this backup from controlfile backup to point 1 and 2?

4. Finally, if my control + bow + datafiles, redo file is deleted by mistake at 18:00. I've restored the control taken to yesterday 20:00 file. The control file consisting only of 20:00 and before backup information, how to restore the rest of the newspapers arch taken by 07:00, 11:00, 16:00?



Thank you

Since you talk about networker, I presume that you are copying backups from disk to tape as a separate order of networker. Do not forget to include the controlfile record as well during the copy on tape!

1. Yes, you can restore the controlfile and spfile from the backup. But you will need to manually determine what backup piece contains the backup controlfile and spfile. (In the scenario where you assume the controlfile is lost, you cannot issue a BACKUP LIST to identify the backuppieces, so you will have files from search logs to identify the backuppiece!)

2. a controlfile autobackup will be created in db_recovery_file_dest using OMF. If you do not have it defined, the controlfile autobackup is epxected to go in $ORACLE_HOME/dbs - although the location of the actual target can be dependent on version and platform.

3. a backup BACKUP CONTROLFILE creates a separate backupset and backuppiece for the controlfile. In OMF, it goes in the backup directory, not in the AutoSave directory.

4. without a repository, if your archivelog backups are on the disc, you can catalog THEM (i.e. run 'CATALOGUE START WITH /disklocation' command) in the controlfile you restorted to the backup from 20:00. You cannot catalog backuppeices tape is advicable to use a repository when you back up directly to tape.

Hemant K Collette

Tags: Database

Similar Questions

  • Using the sym feature. via JS file

    I'm working on a project where I have a few custom in a Javascript file functions.

    I want to be able to access the edge works such as sym.play(1000) (); from this file.

    The console I always return 'ReferenceError: can't find variable: sym'

    How can I go on the use of the funcitons sym my JS file?

    Hey, Trin-

    Well, I was really close, but I forgot the "getStage.  This is a simple file that I put in place to demonstrate an external JS file calling into an Animate composition.

    https://creative.Adobe.com/share/2e160010-41ca-460A-83a6-62b75b3b83bd

    I hope this helps!

    -Elaine

  • RMAN backup and restore into Production KEEPS RAC and DATA

    Hi gurus of the Oracle

    We need the expert advice for tune and cross check the RMAN Script for Production environment below below

    Please suggest any corrections or comments on below mention scripts which will be executed on RAC and Production DATA GUARD environment

    LINUX RHEL 5.5 64-bit
    ORACLE GRID Infrastructure R2 Version 11.2.0.3.0 (we use ASM Cluster File system)
    ORACLE11g R2 Version 11.2.0.3.0

    We planned for basically rman backup drive using control file target instead of recovery catalog database

    We will have Data Guard Setup between 2 remote sites of database and two remote sites have running the local 2-node RAC database

    =========================RMAN_Full_Backup.sh=========================================================================
    #! / bin/bash
    . /Home/orarac/.bash_profile
    logloc = 'date' + rman_backup_lvl0_orcldb_ %m %y hour %M %S %d ".log
    # Start rman backup
    Target of $ORACLE_HOME/bin/rman = / log = / backup/RMAN_Log / $logloc < < EOF
    run
    {
    allocate channels ch1 type disk maxpiecesize = 1024 M;
    allocate channel ch2 type disk maxpiecesize = 1024M;
    database backup incremental level 0 FORMAT ' / backup/RMAN_Backup/rman_bkp_%U_%d_%T_DATAFILE_LVL0_%D_%M_%Y'
    include current controlfile
    tag 'datafile_full ';
    }

    run
    {
    allocate channels ch1 type disk maxpiecesize = 1024 M;
    allocate channel ch2 type disk maxpiecesize = 1024M;
    overlap archivelog all;
    SQL 'alter system archive log current';
    backup ARCHIVELOG all delete them all input FORMAT ' / backup/RMAN_Backup/rman_bkp_%U_%d_%T_ARCHIVELOG_%D_%M_%Y'
    tag 'archivelog_full ';
    }
    cross-checking of backup;
    delete noprompt obsolete;
    Save the list of database;
    EXIT;
    EXPRESSIONS OF FOLKLORE
    ==================================================================================================
    =========================================RMAN_Inc_Backup.sh ===========================================
    #! / bin/bash
    . /Home/orarac/.bash_profile
    logloc = 'date' + rman_backup_lvl1_orcldb_ %m %y hour %M %S %d ".log
    # Start rman backup
    # use only the following line if this script is run via the root CRON
    Target of $ORACLE_HOME/bin/rman = / log = / backup/RMAN_Log / $logloc < < EOF

    Run {}
    allocate channels ch1 type disk maxpiecesize = 1024 M;
    allocate channel ch2 type disk maxpiecesize = 1024M;
    database backup incremental level 1 FORMAT ' / backup/RMAN_Backup/rman_bkp_%U_%d_%T_DATAFILE_LVL1_%D_%M_%Y'
    include current controlfile
    tag 'datafile_Incr ';
    }
    Run {}
    allocate channels ch1 type disk maxpiecesize = 1024 M;
    allocate channel ch2 type disk maxpiecesize = 1024M;
    overlap archivelog all;
    SQL 'alter system archive log current';
    backup ARCHIVELOG all delete them all input FORMAT ' / backup/RMAN_Backup/rman_bkp_%U_%d_%T_ARCHIVELOG_%D_%M_%Y'
    tag 'archivelog_full ';
    }
    cross-checking of backup;
    delete noprompt obsolete;
    backup from the list;
    EXIT;
    EXPRESSIONS OF FOLKLORE
    -bash - $3.2
    ====================================================================================================
    ===================================RMAN_DB_Restore.sh====================================================
    -bash-3, $ 2 cat /home/orarac/RMAN_Scripts/RMAN_DB_Restore.sh
    #! / bin/bash
    . /Home/orarac/.bash_profile
    logloc = 'date' + rman_restore_orcldb_ %m %y hour %M %S %d ".log
    # use only the following line if this script is run via the root CRON
    Target of $ORACLE_HOME/bin/rman = / log = / backup/RMAN_Log / $logloc < < EOF
    Run {}
    BOOTABLE MEDIA FORCE;
    RESTORE THE DATABASE;
    RECOVER THE DATABASE;
    ALTER DATABASE OPEN;
    }
    EXIT;
    EXPRESSIONS OF FOLKLORE
    ====================================================================================================

    Concerning
    Hitgon

    Thank you mseberg

    This command is the full backup or a backup of level 0?

    full backup as compressed backupset
    data include current controlfile more archivelog deletion entry;

    We use command below for the full backup of database.
    database backup incremental level 0 FORMAT ' / backup/RMAN_Backup/rman_bkp_%U_%d_%T_DATAFILE_LVL0_%D_%M_%Y'
    include current controlfile
    tag 'datafile_full ';

    We use the command below to the increment backup
    database backup incremental level 1 FORMAT ' / backup/RMAN_Backup/rman_bkp_%U_%d_%T_DATAFILE_LVL1_%D_%M_%Y'
    include current controlfile
    tag 'datafile_Incr ';

    What is the different when we use
    CONFIGURE ARCHIVELOG DELETION POLICY TO APPLIED ON STANDBY;

    or

    full backup as backupset compressed database include controlfile current more archivelog delete all input;

    Concerning
    Hitgon

  • Creating a new controlfile with RMAN backup data files

    Hello

    I use oracle 10g (10.2.0.1) in RHEL5 server. I am trying to restore a RMAN backup from one server to another server again with the new name of the comic. I took on the RMAN backup spfile and created her pfile and edited the file pfile with new dbname and directory structure and launched the db in nomount with new pfile. Today I restored the backup controfile RMAN has tried to put the database in State of Mount. But it failed due to the error below

    RMAN-03002: failure of alter db command at 21:44:56 05/11/2012
    ORA-01103: name "ORADB" in the control of the database file is not 'DEVDB '.

    So I stop the database and started the db in nomount with new pfile and tried to create the controlfile with new db name, but he didn't like it is looking for the data files.

    ORA-01503: CREATE CONTROLFILE failed
    ORA-01565: error in file identification
    ' / u01/app/oracle/oradata/DEVDB/datafile/o1_mf_system_80jq0kfw_.dbf'
    ORA-27037: unable to get file status
    Linux error: 2: no such file or directory
    Additional information: 3

    All my data files in my RMAN backup. How to get the data files of RMAN backup in the above scenario?

    Kind regards
    007

    restaurer restore as ORADB, then rename the database with DBNEWID
    http://docs.Oracle.com/CD/B19306_01/server.102/b14215/dbnewid.htm

    or use duplicate instead of restore

  • Rman backup schedule in windows

    Hi all
    I need to configure the Rman backup using Task Scheduler in windows. I placed 2 scripts is 1 batch file and 2nd is the file sql with the content below. When I ran the batch file, the process is only get connected in RMAN prompt but don't not executing the sql statements, how can you plan it?

    Version: 9i
    OS: Windows server 2003

    Bat file
    RMAN target=sys/oracle@orcl1
    @ "d:\oracle\rman\backup.sql".
    --------------------------------------
    SQL file
    run
    {
    ARCHIVELOG backup all;
    delete noprompt obsolete;
    }

    RMAN cmdfile=

    As they are not sql statements, I also don't use the extension .sql, but .rmn or something like that.
    -------------
    Sybrand Bakker
    Senior Oracle DBA

  • How knowledge/check if the RMAN backup was performed using a current control file or database catalog?

    Hello

    How knowledge/check if the RMAN backup was performed using a current control file or database catalog? I mean RMAN prompt or sqlplus is it possible to know.

    Thank you

    You're welcome my friend

    You can see them using two methods.

    as I mentioned above, you can see them connect to the catalog database and you can query using the view that I sent

    http://docs.Oracle.com/CD/E11882_01/backup.112/e10642/rcmreprt.htm#BRADV89601

    the other method is the list command, you must use the list command after connecting using rman "rman target / catalog cat_user/cat_pass@catdbtns" command

    http://docs.Oracle.com/CD/E11882_01/backup.112/e10642/rcmreprt.htm#BRADV8136

    Check the value of the control_file_record_keep_time parameter. The default value is 7 days. in the output of the list command, if you can see the old backups to the value, you must be sure that the backup information comes from the catalogue database

    SELECT * FROM parameter $ v where name = 'control_file_record_keep_time '.

    an example of command list

    the list of completed database before backup ' sysdate-10'.

    Concerning

  • Using tape for RMAN backup concerns

    Dear all,

    I use the library of networker for rman backup. I have some problem/question about what I don't use catalog db. Here it goes:

    1. think you that automatic backup controlfile should set to strip? or better to keep in the disc.

    2. How can I configure autoback controlfile format on TAPE?

    3. If I need to restore control to another HOST file, how can we do this?

    4. I've read a few books we can't CATALOG element of tape backup. If it's the fact that, after the disaster, how do I Catalog backup piece and restore this backup piece in another host?

    Kind regards

    Hello

    1 when RMAN channel tape is allocated when running RMAN backup, autobackup controlfile will be created in the Ribbon to place on the disc. If structural change to the database is made, for example by adding a new data file, then the controlfile autobackup will be created in the disk, regardless of the device type of the default RMAN configuration.

    Control file autobackup after structural changes of data and the Type of device SBT_TAPE (Doc ID 1190354.1)

    2. set below:

    RMAN > CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE 'SBT_TAPE' TO '%F ';

    3. If the automatic backup location is not the default location and then set the location first.

    Use this command to set the location:

    RMAN > SET FORMAT FOR DEVICE TYPE SBT_TAPE AUTOBACKUP CONTROLFILE to '< auto="" backup="" format="">';

    Then use the command

    RMAN > restore controlfile on "" automatic backup;

    4. starting with 10 g, it is possible to use the rman CATALOG command to add backuppieces stored in the disc to the rman repository. But it is not possible to use the order CATALOG for items stored on TAPE backup, but note below explains undocumented commands to add backuppieces stored in the RIBBON for the repository.

    HOW TO CATALOG the TAPE BACKUP ITEMS (Doc ID 550082.1)

    Thank you

  • 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

  • using RMAN backup files

    Hello
    Merry Christmas.
    in 10g R2. I have a database made by RMAN backup files. The RMAN Repository has fallen. Can I use this backup file to cleta a DB? How?
    Thank you and best regards.

    have you taken the backup of the control file when you have backed up your database?

  • 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

  • wit problem via rman backup

    10 2 0 5 version
    Windows xp

    I am taking cold backup of test data without using the catalogue.

    I mounted database and tried the following query, his throw errror below... Please help

    RMAN > backup database;

    From backup February 17, 11
    allocated channel: ORA_DISK_1
    channel ORA_DISK_1: sid = 155 devtype = DISK
    channel ORA_DISK_1: from full datafile backupset
    channel ORA_DISK_1: specifying datafile (s) in backupset
    RMAN-03009: failure of the backup command on the channel ORA_DISK_1 at 17/02/2011 15:56:28
    ORA-19602: no backup or copy of current file in NOARCHIVELOG mode
    continue other job steps, not a not working will not re-run
    channel ORA_DISK_1: from full datafile backupset
    channel ORA_DISK_1: specifying datafile (s) in backupset
    including the current control in backupset file
    including current SPFILE in backupset
    channel ORA_DISK_1: starting piece 1 to February 17, 11
    channel ORA_DISK_1: finished piece 1 to February 17, 11
    room handle=D:\ORACLE\PRODUCT1\10.2.0\FLASH_RECOVERY_AREA\CATALOG\BACKUPSET\2011_02_17\O1_MF_NCSNF_TAG20110217T155628_6OSXYQHK_. Tag BKP = comment TAG20110217T155628 = NONE
    channel ORA_DISK_1: complete set of backups, time: 00:00:03
    RMAN-00571: ===========================================================
    RMAN-00569: = ERROR MESSAGE STACK FOLLOWS =.
    RMAN-00571: ===========================================================

    RMAN-03009: failure of the backup command on the channel ORA_DISK_1 at 17/02/2011 15:56:28
    ORA-19602: no backup or copy of current file in NOARCHIVELOG mode

    Thanks and greetings
    Arun

    Was there a 'cancel the stop' or a crash before mount 'start '? If so start database, stop it properly and try again.

    Werner

  • RMAN backup control file

    HII I am working on oracle 10g 10.2.0.4.0 on solaris 10 have an asm and rac configuration (2 node rac).

    I only have a single control file--+DATA_DG1/ftssdb/controlfile/current.270.664476369

    I'm back up these files to control with rman

    CONFIGURE CONTROLFILE AUTOBACKUP ON;
    CONFIGURE CONTROLFILE AUTOBACKUP FORMAT for DEVICE TYPE DISK TO ' / backup/rman_node1/%F';



    c 31850833-20100909-00 is one supported by piece of control file.

    now, suddenly, a system of administration deleted this file control... How can I recover my database using rman backup?

    RMAN > SET 3386862614 DBID
    RMAN > RUN {
    RESTORE AUTOMATIC BACKUP CONTROLFILE;
    }
    or
    RMAN > SET 3386862614 DBID
    RMAN > RUN {
    CONTROLFILE AUTOBACKUP FORMAT SET
    FOR DEVICE TYPE DISK TO ' / backup/rman_node1/%F';
    RESTORE AUTOMATIC BACKUP CONTROLFILE;
    }

    check out the link:
    http://arjudba.blogspot.com/2008/05/How-to-restore-controlfile-from-backup.html

    Published by: rajeysh on Sep 9, 2010 16:37

  • Full syntax for backup using RMAN

    Hi all..
    I have Oracle 11g installed on M5000, Solaris 10
    I want to take a full backup of my database through RMAN
    I enter on the backup server

    . .DB/env
    Connect catalog rrkas/rr345
    (connected)
    connect target sys/root123@grid1
    (connected)

    RMAN > run {}
    disc type allocat channel dev1;
    backup database
    format ' / export/home/oracle/dumps/grid3_%t_%sp%p';
    output channel dev1;
    }


    He began the work. On my dbserver file is created according to the format.

    just want to ask, is it the right way to take complete or physical backup? Backup is enough fully to recover the files, in which case a new RAC is added to the cluster?
    Thanks in advance.

    Hello

    its ok.

    hope that you have configured the control file auotback on.
    and also take the files from archive log.

    use backup database and journal archiving;

    Kind regards
    Deepak

  • I can't back up my files via network to another computer, both using Vista

    Using the Backup Wizard, the ability to back up by using network is disabled (can not click on the button). I'm running Vista Home Basic, the other computer on the network is on Home Premium. The network works very well in every other respect, etc. file sharing.

    Hi peter_849,

    Windows Vista Home Basic Edition supports backup on a network location. It can only back up to a local disk.

    To work around the problem, you can try to backup locally, and then copy the backup on another machine on the network.

    For more information, see the link:

    Back up and restore: frequently asked questions

    http://Windows.Microsoft.com/en-us/Windows-Vista/back-up-and-restore-frequently-asked-questions

    Hope this information is useful.

  • It is advisable to use RMAN backups?

    Hello

    Currently in our production databases, they took only the export dumps in every day.

    Is it advisable if we use RMAN backups?

    Expdp/impdp we can import the dump and create a database in UAT as same as production.

    If we opt for RMAN, is it possible to restore the backup as expdp to test if necessary?

    Thanks in advance.

    2

    679362 wrote:

    Hello

    Currently in our production databases, they took only the export dumps in every day.

    Is it advisable if we use RMAN backups?

    As others have said or implied, it is MORE than advisable.  I would declare it like this: If you want to stay independent as a DBA, it is mandatory.  Without him, there will come a time where you will lose data.  And which violates the Prime Directive for the DBA.

    Expdp/impdp we can import the dump and create a database in UAT as same as production.

    Which may or may not be very well to "Refresh" a test database, but it is not acceptable for the recovery of a database of lost output unless you accept BOTH of the following:

    (1) potentially to recreate an 'empty' database to replace the lost production database.

    1 a) potentially lose required components of database and/or configurations because you have forgotten/don't do them after the recreation of the empty database

    (2) lose all data that has been added to the database once your instant export has been taken.

    Do you think all the foregoing as an acceptable risk for your organization?

    If we opt for RMAN, is it possible to restore the backup as expdp to test if necessary?

    Definitely.  Why wouldn't be?  With rman for your primary backup strategy does not prevent you to export for any purpose you want to do with them.

    I have 4 key production databases.  For three of them, I update their counterparts in test with rman backups. For the fourth, I use exports.

    Thanks in advance.

Maybe you are looking for