cross-checking of backup and delete obsolete;

Hello
10 g R2 on a Win 2003 server. Connected to the catalog and target database, that I run:
RMAN > backup duplication

RMAN > remove obsolete;
FILE 1
FILE 2
....
.....
.....
You want to delete the above file? O/N: YES

And then:
RMAN > backup duplication
RMAN > remove obsolete;
FILE 1
FILE 2
....
.....
.....
You want to delete the above file? Y/N

I don't understand. If the first time that I answered YES and the obsolete table then deleted why they appear again and again?
Can we all be kind to explain to me?
Thank you.

"crossover" has nothing to do with obsolete backups, this command verifies backups, which are always saved in the controlfile/recovery catalog, but do not exist physically on the disk/tape. The order correct after 'overlap' is 'remove expired', 'deprecated' are backups is more necessary because of the defined retention policy.
I guess that your backups are both obsolete and outdated, but "remove obsolete" does not work, because these backups were abducted outside RMAN. It could also be a permission problem, RMAN is not allowed to delete the backups at the OS level. This happens on Windows, when using shared disks.

Werner

Tags: Database

Similar Questions

  • How to change the Canvio Basics for backup and delete backup files?

    I installed the drive HARD Canvio Basics HDTB305EK3AA to do a weekly backup.
    After a few weeks, he stopped to save because there is no free memory.
    the first backup took 300GB and after several backups fill all memory.

    1. How can I reprogram the backup and change the folders of the backup?
    2. how to remove backup files without harming the internal programs of the HARD drive?
    3. all files in backup does not have the name of the original file and it is difficult to manage, can we change it?
    4. in the case of Troubé - how can I use the backuo to restore the data on my PC?

    Thank you
    zipim

    The Canvio Basic one a common external USB 2.5 "HDD.
    You can delete folders or files or format the HARD drive as with other external hard drives...

  • BSoD while trying dragging or backup and deletion of data on USB

    Hi all

    I have a powerspec i5 - 2500 k PC 64 bit, Windows 7 Professional running with 8 GB of ram.  I've been relatively lucky because I have never had any problems with it for the past 3 years.  Recently, I bought a drive hard usb external 2 TB of Seagate to backup my data.  Whenever I run a back up using windows backup & restore utility it will work for awhile, get close to 20%, then blue screen.  The last time I tried that I walked into the room to find the screen completely black and unresponsive.  Naturally, I browsed the net and found several Advisor forums who have similar problems to turn off System Restore and try again back to the top.  I tried or no this result.  I get the same result when I try to drag and drop data from my hard drive to my external hard drive.  More information on this particular issue are strangely hard to find.  Everyone would be aware of a possible solution or at least a diagnosis of this problem?

    I would be VERY happy any contribution to this issue.  Thank you in advance!

    It works in Mode safe is a good indication that the problem is with something that loads at startup.

    I would say to uninstall Daemon Tools as the dtsoftbus01.sys (Daemon Tools driver) can be problematic.

    Then configure the computer for "clean boot":

    http://support.Microsoft.com/kb/929135

    Then, restart the computer in Normal Mode and see if a BSOD occurs again.

    If it please the minidump file.

  • RMAN backup and cross-checking script

    Hello

    I just joined a new company this week. As would any s/n, I was going just through the RMAN backup scripts used in the new environment.
    Here we run weekly RMAN backup complete for some of the databases that I am responsible for managing. The script and schedules are as follows.

    Every Sunday from 21:00, we organize a weekly job overlap

    Connect target username/pwd@DBNAME
    Connect catalog username/pwd@DBNAME

    Run {}
    CROSS-CHECKING OF BACKUP;
    DUPLICATION OF COPY;
    OVERLAP BACKUPSET;
    OVERLAP ARCHIVELOG ALL;
    DELETE NOPROMPT OBSOLETE;
    }

    Every Sunday from 9:30, we run the RMAN backup command which is

    Connect target username/pwd@DBNAME
    Connect catalog username/pwd@DBNAME

    run
    {
    CONFIGURE RETENTION POLICY TO RECOVERY OF 7-DAY WINDOW;
    SQL 'alter system archive log current';
    backup as backupset database include current controlfile;
    SQL 'alter system archive log current';
    ARCHIVELOG BACKUP of time ' SYSDATE-8';
    DELETE ARCHIVELOG ALL COMPLETED BEFORE ' SYSDATE-15';
    }


    A database that I will handle has been set up just over a week before I join.
    28 FEV 21:00 - no set of backup/copy/backup of overlap. I hope it will be cuts across all archive logs available in the database. No obsolete backup/copy/backup/archivelogs to remove.
    28 FEV 21:30 - sets the retention policy at 7 days, full backup of database backup and backup all archivelogs (sysdate-8). No newspaper archive to remove the database was created (migrated) less than 15 days back.

    7 March 21:00 - contre-vérifie the backupset (taking the 28 fev 21:30). No backup/copy of overlap.
    Question 1: Is there a backup obsolete here to delete?
    Own thought: Recovery window is 7 days. RMAN needs a backup in order to recover the database in any time-7 days to the present time (7 March 21:00 - 7 days = 28 fev 21:00). No obsolete backup to delete.

    7 March 21:30 - full database backup and fails to save all logs archiving (sysdate-8). No space in the Flash recovery disk group. As the archivelog backup failed and RMAN complete, it has not removed the archivelogs ' sysdate-15'.

    Backup is running again on 14 March. Of course, it will fail because there is no enough space in the Group of recovery disks.

    Future: I'm confused
    March 14, 21:00: contre-vérifie the backupset (supported March February 21:30). No backup/copy of overlap.
    Question 2: How do I know what is here obsolete? From the window of 7 days recovery, 14 March 21:00-7 days is March 7, 21:00. Last backup was taken on March 7, 21:30.
    To get back to 21:00, RMAN makes keep the backup of 28 March?... Does this mean whenever I'll have copies of backup 3?...

    14 March 21:30 - backup database... Log Archive backup will fail because there is no space. (I think to make a compressed backup).

    Question 3: How those wise commands?
    ARCHIVELOG BACKUP of time ' SYSDATE-8';
    DELETE ARCHIVELOG ALL COMPLETED BEFORE ' SYSDATE-15';

    If I take a successful backup of the archivelogs sysdate-8, why I need to keep the archivelogs before that? What could be the reason the previous DBA kept DELETE ARCHIVELOG COMPLETED BEFORE ANY 'SYSDATE-15 '; Rather than give DELETE ARCHIVELOG FINISHED FIRST and FOREMOST ' SYSDATE-8 "?

    Thanks in advance for your help.

    Published by: user8907052 on March 11, 2010 12:10

    If your database to 9i and above, then you don't need to pass - sql 'alter system archive log current;' before you perform the backup as RMAN automatically archives the log during recovery.

  • Delete obsolete backups

    I have redundancy for 1, I understand that now only current backup set must be valid and all backups must be now be in the list of obsolete backups. But it is not yet with me, when I give RMAN > obsolete report; order it show only the precedent of obsolete backup and not showing any old backups in this list. So I physically delete these backups, but when I give RMAN > list backup summary; or RMAN > backup overlap command, showing all old backups that I was deleted. I work in catalog mode. What is the cure...
    RMAN> show all;
    
    RMAN configuration parameters are:
    CONFIGURE RETENTION POLICY TO REDUNDANCY 1;
    CONFIGURE BACKUP OPTIMIZATION OFF; # default
    CONFIGURE DEFAULT DEVICE TYPE TO DISK;
    CONFIGURE CONTROLFILE AUTOBACKUP ON;
    CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK TO '%F'; # default
    CONFIGURE DEVICE TYPE DISK PARALLELISM 4 BACKUP TYPE TO COMPRESSED BACKUPSET;
    CONFIGURE DATAFILE BACKUP COPIES FOR DEVICE TYPE DISK TO 1; # default
    CONFIGURE ARCHIVELOG BACKUP COPIES FOR DEVICE TYPE DISK TO 1; # default
    CONFIGURE MAXSETSIZE TO UNLIMITED; # default
    CONFIGURE ENCRYPTION FOR DATABASE OFF; # default
    CONFIGURE ENCRYPTION ALGORITHM 'AES128'; # default
    CONFIGURE ARCHIVELOG DELETION POLICY TO NONE; # default
    CONFIGURE SNAPSHOT CONTROLFILE NAME TO '/u01/app/oracle/product/10.2.0/dbs/snapcf_sba.f'; # default

    HI Werner,.

    Yes you are right.

    What backup set is deleted by using OS commands. Backup set becomes expired if we run 'overlap backupset' and delete obsolete will not erase this info from the catalog.

    to do this need to run 'delete expired backupset '.

    Published by: Rajesh.Rathod on February 6, 2012 05:31

  • RMAN backup and restore into Production KEEPS RAC and DATA

    Hi gurus of the Oracle

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

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

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

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

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

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

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

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

    Concerning
    Hitgon

    Thank you mseberg

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

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

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

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

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

    or

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

    Concerning
    Hitgon

  • RMAN backup location must change and remove obsolete

    Dear Experts,

    I'm working on the following environment,

    Operating system: Windows server 2012 R2

    Oracle version: 11.2.0.1.0 release

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

    My current situation,

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

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

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

    My Question is,

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

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

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

    You can

    1. replace the DB_RECOVERY_FILE_DEST G:

    2 run backups

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

    and then

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

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

    Hemant K Collette

  • I downloaded a file mbox my gmail and deleted my e-mail address. I want to exist offline. Can I check these mails with Thunderbird without internet access?

    Hi, I would like to exist offline / without internet for a while. I downloaded several of my different and deleted email accounts mbox files. I would like to see the emails in offline mode. Can I do this with Thunderbird? Thanks for your time, Jen.

    under 'Tools' > 'account settings '.

    on the left are the server settings - choose

    Uncheck the "check for new messages at startup '.
    Uncheck "automatically check for new messages every minute _.
    Uncheck the "automatically download new messages.

  • My iPhone backup stopped at halfway through because my Mac ran out of room for it. Now there are 50 GB of iPhone data which actually did save and I can't find it and delete it. How can I access it?

    MacBook Air with my iPhone 6.

    Not sure if you have tried the following - open iTunes on your MacBook Air, go to preferences of iTunes and click on devices in the bar at the top of the Preferences window, select the backup and then click on the button "delete the backup.

    In addition, backups are located in ~/Library/Application Support/MobileSync/Backup /.

    You can access the library by opening Finder and then hold down the Option key while using the menu go to the Finder menu bar

  • I deleted the files from my office, they are still there and I can't delete them again cos keep telling me to check the location and try again

    I deleted the files from my office, they are still there and I can't delete them again cos keep telling me to check the location and try again

    Hi fwhaddad,

    Please take a look at the spirit x possible 2nd answer in the thread for a solution:

    http://answers.Microsoft.com/en-us/Windows/Forum/Windows_7-files/cant-remove-a-folder-because-its-not-there/eba2d232-33d7-43BD-a3dc-1f06292552b2

  • How to restore files after virus Chantilly drive clean and also delete system restore points and all possible backup and restore points

    IM on windows 7 and on the 19/11/2011 i got a virus and it erased all my data off of the pc also restore points system and all backup and resrtore removed points ive used many recovery programs installed on usb drives and they say all my files are damnaged how to restore all my files to the previous locations without them being damaged for example mp3 video & images

    Hello

    If the files are deleted, then you will need to use any third party recovery software to recover files.

    Warning: Using third-party software, including hardware drivers can cause serious problems that may prevent your computer from starting properly. Microsoft cannot guarantee that problems resulting from the use of third-party software can be solved. Software using third party is at your own risk.

    Hope the helps of information.

  • good night, is that what happens when you open cloud creative design I check your email and get the following email (&lt; deleted by the moderator &gt;) and let my id or enter gives me more options

    good night, is that what happens when you open cloud creative design I check your email and get the following email (< deleted by the moderator >) and let my id or enter gives me more options

    Hello

    Follow please: address error to connect to Creative Cloud Desktop, Email how to pass my e-mail? and CC has a fake email, can not change

    Kind regards

    Sheena

  • HP Simplesave delete backup and start over

    I have a HP Simplesave 1 TB drive connected to the PC WinXP SP3 of backup. I've been back up my data for a few years. During this period, I have reorganized and cleaned my PC from time to time, but the backup still has everything that has ever been. I would like to own offshore data backup and start a new backup. But the drive has its own Installer, so I can't reformat. How can I throw the old data and start without breaking the application?

    Berthe

    Article #5 of this Manual on the HP Simple Save readers

    Question: I've reformatted my drive or need to reinstall HP SimpleSave

    backup software

    Answer: You can reinstall the HP SimpleSave backup software after downloading from

    http://hpsupport.wdc.com.

    Here's the direct link for the software, each model # is here

  • How to add and delete a hidden gross a table while checking and unchecking the box?

    I want to add an array of 1 * 1 or saw just a cell with the text field, when I check the box and remove the same when I uncheck the checkbox. I have tried almost everything, but doesn't show is not the correct result. Can someone Guide please?

    Hello shahnisarg28,

    I think you can get what you want by simply using the Action Builder provided by the program.

    Make you it visible to the cell when the checkbox is enabled by:

    1. you right-click the checkbox, select Actions - Add Action.

    2. you set

    Condition: When the check box is selected

    Result: (show or hide an object) = the visibility of visible cell salt

    You do the hidden or invisible cell when the checkbox is unchecked by:

    1. you right-click the checkbox, select Actions - Add Action.

    2. you set

    Condition: When the checkbox is unchecked

    Result: (show or hide an object) = set the cell visibility to hidden.

    Tell me if that works for you.

    Kind regards

    David.

  • RMan is missing some files when deleting obsolete archivelogs

    Hi all

    in one of our databases 9iR2, I noticed a rather strange behavior of the RMan delete obsolete archivelogs. The RMan script has the "OBSOLETE RECOVERY WINDOW DELETE 7 DAYS DEVICE TYPE DISK"-command. If RMan deletes the archivelogs regularly. But unfortunately, in every race, it leaves 3 files cancelled. The log file is (only relevant lines):

    Remove the following obsolete backups and copies:
    Making key time filename/handle type
    ---- ----
    Archive 24779 08 - SEVEN journal.-10 /oralogs/oraArchive/VG41MED/VG41MED_12402.ora
    Archive Log 24780 08-SEVEN.-10 /oralogs/oraArchive/VG41MED/VG41MED_12403.ora
    ...
    Archive 24785 08 - SEVEN journal.-10 /oralogs/oraArchive/VG41MED/VG41MED_12408.ora

    on the next race (the next day) the log file says:

    Remove the following obsolete backups and copies:
    Making key time filename/handle type
    ---- ----
    Archive Log 24799 09-SEPT.-10 /oralogs/oraArchive/VG41MED/VG41MED_12412.ora
    Archive 24800 09 - SEVEN journal.-10 /oralogs/oraArchive/VG41MED/VG41MED_12413.ora
    ...
    Archive Log 24805 09-SEPT.-10 /oralogs/oraArchive/VG41MED/VG41MED_12418.ora

    As you can see, RMan lack VG41MED12409.ora log file, VG41MED12410.ora, and VG41MED_12411.ora that are available before and after the backup procedure. We treat archivelogs on operating system level. A "overlap archivelog all ' - command does not list these 3 files, if the database thinks that they are removed - which is not really true. This odd pattern is repeated every day, so my archivelog directory is growing everyday with the 3 files not deleted.

    This behavior appears still more strange, because the RMan backup script even run on 3 other databases with same structure does not show this "error". I checked the configuration of 4 databases and not detected no difference.

    Maybe it's a corrupt controlfile (we do not catalog-db). Someone has any idea how to solve this problem?

    Thank you
    Friedhelm

    Edited by: user8964905 the 20.09.2010 00:18

    Hello
    (1) I think the command of OVERLAP is the only way to know what archivelogs are always specific to the database (expired or available) kn.
    (2) thank you for your explanations. You're right - the order REPORT OBSOLETE list backups, but my problem are the obsolete archivelogs of backups. If my humble opinion REPORT OBSOLETE wouldn't help.

    In fact no and no :).

    (1) a simple

    list archivelog all;
    

    lists the known archivelog (expired or available) files.

    crosscheck archivelog all;
    

    will check if the information on their availability is still topical, but it will not help you in this case (they exist!)

    2.

    report obsolete recovery...;
    

    http://download.Oracle.com/docs/CD/B10501_01/server.920/a96566/rcmconc3.htm#463220
    Order REPORT displays OBSOLETE backups and copies of data files, control files, and archived redo logs that can be deleted because they are no longer needed.
    ...
    OK, but if you read a little more of the documentation:
    ...
    In addition to backups of file obsolete data, RMAN reports obsolete archived newspapers and archived backups of logs. When backups of files of data from one point in time are obsolete, then archived logs that can apply to these data files are also is no longer necessary and become obsolete according to the specified retention policy.

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

    I have increased the CONTROLFILE_RECORD_KEEP_TIME now and watch the results next night. Perhaps the reason for this behavior is the fact that this database is very small compared to other databases, which do not show the effect.
    I'll post the result of this strategy, here the next few days.
    Wait & see

    Best regards
    Phil

Maybe you are looking for

  • Transfer contacts from one account to another

    I'm migrating from an old Skype account, I've had since College to work with a professional account more display name. I would like to export my contacts from one account and import them into the new account of work; is this possible?

  • optimization of the frame rate

    Please someone help me. you guys can explain why my cadence is different than 1 vi vs another vi? my setup.vi rate is 30 frames per second My rotatewithoverlay.vi is running at 10 frames per second It's because of the calculations and changing color

  • HP 2540p IDT High Definition Audio Codec - SCCM 2007 Silent Install

    Guy I have SP50589 not packaged, created a package driver request and uses the install command to install it silently... Setup.exe/s/v/qn When I run the task sequence, a failure is returned due to packaging do not install it. When I run locally the p

  • I have windows vista Home premium, can I upgrade to windows vista service pack 2?

    I have windows vista Home premium, can I upgrade to windows vista service pack 2?also my usb mass storage is yellow can not sync my ipod error 6 code and can not find the error of dsk? What should I do? helllllllpeveh

  • Opacity keyframe within the disabled chronology?

    I've updated to the new version of Premiere Pro (new...) and it looks like I can make a keyframe on clips of opacity on the timeline and set it like I used to.I clicked on little = icon on timeline definition and wranch icon to show "keyframes", but