remove disk archiving logs

How can I delete the backup copies defined archives logs, all my archives are written in asm and from there they are saved on the disk in the form of backup sets. archive backup sets are not get deleted from the drive. How can I change the config to have them removed?

Here is the show all the config of rman.
CONFIGURE ARCHIVELOG DELETION POLICY TO SAVE 2 TIMES TO THE DISK.

Hello

data compressed backupset backup more archivelog entry remove

Concerning
Hitgon

Tags: Database

Similar Questions

  • Removal of disk archiving logs

    Hello
    Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - Production
    PL/SQL Release 11.2.0.3.0 - Production
    "CORE     11.2.0.3.0     Production"
    TNS for 32-bit Windows: Version 11.2.0.3.0 - Production
    NLSRTL Version 11.2.0.3.0 - Production
    We are putting in place our backup strategy. After that the archived logs were
    saved, we must remove them after 7 days. Also the files on the disk.

    RMAN does not remove logs archived to disk. Or am I wrong?

    If so, please provide a sample script.

    Thank you!

    RMAN does not remove logs archived to disk. Or am I wrong?

    Yes, you are.

    Use the command what archivelog backup and delete what dose of database no need

    Backup archivelog all delete input;
    
  • Remove the archive logs from before the resetlogs

    Hello

    I use a cleanupscript to my archive logs. I work with a database of return of flame and running of tests, so I did a bit of resetlogs open in my DB.

    However, this script does not seem to take the archive logs away from before the resetlogs. Is there a way I can always make a backup of these easily?


    Run {}
    allocate channel t1 type disk;
    OVERLAP archivelog all;
    format of entry archivelog backup to remove sequences 5 ' / oracle/RMAN/backups/${SID}/backups/DISK_ARC_%d_%s.%p';
    current backup controlfile as ' / oracle/RMAN/backups/${SID}/backups/DISK_CTL_%d_%s.%p';
    output channel t1;
    }


    (until the 5:5 sequence is the last log applied on standby)

    If, once that you the database in resetlogs. can no longer needed the repository information, you tell me what you will do with these archives?

    still, you can keep in the repository as

    RMAN > catalogue archivelog 'archive_file ';

    then it will be registered in the repository

  • Recovery window retention policy removes the archive logs before backup?

    Hi all

    Oracle 11G on Windows 2008 R2

    This afternoon, I've changed my retention policy RMAN "RETENTION POLICY 3 REDUNDANCY"on RECOVERY WINDOW OF 3 DAYS RETENTION POLICY

    However, I checked tonight and after that my daily backup, all the archive before backup logs had been removed! So that means I don't think I can restore to any point in time, before my daily backup. All newspapers .arc were there after the backup. Then I tried another test and began the daily backup again. During the backup process, archive logs were deleted again! Now, I don't have any archives of newspapers...

    Is this good behavior OF RETENTION POLICY RECOVERY WINDOW? I thought that she would keep all the files needed for to restore me to any point in time for the previous 3 days. When I used a REDUNDANCY, with my daily backups, he kept 3 days of backups + archiving logs so that I could restore point-in-time at any point. How can I use WINDOW RECOVERY so that I can actually restore to any point in time for the 3 days?

    I wanted to change WINDOW of recovery, since I read that using the REDUNDANCY, it keeps only X copy a backup (so if I ran the backup 3 times a day, I would have only these 3).

    Thanks in advance.

    After a database RESTORE, Oracle tries to RECOVER a DATABASE.  He tries to 'find' the archivelogs for this phase in the location expected archivelog.  If they are NOT present in the location expected archivelog, it attempts to restore backups before applying them.

    Since your BACKUP... DELETE ENTRY deletes the archivelogs after that that they are saved, Oracle will have to use backups to recover the archivelogs.

    Hemant K Collette

  • How to make a backup of disk archiving logs that are not saved 1 time?

    Hi DBAs,

    I have a file in which Archives system logs are stored and not stored for 1 month because it is a pre prod environment 10.2.0.5. But the problem is now the file system is 98% fill and I need the newspaper archive of backup from May 15 to June 9 to a specific disk location. the following command is correct?

    Run {}

    allocate channels ch01 type disk maxpiecesize 7000 M;

    allocate channels ch02 type disk maxpiecesize 7000 M;

    BACKUP tag ArchLogAll FILESPERSET FORMAT of 20 ' / oracledb/oradata/DBOEM/ORAFL/DBOEM/DBOEM/backupset/2014_06_09/%d/d_%d_s_%s_p_%p_t_%t.bkp' ARCHIVELOG ALL not saved 1 time;

    delete noprompt archivelog all backed up 1 times the disk of the TYPE of DEVICE.

    Ch01 CHANNEL;

    OUTPUT CHANNEL ch02;

    }

    Kind regards

    Ritu

    You don't have to worry about the date.

    ARCHIVELOG BACKUP NOT SAVED 1 TIME REMOVE ALL ENTRIES;

    Above must be done every day.

    As well as the normal database backup.

    When was the last backup database?

  • Best method to remove applied archive logs for the production and the DB in waiting

    Dear all,

    Two of my databases are 10gr 2 on Linux OS.

    I have set up a database of pending for my production database. Logs apply and the size of the data file for the two databases is the same, if I compare.

    I'm just confused about which method to use to remove applied log archiving of files from the production and standby databases.

    the .dbf files are being moved from production to standby mode. I want to do it manually first and then automate for better understanding. I want to just make sure that the .dbf files can be deleted only used effect the process of production-standby.

    Best regards, Imran

    I have set up a database of pending for my production database. Logs apply and the size of the data file for the two databases is the same, if I compare.

    I'm just confused about which method to use to remove applied log archiving of files from the production and standby databases.

    For the removal of the archvies in production, better to use RMAN backup scripts,.

    for the deletion archives pending check my comments thread below.

    Deleting archives connects in standby mode

    the .dbf files are being moved from production to standby mode. I want to do it manually first and then automate for better understanding. I want to just make sure that the .dbf files can be deleted only used effect the process of production-standby.

    Be sure to what ever format archives, keep files archives other than data file locations. If you want you can delete production is there really no need backup archives on the primary?

  • RMAN never removes the archive log backups

    Hi all
    I use Recovery Manager to back up a database (9i v2) with the following characteristics:
    The database is in mode archive, the parameter CONTROL_FILE_RECORD_KEEP_TIME = 7, I do not use a recovery catalog db (alll rman information written to the db control file) and finally, I use default CONFIGURE RETENTION POLICY to REDUNDANCY 1;
    I programmed the following to run every afternoon inside RMAN:
    run
    +{+
    View all;
    cross-checking of backup;
    delete noprompt obsolete;
    allocate channels ch1 disc type;
    backup
    tag data = "full_database_backup_and_ctl" include current controlfile
    format "d:\oracle\backup\db/fulldb_%u%s%p".
    SQL 'alter system switch logfile;
    backup
    ARCHIVELOG all delete input format 'd:\oracle\backup\db\arch_%u%s%p ';
    backup current controlfile "d:\oracle\backup\db\ctl_%u%s%p" format
    Output channel ch1.
    +}+
    Once the above script finishes executing, a tape of the whole repertoire d:\oracle\backup\db backup occurs.
    Normally I expect full *, ctl * and arch * files, since 2 days, should be deleted, but instead, I noticed that vault files are NOT removed from the directory (that is, they become never obsolete).
    This causes the player to fill up, and I'm running out of disk space.
    Does anyone have an idea why this happens?

    Thank you
    Yiannis

    I read not only tablespaces...

    But you have offline storage?

  • Removal of the log archiving using RMAN Target in Oracle 10 g

    Hi all
    Recently, I noticed that archive logs have been 102 GBs out of the car and I need to free up space. When I tried to connect using the RMAN catalog
    connect catalog user@db
    I got error message like
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-06445: cannot connect to recovery catalog after NOCATALOG has been used
    But I could get through the use
    connect target user@db
    My query is that I can use
    RMAN> delete noprompt expired archivelog all;
    as shown in [how to remove the log file archive | https://forums.oracle.com/forums/thread.jspa?threadID=2321257 & start = 0 & tstart = 0]
    Or I'll take another approach to remove obsolete archive logs?

    Kind regards
    * 009 *.

    Hello;

    Recently, I noticed that archive logs have been 102 GBs out of the car and I need to free up space. When I tried to connect using the RMAN catalog

    connect catalog user@db
    

    I got error message like

    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-06445: cannot connect to recovery catalog after NOCATALOG has been used
    

    But I could get through the use

    connect target user@db
    

    Are you trying to connect through Grid control? If you connect via a script, then please post its content.
    Make sure that you are not connected to the database target using "nocatalog.

    rman target sys/@ catalog /@
    

    My query is that I can use

    RMAN> delete noprompt expired archivelog all;
    

    as shown in [how to remove the log file archive | https://forums.Oracle.com/forums/thread.jspa?threadID=2321257&Start=0&tstart=0]
    Or I'll take another approach to remove obsolete archive logs?

    Kind regards
    * 009 *.

    These archives are saved? The command above does not update the RMAN Repository if in case, the archives have been manually delete at the OS level.
    I recommend you save these records and then remove them.

    RMAN>backup archivelog all not backedup 1 times delete input;
    

    If these archives are already saved and were not deleted from the disk, then you can use the below command

    RMAN>delete force noprompt archivelog all completed before 'SYSDATE-n';
    

    where "n" is the number of days of delay on the current date. Be sure to check if these archives have been saved before deleting.

    Kind regards
    Shivananda

  • DataGuard archiving logs go?

    Hi all

    9i

    OEL5

    I'm following the dataguard configuration document.

    One of the tasks is to run:

    RMAN > backup filesperset remove all 10 ArchiveLog entry;

    He created an output file > piece handle = / p01/oradata/PROD/dbs/06dlfmmt_1_1

    Can it remove the archive logs.

    My problem is, I want to still manually restore another set of database for replication so I still need that archive logs to be applied to this database 2 (non-dataguard).

    Can I use this backup of archive logs merged to manually apply on my second instance?

    Thank you very much

    JC

    Yes, controlfile of today can be used for backup of database of yesterday.  However, if you have added new data files or tablespaces from backup, they would be reflected in the controlfile but not in the backup.

    Hemant K Collette

  • delete the archive logs after cold backup?

    Hi all
    my database is in archivelog mode, I do COLD backup every night, can I just remove the archive logs after I do my cold backup, because there is no need of them, as the closed DB should have all the info in the archived papers

    and archive connected is needed only during the day, if a sudden power outage that happened.

    Thank you very much

    The ArchiveLogs allow you RollForward a backup restored to a specific point in time.

    Assuming that stop you your database at 23:00 (2300) every night and backup up to 11 h 45 (2345) tracks...

    Significant transactions entered between 15:00 and 16:00 on Friday, but a person deleted by mistake the lines (or some other lines) at 17:00

    your current backup strategy of "restoration" of the database only allows 23:00 Thursday night. If you also back up your archivelogs (in this case, the backup of Friday night would the archivelogs), you restore Thursday night backup 'cold' and "rollforward" by publishing a RECOVER database with the HELP of BACKUP CONTROLFILE until 16:00 Friday.

  • Data Guard - RMAN removing archive log

    Hello

    I ' v DataGuard with physical standby.

    I do a backup only on the primaries. Both sites have ther separate backup systems.

    I ' v FRA and configured archivelog deletion with RMAN configuration:

    on primary: CONFIGURE ARCHIVELOG DELETION POLICY TO NONE;

    standby: CONFIGURE ARCHIVELOG DELETION POLICY to APPLY ON STANDBY;

    It works fine but I think what if scenarios and I'v qestion on best practices for backup after the transition of role management. Let's say that for some reason, as i'v in switch mode sleep for a few days and the backup will be posible to watch (now primary) database. What would be the steps/reconfiguration appropriate to do?

    1 should I reconfigure RMAN?

    change of new primary to: CONFIGURE ARCHIVELOG DELETION POLICY TO NONE;

    change back to sleep again: CONFIGURE ARCHIVELOG DELETION POLICY to APPLY ON STANDBY;

    2. make full backup

    Hello

    1. you can refer to the oracle documentation: http://docs.oracle.com/cd/B28359_01/backup.111/b28270/rcmconfb.htm#CHDCFHBG

    section: "all archived Redo Log deletion policy."

    Document provides the best algorithm to analysis of work

    You can use the CONFIGURE ARCHIVELOG DELETION POLICY BACKED UP integer TIMES TO DEVICE TYPE command to allow a policy of removal of archived newspaper. This configuration specifies that archived newspapers are eligible for deletion only when the specified number of archived log backups exist on the specified device type.


    If the deletion policy is configured with the BACKED UP integer TIMES clause, then a BACKUP ARCHIVELOG , the command copy newspapers, unless integer already exist on the specified device type backups. If integer are backups of logs, then the BACKUP ARCHIVELOG command ignores the newspapers. In this way, the deletion of archived newspaper policy works as a default NOT BACKED UP integer TIMES clause on the BACKUP ARCHIVELOG command. Note that you can override the deletion policy by specifying the FORCE option on the BACKUP command.

    The deletion of archived newspaper policy has also options specific to an environment Data Guard. , then RMAN can delete logs after they have been applied to all destinations remote mandatory. If you specify SHIPPED TO STANDBY , for example, then RMAN can remove log files when they were transferred to all destinations of mandatory relief.

    2. the paper provides good information, just to check and decide easily based on the functionality of the database role you can configure.

    It will be useful.

    -Thank you

    Pavan Kumar N

  • Removal of the Archive Log files

    Hello

    I put my test DB to archive log mode and it generated 10 GB of archivelog files and the server ran out of space!
    So I reset the newspapers, the DB value no. Archive Log and deleted the files from the server through the shell.

    However,.
    If I select * from v$ archived_log
    Oracle, DBMS thinks that the files are still there.

    Where can I remove these filed from the RDBMS?


    ---
    OS version:
    Linux CentOS 5.4 (Final) output


    RDBMS version:
    Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - production
    PL/SQL Release 10.2.0.4.0 - Production
    "CORE 10.2.0.4.0 Production."
    AMT for Linux: release 10.2.0.4.0 - Production
    NLSRTL Version 10.2.0.4.0 - Production

    delete the logs of the archives at the OS level will not make your database the missing note

    connecting to RMAN:

    rman target $ /.

    run an overlap in RMAN:

    RMAN > overlap archivelog all;

    It happens that the entries are EXPIRED, so remove them:

    RMAN > delete all. expired archivelog

  • 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

  • can't understand why an extract of the database restore fails (missing archive logs)

    Dear,

    I'm completely back up my database ensures every night with following statement.

    full backup AS BACKUPSET COMPRESSED ORCL_FULL_STBY format database tag ' / oradata/archive/fast_recovery_area/%d_%T_%s_%p_FULL_STBY' more tag ORCL_FULL_STBY archivelog delete all entries;

    I wanted to check with 'restore... Preview' if my backup is good enough to restore the database from scratch.
    result = failed!
    Reason:
    "any backup log archived for thread 1 with sequence 65 and YVERT departure from 49020676 found to restore."

    I have read the documentation oracle and articles for days, but I did not understand that even though I take online backup yesterday if I want to restore my database today I still need archival newspapers last month?

    can you please review my analysis and tell me where I am doing wrong?

    for example a piece from my last backup;

    Time of accomplishment BS key Type LV size device Type elapsed time
    ------- ---- -- ---------- ----------- ------------ ---------------
    1008 full 199.25 M DISK 00:04:44 October 8, 15
    BP key: 1010 situation: AVAILABLE Tablet: YES Tag: ORCL_FULL_STBY
    Item name: / oradata/archive/fast_recovery_area/QIPDB1_20151008_1057_1_FULL_STBY
    List of defined backup data files 1008
    Name of file LV Type cash SNA cash time
    ---- -- ---- ---------- --------- ----
    50570723 full 1 8 October 15 /oradata/data/qipdb1/system01.dbf
    4 integer 50570723 8 October 15 /oradata/data/qipdb1/users01.dbf

    as you can see "Cash SNA" is 50570723 so tells me that my understanding if restore these backups I need archived newspapers on top of the YVERT.
    for me the best candidate is

    Time of accomplishment time BS key size Device Type
    ------- ---------- ----------- ------------ ---------------
    65,25 M 1004 00:01 DRIVE: 24 OCTOBER 8, 15
    BP key: 1006 situation: AVAILABLE Tablet: YES Tag: ORCL_FULL_STBY
    Part name: /oradata/archive/fast_recovery_area/QIPDB1_STBY/backupset/2015_10_08/o1_mf_annnn_ORCL_FULL_STBY_c1dkfw9k_.bkp

    List of newspapers archived in backup set 1004
    The next time that THRD Seq YVERT low low time next YVERT
    ---- ------- ---------- --------- ---------- ---------
    1 79 50310555 7 OCTOBER 15 50570723 8 OCTOBER 15

    BUT out of "restore...". Preview' RMAN stil tells me that

    any backup log archived for thread 1 with sequence 65 and YVERT departure from 49020676 found to restore
    any backup log archived for thread 1 with sequence 66 and YVERT departure from 49020693 found to restore
    any backup log archived for thread 1 with sequence 67 and YVERT departure from 49020696 found to restore
    any backup log archived for thread 1 with sequence 68 and YVERT departure from 49020761 found to restore
    any backup log archived for thread 1 with sequence 69 and YVERT departure from 49020836 found to restore
    any backup log archived for thread 1 with sequence 70 and YVERT departure from 49020919 found to restore
    any backup log archived for thread 1 with sequence 71 and YVERT departure from 49021021 found to restore
    any backup log archived for thread 1 with sequence 72 and YVERT departure from 49155291 found to restore
    any backup log archived for thread 1 with sequence 73 and YVERT departure from 49324912 found to restore
    any backup log archived for thread 1 with sequence 74 and YVERT departure from 49498102 found to restore

    When I look at V$ ARCHIVED_LOG I see seems indeed to these archived logs removed for cause of "more tag ORCL_FULL_STBY archivelog delete all entries ' that they have been deleetd after saving.
    and because of my retention policy and script; I remove the logs also archived backups that are more than 2 days.

    S SEQUENCE # FIRST_CHANGE # NEXT_CHANGE #.
    - ---------- ------------- ------------
    65 49020676 49020693 D
    A 49020693 OF 49020676 65
    D 68 49020761 49020836
    66 49020693 49020696 D
    67 49020696 49020761 D
    69 49020836 49020919 D
    70 49020919 49021021 D
    49155291 49021021 71 D
    72 49155291 49324912 D
    D 73 49324912 49498102
    74 49498102 49632131 D

    I still don't understand why rman complains of the archived logs that are for an older sequence (SNA) as my last backup
    because I was assuming that the concerned newspapers archived should have already applied to these files of data, right?

    My final goal is to deliver below for the case that we have lost everything.

    Run {}
    restore the database;
    recover the database;
    }

    Thanks in advance,
    Halit

    Hi guys,.

    I found the root cause and workaround

    RMAN-06025 - RMAN RESTORE DATABASE OVERVIEW to the backup site asks former newspaper (Doc ID 1599013.1)

    CAUSE Checkpoint_change# standby controlfile not refreshed properly.  BUG 15876029 - RESTORE PREVIEW ASKING OLD ARCHIVE LOG IN STANDBY DATABASE  Closed as DUPLICATE of  BUG 8740124 - CURRENT STANDBY REDO LOG GROUP SHOULD BE INCLUDED IN THE DATABASE BACKUP BY RMAN SOLUTION  1) Workaround is to recreate the standby controlfile.  OR  2) upgrade to 11.2.0.4 or above where Bug 8740124  is fixed  OR  3) check for availability of patch 8740124
    
  • Retention policy for archive logs.

    Retention policy is set to "REDUNDANCY 2".

    We do the complete disk backup without archive logs at 12:00.

    After that, we make full backup with newspapers to archive tape at 18:00.

    RMAN will consider newspapers to check-in after 12:00 as obsolete as it is backed up to tape?

    Thank you.

    REDUNDANCY applies only to the data files and control files. For archiving logs, there are POLICY of DELETE ARCHIVELOG. But "remove obsolete" won't use POLICY of DELETE ARCHIVELOG, so archiving logs should be removed separately if they meet this policy.

Maybe you are looking for

  • 3 surface Pro - Windows 10 don't Build 10166 - no WiFi

    I just updated my 3 Surface Pro for Windows 10 build 10166. Since then, I am unable to successfully connect to a wireless network. He previously worked in 10130. The WiFi networks in my area, but not showing menu will never connect to one. When I ope

  • No COM port available in the measurement and Automation Explorer

    Hi all I installed Labview version 9.0 (32-bit version) on a computer running Windows XP with Explorer Measurement & Automation. When I opened it, the program cannot find the COM or LPT ports. Anyone has a solution on what to do?

  • Updates Windows guard he meets

    I almost never install updates windows 7. I keep getting error messages. Now, Service Pack 1 will not download. How can I avoid problems with updates? Thank you Vanessa Walker

  • BlackBerry Smartphones Blackberry Media Manager NOT working for Blackberry storm (wont install on the computer)

    Hello 2 months ago, I got a Blackberry storm. Its a good phone, but I have a problem that would do much better. When I try to install the Office Manager, everything installs without count Roxio Media manager. It gives me an error and cancels the inst

  • 8 windows multiple BSOD errors

    I had a HARD drive on my system to Windows 7. I wanted to install a SSD and move to Windows 8. I bought a Samsung EVO 250 GB Solid State Drive and have had any other problems with Windows 8. I can still update Windows without having a BSOD. Here is a