Doubt RMAN for recovey

Hello

I'm learing RMAN and beginner in this area. I have a doubt for recovey db.
I took hotbackup full db using controlfile deposit of GR 11, 2 db. Then I restored it on the same host, directory structure has also been even during the restoration restore n as it was during the backup.

Safeguard measures:
RMAN > configure redundancy 2 retention policy;
RMAN > set the parallelism of peripheral disc type 2;
RMAN > configure channel device type disk format ' / home/oracle/rman_backup/ora_df%t_b%s_p%p';
RMAN > configure controlfile autobackup on;
RMAN > configure CONTROLFILE AUTOBACKUP peripheral type disc format in ' / home/oracle/rman_backup/ora_cf%F';
RMAN > set up optimization backup;
RMAN > show all.
RMAN > backup the database archivelog;

Restore and refresh as follows:

*. On SQLPLUS, stop immediately
*. Remove all the data files, redo logs, control files, newspapers archived (of the oradata and flashback area)
*. On the RMAN command prompt:
1 RMAN > startup nomount;
2 RMAN > restore controlfile to ' / home/oracle/rman_backup/ora_cfc-4124714611-20110510-00';
3 RMAN > change the editing of the database;
4 RMAN > restore database;
5 RMAN > backup from the list of the archivelog all;
6 RMAN > recover database until sequence 6.
7 RMAN > alter database open resetlogs;


On the SQL command prompt:

8. SQL > select group # first_change #, status, sequence #, archived log v$. (this step was performed before you recover the database, that is to say prior to step 6)

GROUP # FIRST_CHANGE # STATUS # ARC SEQUENCE

1 962626 YES 4 INACTIVE
3 979898 6 CURRENT NO.
*2        979836                      ACTIVE                     5               YES*



Since up to SEQ 5 only, archives were present at the start, I got db up to seq 5, but RMAN showed following error:*.

RMAN > recover database until the sequence 5.

From pick up to 22 May 11
using channel ORA_DISK_1
using the ORA_DISK_2 channel
RMAN-00571: ===========================================================
RMAN-00569: = ERROR MESSAGE STACK FOLLOWS =.
RMAN-00571: ===========================================================
RMAN-03002: failure of the command recover at 22/05/2011 22:36:21
RMAN-06556: datafile 1 must be restored from a backup that is older than SNA 979836

Then I cleaned new system and gave 6 SEQ next time during recovery as it is the highest seq, but since archivelog to seq 6 is not present or redo logs are present (as far as my backup rman understanding isn't back ups redo logs and I had deleted previous recovery of host newspapers before starting the recovery and restoration) , then how is the recovery completed successfully? +


Here are the steps of restoration and recovery with o/p for your reference:

target [oracle@purnima 112_db] $ rman.

Recovery Manager: release 11.2.0.1.0 - Production Wednesday, may 25, 22:19:49 2011

Copyright (c) 1982, 2009, Oracle and/or its affiliates. All rights reserved.

connected to the database target (not started)

1 RMAN > startup nomount;

Oracle instance started

Total System Global Area 619360256 bytes

Bytes of size 1338280 fixed
427820120 variable size bytes
184549376 of database buffers bytes
Redo buffers 5652480 bytes

2 RMAN > restore controlfile to ' / home/oracle/rman_backup/ora_cfc-4124714611-20110510-00';

From restoration to 25 May 11
using the control file of the target instead of recovery catalog database
allocated channel: ORA_DISK_1
channel ORA_DISK_1: SID = 19 type of device = DISK

channel ORA_DISK_1: restore the control file
channel ORA_DISK_1: restore complete, duration: 00:00:04
output file name=/home/oracle/112_db/oradata/honey/control01.ctl
output file name=/home/oracle/112_db/flash_recovery_area/honey/control02.ctl
Finished restoring to May 25, 11

3 RMAN > change the editing of the database;

mounted database
output channel: ORA_DISK_1

RMAN > show all.

Database with db_unique_name HONEY RMAN configuration parameters are:
CONFIGURE REDUNDANCY 2 RETENTION STRATEGY;
CONFIGURE BACKUP OPTIMIZATION
SET UP DEFAULT DISK DEVICE TYPE; # by default
CONFIGURE CONTROLFILE AUTOBACKUP ON;
CONFIGURE CONTROLFILE AUTOBACKUP FORMAT for DEVICE TYPE DISK TO ' / home/oracle/rman_backup/ora_cf%F';
SET UP THE DEVICE TYPE DISK PARALLELISM 2 TYPE OF BACKUP BACKUPSET.
CONFIGURE BACKUP OF DATA TO DISK FILE TYPE DEVICE TO 1; # by default
CONFIGURE BACKUP ARCHIVELOG FOR DEVICE TYPE DISK TO 1; # by default
CONFIGURE CHANNEL DEVICE TYPE DISK FORMAT ' / home/oracle/rman_backup/ora_df%t_b%s_p%p';
CONFIGURE MAXSETSIZE TO UNLIMITED; # by default
CONFIGURE ENCRYPTION OF DATABASE # by default
CONFIGURE THE ENCRYPTION ALGORITHM "AES128"; # by default
CONFIGURE COMPRESSION ALGORITHM 'BASIC' AND 'DEFAULT' LIBERATION OPTIMIZE FOR TRUE LOAD; # by default
CONFIGURE THE NONE ARCHIVELOG DELETION POLICY; # by default
CONFIGURE SNAPSHOT CONTROLFILE NAME TO ' / home/oracle/112_db/product/11.2.0/dbhome/dbs/snapcf_honey.f'; # by default

4 RMAN > restore database;

From restoration to 25 May 11
From implicit overlapping backup 25 May 11
allocated channel: ORA_DISK_1
channel ORA_DISK_1: SID = 20 type of device = DISK
allocated channel: ORA_DISK_2
channel ORA_DISK_2: SID = 21 type of device = DISK
Intersected 4 objects
Cut 3 objects
Finished the backup implicit intersection to 25 May 11

Starting copy of implicit intersection to 25 May 11
using channel ORA_DISK_1
using the ORA_DISK_2 channel
Copy of implicit overlap finished on 25 May 11

the search for all files in the recovery area
cataloging files...
not cataloged files

using channel ORA_DISK_1
using the ORA_DISK_2 channel

channel ORA_DISK_1: from the restore backup set data file
channel ORA_DISK_1: specifying datafile (s) to restore from backup set
channel ORA_DISK_1: restore datafile 00002 to /home/oracle/112_db/oradata/honey/sysaux01.dbf
channel ORA_DISK_1: restore datafile 00003 to /home/oracle/112_db/oradata/honey/undotbs01.dbf
channel ORA_DISK_1: restore datafile 00005 to /home/oracle/112_db/oradata/honey/example01.dbf
channel ORA_DISK_1: reading of the backup/home/oracle/rman_backup/ora_df750773827_b15_p1 element
channel ORA_DISK_2: from the restore backup set data file
channel ORA_DISK_2: specifying datafile (s) to restore from backup set
channel ORA_DISK_2: restore datafile 00001 to /home/oracle/112_db/oradata/honey/system01.dbf
channel ORA_DISK_2: restore datafile 00004 in /home/oracle/112_db/oradata/honey/users01.dbf
channel ORA_DISK_2: reading of the backup/home/oracle/rman_backup/ora_df750773827_b14_p1 element
channel ORA_DISK_1: piece handle = / home/oracle/rman_backup/ora_df750773827_b15_p1 tag = TAG20110510T121707
channel ORA_DISK_1: restored the backup part 1
channel ORA_DISK_1: restore complete, duration: 00:01:17
channel ORA_DISK_2: piece handle = / home/oracle/rman_backup/ora_df750773827_b14_p1 tag = TAG20110510T121707
channel ORA_DISK_2: restored the backup part 1
channel ORA_DISK_2: restoration complete, duration: 00:01:18
Finished restoring to May 25, 11

5 RMAN > backup from the list of the archivelog all;


List of backup sets
===================


Time of accomplishment time BS key size Device Type
------- ---------- ----------- ------------ ---------------
16,29 6 M DISK 00:00:01 MAY 10, 11
BP key: 6 location: AVAILABLE Tablet: NO Tag: TAG20110510T121703
Item name: / home/oracle/rman_backup/ora_df750773823_b13_p1

List of newspapers archived on backup the value 6
The next time that THRD Seq YVERT low low time next YVERT
---- ------- ---------- --------- ---------- ---------
1 4 962626 10 MAY 11 979836 10 MAY 11

Time of accomplishment time BS key size Device Type
------- ---------- ----------- ------------ ---------------
22.50 9 K DISK 00:00:00 10 MAY 11
BP key: 9 situation: AVAILABLE Tablet: NO Tag: TAG20110510T121834
Item name: / home/oracle/rman_backup/ora_df750773914_b16_p1

List of newspapers archived on backup value 9
The next time that THRD Seq YVERT low low time next YVERT
---- ------- ---------- --------- ---------- ---------
1 5 979836 10 MAY 11 979898 10 MAY 11

6 RMAN > recover database until sequence 6.

Starting recover at 25 May 11
using channel ORA_DISK_1
using the ORA_DISK_2 channel

starting media recovery

channel ORA_DISK_1: starting archived log restore to default destination
channel ORA_DISK_1: restoring archives Journal
Archives journal thread = 1 = 5 sequence
channel ORA_DISK_1: reading of the backup/home/oracle/rman_backup/ora_df750773914_b16_p1 element
channel ORA_DISK_1: piece handle = / home/oracle/rman_backup/ora_df750773914_b16_p1 tag = TAG20110510T121834
channel ORA_DISK_1: restored the backup part 1
channel ORA_DISK_1: restore complete, duration: 00:00:01
Archive log file name=/home/oracle/112_db/flash_recovery_area/HONEY/archivelog/2011_05_25/o1_mf_1_5_6xtfgqc6_.arc thread = 1 = 5 sequence
default channel: archived deletion or newspapers
RECID = STAMP 16 = 752106671 name=/home/oracle/112_db/flash_recovery_area/HONEY/archivelog/2011_05_25/o1_mf_1_5_6xtfgqc6_.arc archived log file
media recovery complete, duration: 00:00:01
Finished recover at 25 May 11

7 RMAN > alter database open resetlogs;

open database

8 RMAN > exit


Kind regards
Purnima Johari

I have no onlinelogs on the host. I deleted all the log files from the flash and oradata recovery area before you begin the process of restoration and recovery on the host (.dbf, .log, .ctl). When I tried with "database recovery command", he gave following error (it's just the excerpt from o/p):

Ah - yes: If you remove the onlinelogs then you receive the above error because a newspaper archive does not yet exist and the onlinelog with sequence 6 is missing too.

>

So you mean if we use up to clause with database recovery command, it always runs recovery up to n - 1. So imagine a scenario where all newspapers of recovery have been archived, if highest till SEQ that checked is generated is N, then to until I give SEQ N + 1 as up to execute it 'N' no time. Right?

It's just too. It goes same for the RCS. If you want to recover to the last SNA in a specific archivelog, you can query the column NEXT_CHANGE # of v$ archived_log , then you will run 'restore database until the SNA... "and give the RCS of NEXT_CHANGE #-because it will recover to NEXT_CHANGE #-1.

See you soon
Jörg

Tags: Database

Similar Questions

  • Configuring RMAN for dataguard.

    Hi all

    Here we have an environment dataguard with db1 (db_unique_name) as primary and db2 (db_unique_name) Physics of the standby database. For primary and secondary the ORACLE_SID is "oracledb." We have configured dataguard in environments of 10 g and we don't use a grid control. And now we want to configure rman for incremental backups. We use a third database of catalog which we recorded primary DB successfully. When the primary configuration of rman is show conflicts. Even changes to the main configuration of RMAN are applied on the standby too who I think shouldn't happen in this scenario. How to solve this problem? Is what is happening because of the ORACLE_SID even for primary and secondary school? I enclose the link from the doc, we also followed the errors and configuring in rman. Can anyone help?

    http://docs.Oracle.com/CD/B28359_01/server.111/b28294/RMAN.htm#BAJFBBBB


    RMAN > CONFIGURE ARCHIVELOG DELETION POLICY APPLIED PENDING;

    new RMAN configuration settings:
    CONFIGURE ARCHIVELOG DELETION POLICY TO APPLIED ON STANDBY;
    new RMAN configuration settings are stored successfully
    from full resynchronization of the recovery catalog
    full complete Resync
    RMAN-08591: WARNING: invalid archivelog deletion policy

    RMAN > set UP DB_UNIQUE_NAME db1 CONNECT ID "db1".

    RMAN-00571: ===========================================================
    RMAN-00569: = ERROR MESSAGE STACK FOLLOWS =.
    RMAN-00571: ===========================================================
    RMAN-00558: error occurred during parsing of order entry
    RMAN-01009: syntax error: found 'db_unique_name': expected an a: ' archivelog, auxiliary, auxname, backup, channel, controlfile, clonename, compatible, datafile, device, by default, exclude, encryption, maxsetsize, retention, instant.
    RMAN-01007: line 1 column 11 file: entry standard


    RMAN > show all.

    from full resynchronization of the recovery catalog
    full complete Resync
    RMAN configuration parameters are:
    CONFIGURE RETENTION POLICY TO RECOVERY OF 2 DAYS WINDOW;
    CONFIGURE BACKUP OPTIMIZATION # by default
    SET UP DEFAULT DISK DEVICE TYPE; # by default
    CONFIGURE CONTROLFILE AUTOBACKUP # by default
    CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK TO "%F" # by default
    SET UP THE DEVICE TYPE DISK PARALLELISM 1 BACKUP BACKUPSET TYPE; # by default
    CONFIGURE BACKUP OF DATA TO DISK FILE TYPE DEVICE TO 1; # by default
    CONFIGURE BACKUP ARCHIVELOG FOR DEVICE TYPE DISK TO 1; # by default
    CONFIGURE MAXSETSIZE TO UNLIMITED; # by default
    CONFIGURE ENCRYPTION OF DATABASE # by default
    CONFIGURE THE ENCRYPTION ALGORITHM "AES128"; # by default
    CONFIGURE ARCHIVELOG DELETION POLICY TO APPLIED ON STANDBY;
    CONFIGURE SNAPSHOT CONTROLFILE NAME TO ' / u01/app/oracle/product/10.2.0/db_1/dbs/snapcf_NIOS.f'; # by default


    Thank you.

    Hello

    You must set log_archive_dest_2 (for the standby database) mandatory
    Like this

    alter system set log_archive_dest_2= 'service=standby lgwr async valid_for=(online_logfiles,primary_role) *mandatory*';
    

    try again the configuration of the deletion of journal policy archive on RMAN.

  • With RMAN for backup, but not with the archive logs

    We run a 10.2.0.4 database and the rest 11.2.0.3. All databases are on RHEL 5.7.

    Our backups are via RMAN, with the data files, controlfiles and spfile saved to disk, then each day, it is copied off site to a backup server.

    My question is around logs archiving and RMAN.
    Our current situation is:
    -We do not save the logs to archive via RMAN. for example: backup of the list of the archivelog all; gives "specification does not match backups in the repository.
    -We set the archive_lag_target so archiving logs is produced every 30 minutes.
    -a cron job running on a remote server runs periodically to synchronize data (rsync server) the directory of archives with a remote control.
    -daily archive logs on the server host are bzip. Purge of these newspapers is scheduled for more than 3 days rman 'window of recovery '.

    I'm interested in feedback as to if our strategy around archiving logs is correct or not.

    Should we be backup logs archiving via RMAN? Are there potential problems with our approach?
    We just kept our backups in this way the DBA in the past want to see newspapers archived as opposed to it while a backupset.

    Curious to know what others are doing.

    Hello

    Welcome to OTN!

    Archivelogs with RMAN backup is a better option. When the archives are supported by RMAN, RMAN would be aware of the backup items which are required at the time of the recovery archives. You don't have to do it manually.

    On the disk space, you can delete the archives once they were saved by RMAN.

    RMAN > delete any backup archivelog entry;

    This supports the archivelogs and then remove the archives from the disk.

    If you have a dataguard configured, you can set the deletion policy 'applied on Eve', which removes the archives as and when they are applied to the database ensures there by the management of disk space again.

    RMAN > configure archivelog political of deletion to applied pending;

  • Problem with the archive log when you use RMAN for backup and restore (11g 2)

    Hello world
    Please help me solve this problem.
    I'm just beginner in Oracle Database (11 g 2). Today, I had a problem, I tried to back up and restore my db by RMAN. I delete all the files in /u01/app/oracle/oradata/orcl / * , then I restore them easily, but the point is I have a table, I can restore Hungarian, but cannot restore anything ranks in it (something wrong with step restore database). I'll tell the detail below.
    -First, I create a 'Day' with command table create table hr.day (varchar (20)) day. Then I backup complete by this:
    run{
    allocate channel bkp device type DISK FORMAT '/u01/backup/DB_FULL_%d_%T_s%s_p%p' ;
    backup as compressed backupset incremental level 0 tag 'DB_FULL' database include current controlfile;
    backup as compressed backupset tag 'ARCL_BKP_FULL' archivelog all delete input;
    crosscheck archivelog all;
    crosscheck backup;
    delete noprompt obsolete;
    release channel bkp;
    }


    D ' other hand, I have insert 'Monday' to table. then do an incremental backup by this:

    run{
    allocate channel bkp device type DISK FORMAT '/u01/backup/DB_INC_%d_%T_s%s_p%p' ;
    backup as compressed backupset incremental level 1 tag 'DB_INC' database include current controlfile;
    backup as compressed backupset tag 'ARCL_BKP_INC' archivelog all delete input;
    crosscheck archivelog all;
    crosscheck backup;
    delete noprompt obsolete;
    release channel bkp;
    }

    Repeat 7 times (Monday-> Saturday). And I got these files:

    [oracle@rac ~]$ ls -l /u01/backup/
    total 400280
    -rw-r----- 1 oracle oinstall  10158080 Jan 20 07:23 c-1428943247-20160120-01
    -rw-r----- 1 oracle oinstall  10158080 Jan 20 08:04 c-1428943247-20160120-02
    -rw-r----- 1 oracle oinstall  10158080 Jan 20 08:05 c-1428943247-20160120-03
    -rw-r----- 1 oracle oinstall  10158080 Jan 20 08:06 c-1428943247-20160120-04
    -rw-r----- 1 oracle oinstall  10158080 Jan 20 08:08 c-1428943247-20160120-05
    -rw-r----- 1 oracle oinstall  10158080 Jan 20 08:08 c-1428943247-20160120-06
    -rw-r----- 1 oracle oinstall  10158080 Jan 20 08:09 c-1428943247-20160120-07
    -rw-r----- 1 oracle oinstall  10158080 Jan 20 08:32 c-1428943247-20160120-08
    -rw-r----- 1 oracle oinstall 296337408 Jan 20 07:23 DB_FULL_ORCL_20160120_s89_p1
    -rw-r----- 1 oracle oinstall   1130496 Jan 20 07:23 DB_FULL_ORCL_20160120_s90_p1
    -rw-r----- 1 oracle oinstall   2266624 Jan 20 07:23 DB_FULL_ORCL_20160120_s91_p1
    -rw-r----- 1 oracle oinstall   4073984 Jan 20 07:23 DB_FULL_ORCL_20160120_s92_p1
    -rw-r----- 1 oracle oinstall  11201536 Jan 20 07:23 DB_FULL_ORCL_20160120_s93_p1
    -rw-r----- 1 oracle oinstall   1130496 Jan 20 08:05 DB_INC_ORCL_20160120_s100_p1
    -rw-r----- 1 oracle oinstall    146944 Jan 20 08:05 DB_INC_ORCL_20160120_s101_p1
    -rw-r----- 1 oracle oinstall    884736 Jan 20 08:06 DB_INC_ORCL_20160120_s103_p1
    -rw-r----- 1 oracle oinstall   1130496 Jan 20 08:06 DB_INC_ORCL_20160120_s104_p1
    -rw-r----- 1 oracle oinstall     82432 Jan 20 08:06 DB_INC_ORCL_20160120_s105_p1
    -rw-r----- 1 oracle oinstall    294912 Jan 20 08:07 DB_INC_ORCL_20160120_s107_p1
    -rw-r----- 1 oracle oinstall   1130496 Jan 20 08:07 DB_INC_ORCL_20160120_s108_p1
    -rw-r----- 1 oracle oinstall     18944 Jan 20 08:08 DB_INC_ORCL_20160120_s109_p1
    -rw-r----- 1 oracle oinstall    155648 Jan 20 08:08 DB_INC_ORCL_20160120_s111_p1
    -rw-r----- 1 oracle oinstall   1130496 Jan 20 08:08 DB_INC_ORCL_20160120_s112_p1
    -rw-r----- 1 oracle oinstall    131584 Jan 20 08:08 DB_INC_ORCL_20160120_s113_p1
    -rw-r----- 1 oracle oinstall    647168 Jan 20 08:09 DB_INC_ORCL_20160120_s115_p1
    -rw-r----- 1 oracle oinstall   1130496 Jan 20 08:09 DB_INC_ORCL_20160120_s116_p1
    -rw-r----- 1 oracle oinstall      8704 Jan 20 08:09 DB_INC_ORCL_20160120_s117_p1
    -rw-r----- 1 oracle oinstall   2203648 Jan 20 08:04 DB_INC_ORCL_20160120_s95_p1
    -rw-r----- 1 oracle oinstall   1130496 Jan 20 08:04 DB_INC_ORCL_20160120_s96_p1
    -rw-r----- 1 oracle oinstall   1899008 Jan 20 08:04 DB_INC_ORCL_20160120_s97_p1
    -rw-r----- 1 oracle oinstall    327680 Jan 20 08:05 DB_INC_ORCL_20160120_s99_p1

    And
    RMAN> list backup summary;
    List of Backups
    ===============
    Key     TY LV S Device Type Completion Time #Pieces #Copies Compressed Tag
    ------- -- -- - ----------- --------------- ------- ------- ---------- ---
    80      B  0  A DISK        20-JAN-16       1       1       YES        DB_FULL
    81      B  0  A DISK        20-JAN-16       1       1       YES        DB_FULL
    82      B  A  A DISK        20-JAN-16       1       1       YES        ARCL_BKP_FULL
    83      B  A  A DISK        20-JAN-16       1       1       YES        ARCL_BKP_FULL
    84      B  A  A DISK        20-JAN-16       1       1       YES        ARCL_BKP_FULL
    85      B  F  A DISK        20-JAN-16       1       1       NO         TAG20160120T072332
    86      B  1  A DISK        20-JAN-16       1       1       YES        DB_INC
    87      B  1  A DISK        20-JAN-16       1       1       YES        DB_INC
    88      B  A  A DISK        20-JAN-16       1       1       YES        ARCL_BKP_INC
    89      B  F  A DISK        20-JAN-16       1       1       NO         TAG20160120T080440
    90      B  1  A DISK        20-JAN-16       1       1       YES        DB_INC
    91      B  1  A DISK        20-JAN-16       1       1       YES        DB_INC
    92      B  A  A DISK        20-JAN-16       1       1       YES        ARCL_BKP_INC
    93      B  F  A DISK        20-JAN-16       1       1       NO         TAG20160120T080545
    94      B  1  A DISK        20-JAN-16       1       1       YES        DB_INC
    95      B  1  A DISK        20-JAN-16       1       1       YES        DB_INC
    96      B  A  A DISK        20-JAN-16       1       1       YES        ARCL_BKP_INC
    97      B  F  A DISK        20-JAN-16       1       1       NO         TAG20160120T080657
    98      B  1  A DISK        20-JAN-16       1       1       YES        DB_INC
    99      B  1  A DISK        20-JAN-16       1       1       YES        DB_INC
    100     B  A  A DISK        20-JAN-16       1       1       YES        ARCL_BKP_INC
    101     B  F  A DISK        20-JAN-16       1       1       NO         TAG20160120T080801
    102     B  1  A DISK        20-JAN-16       1       1       YES        DB_INC
    103     B  1  A DISK        20-JAN-16       1       1       YES        DB_INC
    104     B  A  A DISK        20-JAN-16       1       1       YES        ARCL_BKP_INC
    105     B  F  A DISK        20-JAN-16       1       1       NO         TAG20160120T080844
    106     B  1  A DISK        20-JAN-16       1       1       YES        DB_INC
    107     B  1  A DISK        20-JAN-16       1       1       YES        DB_INC
    108     B  A  A DISK        20-JAN-16       1       1       YES        ARCL_BKP_INC

    My configuration of rman:
    RMAN> show all;
    RMAN configuration parameters for database with db_unique_name ORCL are:
    CONFIGURE RETENTION POLICY TO RECOVERY WINDOW OF 7 DAYS;
    CONFIGURE BACKUP OPTIMIZATION ON;
    CONFIGURE DEFAULT DEVICE TYPE TO DISK;
    CONFIGURE CONTROLFILE AUTOBACKUP ON;
    CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK TO '/u01/backup/%F';
    CONFIGURE DEVICE TYPE DISK PARALLELISM 2 BACKUP TYPE TO BACKUPSET;
    CONFIGURE DATAFILE BACKUP COPIES FOR DEVICE TYPE DISK TO 1; # default
    CONFIGURE ARCHIVELOG BACKUP COPIES FOR DEVICE TYPE DISK TO 1; # default
    CONFIGURE CHANNEL DEVICE TYPE DISK FORMAT   '/u01/backup/backup_df%t_s%s_s%p';
    CONFIGURE MAXSETSIZE TO UNLIMITED; # default
    CONFIGURE ENCRYPTION FOR DATABASE OFF; # default
    CONFIGURE ENCRYPTION ALGORITHM 'AES128'; # default
    CONFIGURE COMPRESSION ALGORITHM 'BASIC' AS OF RELEASE 'DEFAULT' OPTIMIZE FOR LOAD TRUE ; # default
    CONFIGURE ARCHIVELOG DELETION POLICY TO NONE; # default
    CONFIGURE SNAPSHOT CONTROLFILE NAME TO '/u01/app/oracle/product/11.2.0/dbhome/dbs/snapcf_orcl.f'; # default

    - Thirdly, i removed all file in /u01/app/oracle/oradata/orcl/*. then restore control file from the newest backup control file (saturday backup) + restore database. Seem nothing's wrong here.
    RMAN> restore controlfile from '/u01/backup/c-1428943247-20160120-08';
    Starting restore at 20-JAN-16
    allocated channel: ORA_DISK_1
    channel ORA_DISK_1: SID=18 device type=DISK
    allocated channel: ORA_DISK_2
    channel ORA_DISK_2: SID=20 device type=DISK
    channel ORA_DISK_2: skipped, AUTOBACKUP already found
    channel ORA_DISK_1: restoring control file
    channel ORA_DISK_1: restore complete, elapsed time: 00:00:09
    output file name=/u01/app/oracle/oradata/orcl/control01.ctl
    output file name=/u01/app/oracle/flash_recovery_area/orcl/control02.ctl
    Finished restore at 20-JAN-16

    RMAN> alter database mount;
    database mounted
    released channel: ORA_DISK_1
    released channel: ORA_DISK_2

    RMAN> restore database;
    Starting restore at 20-JAN-16
    Starting implicit crosscheck backup at 20-JAN-16
    allocated channel: ORA_DISK_1
    channel ORA_DISK_1: SID=20 device type=DISK
    allocated channel: ORA_DISK_2
    channel ORA_DISK_2: SID=18 device type=DISK
    Crosschecked 29 objects
    Finished implicit crosscheck backup at 20-JAN-16

    Starting implicit crosscheck copy at 20-JAN-16
    using channel ORA_DISK_1
    using channel ORA_DISK_2
    Finished implicit crosscheck copy at 20-JAN-16

    searching for all files in the recovery area
    cataloging files...
    no files cataloged

    using channel ORA_DISK_1
    using channel ORA_DISK_2

    channel ORA_DISK_1: starting datafile backup set restore
    channel ORA_DISK_1: specifying datafile(s) to restore from backup set
    channel ORA_DISK_1: restoring datafile 00001 to /u01/app/oracle/oradata/orcl/system01.dbf
    channel ORA_DISK_1: restoring datafile 00002 to /u01/app/oracle/oradata/orcl/sysaux01.dbf
    channel ORA_DISK_1: restoring datafile 00003 to /u01/app/oracle/oradata/orcl/undotbs01.dbf
    channel ORA_DISK_1: restoring datafile 00004 to /u01/app/oracle/oradata/orcl/users01.dbf
    channel ORA_DISK_1: restoring datafile 00005 to /u01/app/oracle/oradata/orcl/example01.dbf
    channel ORA_DISK_1: reading from backup piece /u01/backup/DB_FULL_ORCL_20160120_s89_p1
    channel ORA_DISK_1: piece handle=/u01/backup/DB_FULL_ORCL_20160120_s89_p1 tag=DB_FULL
    channel ORA_DISK_1: restored backup piece 1
    channel ORA_DISK_1: restore complete, elapsed time: 00:01:15
    Finished restore at 20-JAN-16

    -Fourth, the problem here, I got the database;
    .. .every oky until this line...
    starting media recovery

    channel ORA_DISK_1: starting archived log restore to default destination
    channel ORA_DISK_1: restoring archived log
    archived log thread=1 sequence=15
    channel ORA_DISK_1: reading from backup piece /u01/backup/DB_INC_ORCL_20160120_s117_p1
    channel ORA_DISK_1: piece handle=/u01/backup/DB_INC_ORCL_20160120_s117_p1 tag=ARCL_BKP_INC
    channel ORA_DISK_1: restored backup piece 1
    channel ORA_DISK_1: restore complete, elapsed time: 00:00:01
    archived log file name=/u01/app/oracle/flash_recovery_area/ORCL/archivelog/2016_01_20/o1_mf_1_15_c9xsyx9k_.arc thread=1 sequence=15
    unable to find archived log
    archived log thread=1 sequence=1
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of recover command at 01/20/2016 08:50:22
    RMAN-06054: media recovery requesting unknown archived log for thread 1 with sequence 1 and starting SCN of 1205841

    The error said that it is impossible to find the archived log thread = 1 sequence = 1. Then I check it with this command always there (oh, I'm wrong?)
    RMAN> list backup of archivelog all;
    List of Backup Sets
    ===================
    BS Key  Size       Device Type Elapsed Time Completion Time
    ------- ---------- ----------- ------------ ---------------
    82      2.16M      DISK        00:00:00     20-JAN-16     
            BP Key: 82   Status: AVAILABLE  Compressed: YES  Tag: ARCL_BKP_FULL
            Piece Name: /u01/backup/DB_FULL_ORCL_20160120_s91_p1

      List of Archived Logs in backup set 82
      Thrd Seq     Low SCN    Low Time  Next SCN   Next Time
      ---- ------- ---------- --------- ---------- ---------
    1    1       1154833    20-JAN-16 1177422    20-JAN-16

    BS Key  Size       Device Type Elapsed Time Completion Time
    ------- ---------- ----------- ------------ ---------------
    83      3.88M      DISK        00:00:00     20-JAN-16     
            BP Key: 83   Status: AVAILABLE  Compressed: YES  Tag: ARCL_BKP_FULL
            Piece Name: /u01/backup/DB_FULL_ORCL_20160120_s92_p1

      List of Archived Logs in backup set 83
      Thrd Seq     Low SCN    Low Time  Next SCN   Next Time
      ---- ------- ---------- --------- ---------- ---------
    1    1       1162729    20-JAN-16 1188784    20-JAN-16

    BS Key  Size       Device Type Elapsed Time Completion Time
    ------- ---------- ----------- ------------ ---------------
    84      10.68M     DISK        00:00:01     20-JAN-16     
            BP Key: 84   Status: AVAILABLE  Compressed: YES  Tag: ARCL_BKP_FULL
            Piece Name: /u01/backup/DB_FULL_ORCL_20160120_s93_p1

      List of Archived Logs in backup set 84
      Thrd Seq     Low SCN    Low Time  Next SCN   Next Time
      ---- ------- ---------- --------- ---------- ---------
      1    2       1177422    20-JAN-16 1201833    20-JAN-16

    BS Key  Size       Device Type Elapsed Time Completion Time
    ------- ---------- ----------- ------------ ---------------
    88      1.81M      DISK        00:00:01     20-JAN-16     
            BP Key: 88   Status: AVAILABLE  Compressed: YES  Tag: ARCL_BKP_INC
            Piece Name: /u01/backup/DB_INC_ORCL_20160120_s97_p1

      List of Archived Logs in backup set 88
      Thrd Seq     Low SCN    Low Time  Next SCN   Next Time
      ---- ------- ---------- --------- ---------- ---------
      1    3       1201833    20-JAN-16 1204844    20-JAN-16
      1    4       1204844    20-JAN-16 1204893    20-JAN-16
      1    5       1204893    20-JAN-16 1204958    20-JAN-16

    BS Key  Size       Device Type Elapsed Time Completion Time
    ------- ---------- ----------- ------------ ---------------
    92      143.00K    DISK        00:00:00     20-JAN-16     
            BP Key: 92   Status: AVAILABLE  Compressed: YES  Tag: ARCL_BKP_INC
            Piece Name: /u01/backup/DB_INC_ORCL_20160120_s101_p1

      List of Archived Logs in backup set 92
      Thrd Seq     Low SCN    Low Time  Next SCN   Next Time
      ---- ------- ---------- --------- ---------- ---------
      1    6       1204958    20-JAN-16 1205034    20-JAN-16
      1    7       1205034    20-JAN-16 1205253    20-JAN-16

    BS Key  Size       Device Type Elapsed Time Completion Time
    ------- ---------- ----------- ------------ ---------------
    96      80.00K     DISK        00:00:00     20-JAN-16     
            BP Key: 96   Status: AVAILABLE  Compressed: YES  Tag: ARCL_BKP_INC
            Piece Name: /u01/backup/DB_INC_ORCL_20160120_s105_p1

      List of Archived Logs in backup set 96
      Thrd Seq     Low SCN    Low Time  Next SCN   Next Time
      ---- ------- ---------- --------- ---------- ---------
      1    8       1205253    20-JAN-16 1205354    20-JAN-16
      1    9       1205354    20-JAN-16 1205433    20-JAN-16

    BS Key  Size       Device Type Elapsed Time Completion Time
    ------- ---------- ----------- ------------ ---------------
    100     18.00K     DISK        00:00:00     20-JAN-16     
            BP Key: 100   Status: AVAILABLE  Compressed: YES  Tag: ARCL_BKP_INC
            Piece Name: /u01/backup/DB_INC_ORCL_20160120_s109_p1

      List of Archived Logs in backup set 100
      Thrd Seq     Low SCN    Low Time  Next SCN   Next Time
      ---- ------- ---------- --------- ---------- ---------
      1    10      1205433    20-JAN-16 1205519    20-JAN-16
      1    11      1205519    20-JAN-16 1205559    20-JAN-16

    BS Key  Size       Device Type Elapsed Time Completion Time
    ------- ---------- ----------- ------------ ---------------
    104     128.00K    DISK        00:00:00     20-JAN-16     
            BP Key: 104   Status: AVAILABLE  Compressed: YES  Tag: ARCL_BKP_INC
            Piece Name: /u01/backup/DB_INC_ORCL_20160120_s113_p1

      List of Archived Logs in backup set 104
      Thrd Seq     Low SCN    Low Time  Next SCN   Next Time
      ---- ------- ---------- --------- ---------- ---------
      1    12      1205559    20-JAN-16 1205624    20-JAN-16
      1    13      1205624    20-JAN-16 1205739    20-JAN-16

    BS Key  Size       Device Type Elapsed Time Completion Time
    ------- ---------- ----------- ------------ ---------------
    108     8.00K      DISK        00:00:00     20-JAN-16     
            BP Key: 108   Status: AVAILABLE  Compressed: YES  Tag: ARCL_BKP_INC
            Piece Name: /u01/backup/DB_INC_ORCL_20160120_s117_p1

      List of Archived Logs in backup set 108
      Thrd Seq     Low SCN    Low Time  Next SCN   Next Time
      ---- ------- ---------- --------- ---------- ---------
      1    14      1205739    20-JAN-16 1205796    20-JAN-16
      1    15      1205796    20-JAN-16 1205840    20-JAN-16


    If i ignore it and open the database, just my table in full backup come back but rows was not restored. I'm sure the problem is my archive log backup but i don't know how to solve it. Plz help me.

    Sorry for a long post.

    > 1 and from the 1205841 SNA sequence

    The SCN that indicates Oracle is above the range of SNA that you have in the ArchiveLog backups for sequence 1 to 15 (15 sequence ends at 1205840).

    The message

    channel ORA_DISK_1: restoring archives Journal

    Archives journal thread = 1 sequence = 15

    channel ORA_DISK_1: backup/u01/backup/DB_INC_ORCL_20160120_s117_p1 piece reading

    channel ORA_DISK_1: piece handle = / u01/backup/DB_INC_ORCL_20160120_s117_p1 tag = ARCL_BKP_INC

    indicates that he has restored the sequence up to 15

    You can check the log file alert database instance for messages on the fact of recovery.

    He is now asking sequence #1 it seems you did a RESETLOGS after sequence #15.

    Note: If you have NOT issued a COMMIT after the line is INSERTED in the table 'Day', the recovery of the database will have no * transactions * to retrieve.  An uncomitted transaction is cancelled.

    Hemant K Collette

  • RMAN for MAINTENANCE CHANNELS type sbt

    Hello

    What is the difference between this type of channel and normal channel and/or auxiliary channel?

    And I'm not able to see where is my mistake in the following syntax:

    ALLOCATE CHANNEL for MAINTENANCE DEVICE TYPE sbt

    parms 'ENV = (NSR_SERVER = legato, NSR_CLIENT = procasxx)';

    RMAN-00558: is ha sown an analizar los comandos entrada al error

    RMAN-01009: syntax error:

    Thank you and best regards.

    Fran

    Hello

    ALLOCATE CHANNEL for MAINTENANCE DEVICE TYPE sbt

    parms 'ENV = (NSR_SERVER = legato, NSR_CLIENT = procasxx)';

    You run this command in a block of the RACE at the RMAN prompt?

    RMAN-01009: syntax error:

    What is the full error message? It seems to me that the message is not completely validated.

    I suspect if you are missing the path 'SBT_LIBRARY '.

    Something like this:

    ALLOCATE CHANNEL for MAINTENANCE DEVICE TYPE sbt parms'SBT_LIBRARY =, ENV = (NSR_SERVER = legato, NSR_CLIENT = procasxx)';

    RMAN > CHANNEL ALLOW for MAINTENANCE DEVICE TYPE sbt PARMS 'SBT_LIBRARY=/usr/local/oracle/backup/lib/libobk.so, =(OB_DEVICE_1=stape2) ENV ";

    -Jonathan Rolland

  • List of backups RMAN for duplication of time Point

    Is there a way to generate a list of all files in backup (incremental backups, archivelogs, controlfile, etc.) necessary for an RMAN duplicate database with the until time option?  I need a way to identify the files so I can save them for the future database update.  Any help is appreciated.

    If you want to identify the backup sets required to restore until the special SNA/timestamp, you can try to restore the preview of database option

    6.3.4.1 using RESTORE... Overview

    https://docs.Oracle.com/CD/B19306_01/backup.102/b14192/recov003.htm

    run

    {

    until the SNA;

    Overview of database restore;

    }

  • with rman for cloning

    Hello

    Could someone help me please with the steps necessary to use RMAN to clone a database 11g A on HostA to database B on HostB?

    Or you could point me to an article that would give me the steps?

    Thank you.

    Hello

    You can check this http://gavinsoorma.com/2013/07/restore-rman-backup-to-another-server-for-testing-disaster-recovery-procedures-as-well-as-for-cloning/

    HTH

  • Doubt RMAN backup

    I took a full backup of our TEST database using command in a different way because of problems of space below.

    Backup database archivelog format ' / u01/ora_rman_bkups/%d_%u_%s';

    When I go to RMAN and LIST BACKUP can't backup set above. When I go to OS I see two files created in this directory

    [oracle@enash ora_rman_bkups] $ ls-l
    Total 1428312
    -rw - r - 1 oracle oinstall 1460956160 Apr 2 13:36 AMAZTST_0oo62q17_24 * (I think it is the backup to the base) it is a correct element of different backup? *
    -rw - r - 1 oracle oinstall 189952 Apr 2 13:37 AMAZTST_0ro62qlf_27 * (I think they are archiving logs) - it is different element of proper backup? *


    I want to clone my AMAZPRD with above backup AMAZTST...

    Please suggest me if I can use the above backup items for duplication of data.

    Please look in my post...

    Yes, you can...

    1. produce a pfile to the new database
    assume that the source database uses a spfile. If this is not the case, simply make a copy the file pfile existing.

    Connect to the database as sysdba source and run the following:

    create pfile = "init.ora' of spfile;"

    This will create a new pfile directory of $ORACLE_HOME/dbs.

    The new pfile will have to be changed immediately. If the cloned database must have a different name from the source, this should be changed, as well as paths. Look at the contents of the file and make changes if necessary.

    Suppose that the cloned database will reside on the same machine that the source, Oracle must be told how to convert file names during the operation of double RMAN. This is achieved by adding the following lines in the newly created pfile file:

    db_file_name_convert = (,)
    log_file_name_convert = (,)

    2. create the bdump, udump and cdump directories
    Create directories as specified in the file pfile bdump, udump and cdump from the previous step.

    3. Add a new entry to oratab and source of the environment
    Edit the/etc/oratab (or/opt/oracle/oratab) and add an entry for the new database.

    Source the new environment with "." oraenv' and check that it worked by running the following command:

    echo $ORACLE_SID

    If it doesn't come out of the new sid database go back and examine why not.

    4. create a password file
    Use the following command to create a password file (add a password right at the end):

    orapwd file = $(ORACLE_HOME) / dbs/orapw$ {ORACLE_SID} password =

    5 duplicate the database
    From sqlplus, start the instance in nomount mode:

    startup nomount

    Output of sqlplus, start RMAN and then duplicate the database. As in step 1, it is assumed that no recovery catalog is available. If it is available, simply change the RMAN command to include it.

    RMAN target sys @ nocatalog auxiliary.

    duplicate target database to ;

    This will restore the database and apply some archiving logs. It may appear to hang at the end sometimes. Just give him the time - I think that it's because RMAN makes a stop 'normal '.

    If you see the following error message, it's probably due to the settings of file_name_convert, err. Return to step 2 and check the settings.

    RMAN-05001: auxiliary filename '%s' is in conflict with a file used by the target database

    Once the copy is complete, RMAN will display a message similar to the following:

    open database
    Finished the duplicate Db to 26 February 05

    RMAN >

    RMAN output.

    6. create a spfile
    From sqlplus:

    Create spfile from pfile;

    immediate stop
    startup

    Now that the clone is built, we need more file_name_convert settings:

    change the system reset db_file_name_convert scope = spfile sid ='* '
    /

    change the system reset log_file_name_convert scope = spfile sid ='* '
    /

    7. possibly take the clone off journal mode database archive
    RMAN will leave the database cloned in log mode archive. If the log mode archive is not necessary, run the following sqlplus commands:

    immediate stop
    Startup mount
    ALTER database noarchivelog;
    ALTER database open;

    8 Configuring the TNS
    Add entries for the new database in the listener.ora and tnsnames.ora as needed.

  • Configuration of rman for dataguard environment.

    Hi all

    Here we have an environment dataguard with as primary db1 and db2 as Physics of the standby database. We have configured dataguard in environments of 10 g and we don't use a grid control. Can anyone provide for incremental backups rman configuration steps in this environment? We want to schedule backups to take standby db (which is also applicable in the case of swithover). In the case of swithover for db2, what should we do to rman manually resume db1 backups?

    Thank you

    Hello;

    A database of Eve is a copy of the primary, so if you try to save it RMAN will probably tell you already recorded sound. Let me start with this:

    Watch the basic backup

    1 activate the automatic backup of the control file and server parameter file. CONFIGURE CONTROLFILE AUTOBACKUP ON.
    2. move the backups already backup of data files. CONFIGURE BACKUP OPTIMIZATION.
    3. set the deletion of archives policy. CONFIGURE THE POLICY OF DELETION VOTES AGAINST ZERO.

    You need to decide on the exact RMAN script to use, but because the database is saved you can perform a backup on the primary or standby as necessary.

    See "With RMAN to back up and restore files" in "the DataGuard of Concepts and Administration 10 g Release 2 (10.2)" B14239-05 ".

    http://docs.Oracle.com/CD/B19306_01/server.102/b14239/RMAN.htm

    Example in this post

    How to manage backups of database primary and standby with rman catalog

    How to use the backup of the previous day to restore primary db

    http://alexzeng.WordPress.com/2008/09/13/how-to-use-standby-backup-to-restore-primary-DB/

    Best regards

    mseberg

  • Doubt RMAN

    Hi all

    I set up RMAN by creating the new database and created the catalog and... .and I took the full backup of database with rman too.

    and my database size is 13 GB and used space is 7 GB, but when I took full backup of the backup piece size is much lower as shown below.

    My doubt is the size of the backup piece is not even that the database used space? RMAN is any compression by itself? What is the bakcup orginal piece that can be used to restore the entire database?


    -rw - r - 1 oracle dba 474136576 20 June to 18:35 o1_mf_nnndf_TAG20110620T183540_6zzlswvp_.bkp
    -rw - r - 1 oracle dba 6979584 20 June to 18:35 o1_mf_ncnnf_TAG20110620T183540_6zzltd21_.bkp

    Please help, thanks in advance

    This test only the backup files. You can read about the RMAN command.

    Validate restore them database;

    KDSDBA

  • create pfile through the rman (for ASM spfile) command?

    Y at - it somehow via RMAN to copy the spfile (which is stored in ASM) to a normal file system

    for example: SQL > create pfile = 'init.ora' of spfile; (where the spfile is on an ASM diskgroup)


    Is - it possible via a command rman?

    No, there is no direct command in RMAN.

    However, you can

    RMAN> sql "create pfile=''/tmp/mypfile.ora'' from spfile ";
    

    Note that we use the quotation mark double two single-quotes inside at the beginning and end to specify the name of the file.

  • Several small issues, no doubt easy for you, difficult for me! Help! :) link provided

    * Many thanks to KEN so far!

    Mods: can delete nicely related first post

    So here I am: SITE!
    (DW CC)

    I'm married to this model, if while I appreciate all the advice against it, I need to to its glorious end I go nuts and now a deadline.

    Here's what I messed up with for a week with little success. I really feel I have tried everything. Felt crazy several times.

    -for background images to display in their entirety! Cut, can't scroll to see all this.

    -to be able to move the white translucent content area ("blob")... but it remains right + centered vertically. Also, I'd be happy if I could just move its position on the home page.

    -for the 'blob' to stay put where I want it to be, as well as the menu and other objects

    -want each page to have its own url (/, / author, etc.), but with the sliding content blob still work (if possible)

    -for the menu to stay in place and be centered... I got close enough, but it is not perfect, and it moves also when resizing... want it fixed in one place

    -to add a slideshow on the page of the snippet (there is code for it, but I don't know if you'll be able to see it because it doesn't have its own page) I was playing with it in vain: Slideshow HTML

    I want everything must be static and functional (menu, 'blob', background) to keep a consistent look.

    I thank very you MUCH for your time guys! I need help!

    t

    -Recommendations for adding a coil simple slideshow/photo /.

    Look at jQuery Cycle2, Cycle2 demos.

    on getting the box to slide in and out at the time to choose a new menu item

    I do not recommend your site like this.  I'm not a big fan of page 1 sites.   If JavaScript is disabled, menus will not do anything, the content is not displayed.  About 5% of users have no script for security reasons. This could cause problems of great conviviality.  I think that it is better to build your site with web pages instead of 1 long AJAX/JSON driven page.   You get more traction with search engines if you have several web pages with unique page titles.   And generate traffic to websites in the search engines.

    You PM'd me on different background images.  This is easily possible using the CSS code integrated on your internal site pages and changing the property background for use to a different URL.

    Would like to know how to break the text up into columns within the content boxes
    

    Columns CSS explained:

    http://CSS-tricks.com/Almanac/properties/c/columns/

    Nancy O.

  • "Recovery of RMAN for the Table.

    Hello

    I use oracle 10g R2. I took a tablespace upward through Rman. Now, I dropped a table (test), now, I want my transom with the previous situation.
    Can someone tell me how can I recover the unique table of RMAN (only) .

    I applied as follows: -.

    RMAN > backup tablespace users;
    "exit";
    SQL > drop table test;
    deleted table.
    SQL > select * from test;
    ORA-00942: table or view does not exist

    (I wish to recover this table)

    Thanks and greetings
    Vikash Chauradia

    Hi vikash.

    It is not possible in rman.

  • If you choose for online backups rman, what a $ORACLE_HOME

    Hello ladies.

    I am rewriting our backup procedure. I learned that shortly the company will need the backups online (for the moment, we have the luxury of a backup of cold 03:00).

    I would like to use rman, must justify the vultures/managers and why it is preferable to managed user online backup. Managed backup of said user would put the db in backup, then instant mode the registrants concerned.

    The only problem I see with rman to date is that (so I read it) the utility won't save the binary / configuration files - that is to say the $ORACLE_HOME.

    Is this true? If so, the corner of rman falls a point. Does anyone out there use rman for onlines? If so, how do you take care of your $ORACLE_HOME? I was thinking a user managed weekly export or something like that.

    Seriously, I would start again using rman.

    Thank you.

    11.2.0.3

    RHEL 5.6

    Thanks a lot, it sounds like a reasonable to follow policy.

  • Purge logs archiving on things primary and Standby and for Data Guard RMAN


    Hi, I saw a couple of orders in regard to the purge archive records in a Data Guard configuration.

    Set UP the STRATEGY of SUPPRESSION of ARCHIVE to SHIPPED to All RELIEF;

    Set UP the STRATEGY of ARCHIVELOG DELETION to APPLIED on All RELIEF;

    Q1. The above only removes logs archiving to the primary or primary and Standby?

    Q2. If deletions above archive logs on the primary, is it really remove them (immediately) or does the FRA to delete if space is needed?

    I also saw

    CONFIGURE ARCHIVELOG DELETION POLICY TO SAVED;

    Q3. That what precedes, and once again it is something that you re primary side?

    I saw the following advice in the manual of Concepts of data protection & Admin

    Configure the DB_UNIQUE_NAME in RMAN for each database (primary and Standby) so RMAN can connect remotely to him

    Q4. Why would I want my primary ro connect to the RMAN Repository (I use the local control file) of the standby? (is this for me to say define RMAN configuration settings in the Standby) manual

    Q5. Should I only work with the RMAN Repository on the primary or should I be also in things in the deposits of RMAN (i.e. control files) of the standby?

    Q6. If I am (usually mounted but not open) Physics, of standby I able to connect to its own local repository for RMAN (i.e. control based on files) while sleep mode is just mounted?

    Q7. Similiarly if I have an old lofgical (i.e. effectively read-only), to even connect to the local RMAN Repository of Eve?

    Q8. What is the most common way to schedule a RMAN backup to such an environment? example cron, planner of the OEM, DBMS_SCHEDULER? MY instinct is cron script as Planner OEM requires running the OEM service and DBMS_SCHEDULER requires the data runs?

    Any idea greatly appreciated,

    Jim

    The above only removes logs archiving to the primary or primary and Standby?

    When CONFIGURE you a deletion policy, the configuration applies to all destinations archive

    including the flash recovery area. BACKUP - ENTRY DELETE and DELETE - ARCHIVELOG obey this configuration, like the flash recovery area.

    You can also CONFIGURE an archived redo log political suppression that newspapers are eligible for deletion only after being applied to or transferred to database backup destinations.

    If deletions above archive logs on the primary, is it really remove them (immediately) or does the FRA to delete if space is needed?

    Its a configuration, it will not erase by itself.

    If you want to use FRA for the automatic removal of the archivelogs on a database of physical before you do this:

    1. make sure that DB_RECOVERY_FILE_DEST is set to FRA - view parameter DB_RECOVERY_FILE_DEST - and - setting DB_RECOVERY_FILE_DEST_SIZE

    2. do you have political RMAN primary and Standby set - CONFIGURE ARCHIVELOG DELETION POLICY to APPLY ON ALL STANDBY;

    If you want to keep archives more you can control how long keep logs by adjusting the size of the FRA

    Great example:

    http://emrebaransel.blogspot.com/2009/03/delete-applied-archivelogs-on-standby.html

    All Oracle is worth a peek here:

    http://emrebaransel.blogspot.com/

    That what precedes, and once again it is something that you re primary side?

    I would never use it. I always had it put it this way:

    CONFIGURE ARCHIVELOG DELETION POLICY TO APPLIED ON ALL STANDBY;

    I would use only 'BACKED UP' for the data protection system. Usually it tell oracle how many times to back up before removing.

    Why would I want my primary ro connect to the RMAN Repository?

    Because if you break down, you want to be able to backup there, too.

    Also if it remains idle for awhile you want.

    Should I only work with the RMAN Repository on the primary or should I be also in things in the deposits of RMAN (i.e. control files) of the standby?

    Always use a database of catalog RMAN with Data Guard.

    If I am (usually mounted but not open) Physics, of standby I able to connect to its own local repository for RMAN (i.e. control based on files) while sleep mode is just mounted?

    Same answer as 5, use a catalog database.

    Similiarly if I have an old lofgical (i.e. effectively read-only), to even connect to the local RMAN Repository of Eve?

    Same answer as 5, use a catalog database.

    What is the most common way to schedule a RMAN backup to such an environment? example cron, planner of the OEM, DBMS_SCHEDULER? MY instinct is cron script as Planner OEM requires running the OEM service and DBMS_SCHEDULER requires the data runs?

    I think cron is still, but they all work. I like cron because the database has a problem at work always reports its results.

    Best regards

    mseberg

    Summary

    Always use a database with RMAN catalog.

    Always use CRF with RMAN.

    Always set the deletion «To APPLY ON ALL STANDBY» policy

    DB_RECOVERY_FILE_DEST_SIZE determines how long to keep the archives with this configuration.

    Post edited by: mseberg

Maybe you are looking for

  • Google Earth the screen jumps

    When I open Google Earth page jumps around and I can't continue at the level of the street.  Is it because it's a Google app?  Someone else has the problem.  If so, Id be happy to know how it was settled. Thank you.

  • Re: Equium L40 - Windows 7 and the wireless switch

    I upgraded my Equium L40 to Windows 7 and now, wireless equipment and F8 function switch switch the WLAN on and outside. It is permanently. Also, even if it is enabled in the Windows 7 power options, close the lid won't be thecomputer to sleep. If I

  • Pavilion dm1: failed upgrade Windows 10 other dm1

    Upgrade Windows 10 would not move on my Pavilion dm1 (A1N56AV) after you fix all of the problems identified by the Support Assistant and Forum.  It hangs at "working on it..." "Downloaded ISO upgrade of Microsoft, engraved on DVD and ran from the DVD

  • Satellite A110 - BIOS password after update BIOS interruption

    Hello I have a Satellite A110, I did a flash update using the Phoenix utility within windows XP. Upgrade flash my office, I need to disconnect the battery to be placed to restart the laptop. After that whenever I try to turn on the laptop it ask me a

  • Begins Internet ALWAYS ladies white

    No, it's not random. I played more than 400 games and they are ALL white. I searched online and others have same problem and the only response from Microsoft's it is "random" I tell you that it is not. Something needs to be fixed.