Deleting the guest of RMAN RMAN backup files

DB version: 10.2.0.4
OPERATING SYSTEM: AIX

Due to space constraints, we had to change our retention policy today. So, I need to manually remove some old backup files to free up space. Should I remove the backup files of the OS by using the rm command and then issue a
delete expired backup;
Since the RMAN command prompt?

Or is there another recommended method?

If you delete them manually from the o/s, then you must perform a BACKUP of OVERLAP before EXPIRATION to DELETE.

Or once you change your retention policy you can deliver DELETE OBSOLETE, which can be the safest way to make sure that you delete the wrong backup files inadvertently.

Tags: Database

Similar Questions

  • How to restore the rman backup file

    Hello world

    I have the rman backup file by cutting the rman full backup of a file week rman to orginal path to another disk because of disk space is low. I need to know how to restore this file to the database. Can someone help me please.

    Hi, try as

    RMAN target sys/pass
    Catalogue start with 'rent' (which you moved from backup files)
    restore the database;
    recover the database;
    ALTER database open;

  • RMAN backup files are still exist for a long time, how to remove?

    Dear Sir;

    I use the script below to do a daily backup, however, there are several rman backup files are still exist and consumes HD size, how can remove these files in daily? some files dated Feb, MAR, Apr,

    = Daily RMAN script =.

    RMAN target / < <!
    level incremental backup = 0 as compressed backupset database format ' / u15/rman/full_backup_%U.rman';
    backup ARCHIVELOG all not saved 2 time format ' / u15/rman/arc_backup_%U.rman';
    current backup controlfile as ' / u15/rman/control_%U.rman';
    delete archivelog all backed up 2 times on the peripheral disc is completed before ' sysdate-7 ";
    delete noprompt obsolete;

    ================================END

    Thank you and best regards
    Ali

    Hello

    Before running the command obsolete report, run:

    RMAN > crosscheck backup;

    Kind regards.

  • impossible to the arhcive by rman backup log.

    Hello

    Oracle Version: 10.2.0.2
    Operating system: linux

    I was unable to save the logs to archive by rman. Here, I changed the archive log destinatin also but still I get the error
    RMAN> backup database plus archivelog;
    
    
    Starting backup at 04-DEC-09
    current log archived
    using channel ORA_DISK_1
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of backup plus archivelog command at 12/04/2009 16:23:18
    RMAN-06059: expected archived log not found, lost of archived log compromises recoverability
    ORA-19625: error identifying file /u01/app/oracle/flash_recovery_area/VSMIG/archivelog/2009_09_10/o1_mf_1_3_5bkc1o5q_.arc
    ORA-27037: unable to obtain file status
    Linux Error: 2: No such file or directory
    Additional information: 3
    Published by: SIDDABATHUNI on December 4, 2009 02:59

    RMAN > delete all. expired archivelog

  • Copy the RAC ASM RMAN backups

    Hi, I have a database (RHEL 5.8) RAC 2 nodes with shared ASM storage. RMAN makes daily backups on this ASM storage too. How could copy backups of the ASM to another place? I use version 10 gr 2 db, and there is no 'cp' command in asmcmd.

    How could copy backups of the ASM to another place? I use version 10 gr 2 db, and there is no 'cp' command in asmcmd.

    You can use RMAN to do it.

    Use the command

    RMAN>  backup backupset from ... format '' ;
    

    Example here:
    Re: Move ASM backups to disks

    Using the tag:
    Re: RMAN to the ASM and network file system

    Published by: Levi Pereira on April 4, 2013 11:39

  • using RMAN backup files

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

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

  • I can't delete the post of WinRar on my files that were downloaded and now I can't get anything to open

    original title: open my files

    I can't delete the post of WinRar on my files that were downloaded and now I can't get anything to open

    Please describe your problem in more detail. Tell us that that "cannot delete" means. Exactly how do you try? What happens when you try? If you get an error message, please quote verbatim.

    Or do you mean 'change' expansion, rather than "delete." Have you tried?

    And one last point: If the files have the rar extension, what are rar files. The file format does not remove or change the extension.  If you remove or change the extension, they will always be rar files. A rar file can only be successfully opened by Winrar or a compatible program.

  • How can I restore my photos/docs from the Dell Data Safe emergency backup file?

    incompatibility with estensions file DSB

    Files saved during the backup secure files DAT Dell are the extensions of file .dsb by the Dell site. Windows 7 does not open the files to restore on reg location Windows Media as before the backup. .Dsb error message unrecognized files. How can I restore my photos/docs from the Dell Data Safe emergency backup file?

    I know that you need a Dell utility for this...

    And what has this to do with Windows 7 photos and videos, I really don't know...

  • Guest account, that it was automatically added his self as administrator and my account has been defined as a standard user, now I can't delete the guest account and I can't change mine to the administrator

    When I added the account. It was automatically added his self as administrator and my account was created as a standard user, now I can't delete the guest account and I can't change mine to the administrator, what do I do?

    Hello

     

    1. How did you try to disable the guest account?

    2. What do you mean by "when I added the account was automatically added his autonomy as an administrator and my account has been opened as a standard user?

    3. who are you referring?

    4. what happens when you turn off guest account and change the standard user to administrator account?

    5. have you logged as administrator?

    6. you get any error message?

    Please follow the methods.

     

    Method 1:

    Follow the steps in the link.

    Enable or disable the guest account the

    http://Windows.Microsoft.com/is-is/Windows7/turn-the-guest-account-on-or-off

     

    Method 2:

    Activate the account administrator build-in, log on to the administrator account, and then create a new user account with administrator privileges and also try disabling the guest account from the administrator account.

    Check out the links.

    Activate the build-in the administrator account in Windows Vista

    http://support.Microsoft.com/kb/555910 (also applies to Windows 7)

    Try to create a new administrator account and check.

    Difficulty of a corrupted user profile

    http://Windows.Microsoft.com/en-us/Windows7/fix-a-corrupted-user-profile

  • How to find the total size of the RMAN backup files?

    Hello

    env: Oracle 10 g 2, RHEL 64 bit

    My customer has a production database where rman backups are taken: level 0 backup every Sunday and level 1, Monday to Saturday.

    I have very limited access to this database of production because it is managed by a third party, and they don't give me my required info (don't know why). I don't have access to the rman repository. To connect to the database that I have to connect to a staging server, then connect to the database server. I have no access to Enterprise Manager. So in short, my access is limited. I want to collect information on the total size of the files of rman backup - both for level 1 to level 0 backups separately. I understand that this info can be retrieved from the rman repository. Is there a dictionary views/tables of data where I can get this info?

    Best regards

    Hello

    Have you tried to check forum this:https://forums.oracle.com/thread/1097939

    HTH

  • You cannot change the format of RMAN backup

    Hello!

    I am trying to restore a backup of the database controlfiles in a new host solaris11 with RMAN in oracle 10 g. I have a solaris10 box where I installed database10g. As far as I know what I have to do is this:

    > define the dbid = 718308982;

    > startup nomount;

    > set controlfile autobackup format of disc type of the device of ' / u01/app/oradata/ACBET/%F';

    > Restore controlfile autobackup.

    However when I try to change the format, nothing happens.

    RMAN > set controlfile autobackup format of disc type of the device of ' / u01/app/oradata/ACBET/%F';

    executing command: SET CONTROLFILE AUTOBACKUP FORMAT

    RMAN > show all.

    RMAN configuration parameters are:

    CONFIGURE REDUNDANCY 1 RETENTION STRATEGY; # by default

    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" # default < = same configuration 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 THE NONE ARCHIVELOG DELETION POLICY; # by default

    And when I try to do the restore command I get the following error:

    allocated channel: ORA_DISK_1

    channel ORA_DISK_1: sid = 1626 devtype = DISK

    field of recovery destination: / u01/app/oradata/ACBET/backup

    name of database (or unique name of database) used for research: ACBET

    channel ORA_DISK_1: no record not found in the recovery area

    channel ORA_DISK_1: looking for autobackup day: 20131115

    channel ORA_DISK_1: looking for autobackup day: 20131114

    channel ORA_DISK_1: looking for autobackup day: 20131113

    channel ORA_DISK_1: looking for autobackup day: 20131112

    channel ORA_DISK_1: looking for autobackup day: 20131111

    channel ORA_DISK_1: looking for autobackup day: 20131110

    channel ORA_DISK_1: looking for autobackup day: 20131109

    channel ORA_DISK_1: found no autobackup in 7 days

    RMAN-00571: ===========================================================

    RMAN-00569: = ERROR MESSAGE STACK FOLLOWS =.

    RMAN-00571: ===========================================================

    RMAN-03002: failure of the restore command at 11/15/2013 10:50:22

    RMAN-06172: no autobackup couldn't find or handle specified is not a valid copy or a piece

    It seems he's looking for in the right path of recovery of the area, but I don't know why it's a failure.

    Thank you in advance,

    Nock

    Hello world

    The problem with this restoration has been far from my knowledge. The real problem was that the backup files that they sent were made in a different boutien than the one I used in the new host. For the sake of those who find this post in the future, you can not use rman to make. Until the date of this post, he must either use a simple import/export (with pump data if you like) or using transportable tablespaces to move a database between the hosts with another platform.

    Thanks for all the help.

    Nock

  • WITH THE HELP OF RMAN BACKUP CATALOG

    Hello...

    I INTEND TO TAKE THE "ORCL" DATABASE BACKUP USING THE CATALOGUE. FIRST, I CREATED A DATABASE USING DBCA NAMED "RMAN". NOW, IN THE FLASH RECOVERY AREA, I'LL HAVE TWO FOLDERS "ORCL" AND "RMAN".

    MY QUESTION IS THAT... I HAVE USED WITH RMAN CATALOG AND TOOK THE GAME TO FULL DATABASE BACKUP AS BACKUP... BUT THE BACKUP SET WAS PLACED IN

    E:\oracle\product\10.2.0\flash_recovery_area\ORCL\BACKUPSET\2009_07_29\O1_MF_NNNDF_FULLBACKUP_5703B10H_. BKP

    I WANT TO KNOW WHEN I USE CATALOG RMAN DATABASE AS WHY IT IS IMPLEMENTED BACKUP ORCL...?
    SO WHAT'S THE CHANCE OF CREATING A SEPARATE DATABASE "RMAN". ?
    SEPARATE RMAN DATABSE IS JUST FOR CREAT CATALOG, THEN THE REGISTRY ORCL IN THIS CATALOG DATABASE?

    THANKS FOR REPLYING...

    I TOOK THE BACKUP AS BELOW...


    ............................................... RMAN DATABASE...

    C:\Documents and Settings\Vortex > set oracle_sid = rman

    C:\Documents and Settings\Vortex > sqlplus / as sysdba

    SQL * more: Release 10.2.0.1.0 - Production on sea 29 Jul 11:31:20 2009
    Copyright (c) 1982, 2005, Oracle. All rights reserved.
    Connected to:
    Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production
    With partitioning, OLAP and Data Mining options

    SQL > create user identified by human rman
    * 2 default tablespace users *.
    * 3 tablespace temporary temp *.
    * 4 account unlock; *
    Created by the user.

    SQL > grant connect, resource, recovery_catalog_owner to rman;
    Grant succeeded.

    SQL > change the quota of rman to unlimited user on the users;
    Modified user.

    SQL > exit
    Disconnected from the database to Oracle 10 g Enterprise Edition Release 10.2.0.1.0 - Production
    With partitioning, OLAP and Data Mining options

    C:\Documents and Settings\Vortex > rman@rman catalog rman

    Recovery Manager: Release 10.2.0.1.0 - Production on sea Jul 29 11:33:08 2009
    Copyright (c) 1982, 2005, Oracle.  All rights reserved.

    Catalog database recovery password:
    connected to the recovery catalog database

    RMAN > create catalog.
    Recovery catalog created.



    ............................................... ORCL DATABASE...

    Microsoft Windows XP [Version 5.1.2600]
    Copyright (C) 1985-2001 Microsoft Corp.

    C:\Documents and Settings\Vortex > set oracle_sid = orcl

    C:\Documents and Settings\Vortex > rman@rman for catalog rman target /.

    Recovery Manager: Release 10.2.0.1.0 - Production on sea Jul 29 11:37:10 2009
    Copyright (c) 1982, 2005, Oracle. All rights reserved.
    connected to target database: ORCL (DBID = 1221198182)
    Catalog database recovery password:
    connected to the recovery catalog database

    RMAN > register database;

    registered in the recovery catalog database
    from full resynchronization of the recovery catalog
    full complete Resync

    RMAN > show all.

    RMAN configuration parameters are:
    CONFIGURE REDUNDANCY 1 RETENTION STRATEGY; # by default
    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 THE NONE ARCHIVELOG DELETION POLICY; # by default
    CONFIGURE SNAPSHOT CONTROLFILE NAME TO ' E:\ORACLE\PRODUCT\10.2.0\DB10G\DATABASE\SNCFORCL. ORA'; #

    RMAN > CONFIGURE CONTROLFILE AUTOBACKUP ON;

    new RMAN configuration settings:
    CONFIGURE CONTROLFILE AUTOBACKUP ON;
    new RMAN configuration settings are stored successfully
    from full resynchronization of the recovery catalog
    full complete Resync

    RMAN > outline report;

    Report of the database schema

    List of permanent data files

    Size (MB) Tablespace RB segs Datafile file name

    1 470 SYSTEM YES E:\ORACLE\PRODUCT\10.2.0\ORADATA\ORCL\SYSTEM01. DBF
    2 25 UNDOTBS1 E:\ORACLE\PRODUCT\10.2.0\ORADATA\ORCL\UNDOTBS01 YES. DBF
    SYSAUX 3 230 NO E:\ORACLE\PRODUCT\10.2.0\ORADATA\ORCL\SYSAUX01. DBF
    4 5 USERS WITHOUT E:\ORACLE\PRODUCT\10.2.0\ORADATA\ORCL\USERS01. DBF

    List of temporary files

    File Size (MB) (MB) Maxsize Tempfile Tablespace name

    1 E:\ORACLE\PRODUCT\10.2.0\ORADATA\ORCL\TEMP01 20 TEMP 32767. DBF


    RMAN > run
    * 2 > {allocate channel ch1 type disk; *}
    * 3 > backup database tag = BACKUP; *
    * 4 > release channel ch1. *
    {* 5 >} *.


    allocated channel: ch1
    channel ch1: sid = 148 devtype = DISK

    From backup 29 July 09
    channel ch1: starting full datafile backupset
    channel ch1: specifying datafile (s) in backupset
    input datafile fno = 00001 name=E:\ORACLE\PRODUCT\10.2.0\ORADATA\ORCL\SYSTEM01. DBF
    input datafile fno = 00003 name=E:\ORACLE\PRODUCT\10.2.0\ORADATA\ORCL\SYSAUX01. DBF
    input datafile fno = name=E:\ORACLE\PRODUCT\10.2.0\ORADATA\ORCL\UNDOTBS01 00002. DBF
    input datafile fno = 00004 name=E:\ORACLE\PRODUCT\10.2.0\ORADATA\ORCL\USERS01. DBF
    channel ch1: starting piece 1 to 29 July 09
    channel ch1: finished piece 1 to 29 July 09
    room handle=E:\ORACLE\PRODUCT\10.2.0\FLASH_RECOVERY_AREA\ORCL\BACKUPSET\2009_07_29\O1_MF_NNNDF_FULLBACKUP_570
    3B10H_. Tag BKP = BACKUP comment = NONE
    channel ch1: complete set of backups, time: 00:01:38
    Backup finished in 29 July 09

    From control file and SPFILE Autobackup 29 July 09
    room handle=E:\ORACLE\PRODUCT\10.2.0\FLASH_RECOVERY_AREA\ORCL\AUTOBACKUP\2009_07_29\O1_MF_S_693489105_5703F5L
    K_. Comment BKP = NONE
    File control finished and Autobackup SPFILE to 29 July 09
    output channel: ch1.

    RMAN >

    Published by: Muhammad.Usman on July 28, 2009 23:01

    You can also take your backups without a recovery catalog database. The additional advantage of using a database to catalog vs using the controlfile as repository (default average) target is essentially
    >
    RMAN automatically manages backup metadata in the database control file is saved. To protect and maintain metadata backup for long periods of time, the RMAN Repository is created in a separate database. This repository is generally referred to as a catalog of recovery. The benefits of using a catalog of recovery include:

    *

    Stores long-term backup information
    *

    Store the metadata for multiple databases
    *

    Restore a backup available on another system

    Another reason to use a recovery catalog is the limited size of the target database control file. If the control file is too small to contain additional metadata from backup, then the existing backup information are crushed, making it difficult to restore and recover using these backups.
    >

    of http://download.oracle.com/docs/cd/B19306_01/server.102/b25159/configbp.htm#CHDBCHAC

    Kind regards
    Uwe

    http://uhesse.WordPress.com

  • Limit the size of RMAN backup + archivelog

    Hi all

    9i

    RHEL4

    RMAN and dataguard, is there a limit in the allocation of disk space for the backup files and archivelogs size?

    Thank you very much

    JC

    I believe in 9i there is no limit for this.

    http://docs.Oracle.com/CD/B10501_01/server.920/a96521/archredo.htm

    10 g, you can set the limit to help

    db_recovery_file_dest_size parameter

    Also take a look at

    Flash Recovery Area - FAQ (Doc ID 833663.1)

    Space issue in Fast / Flash Recovery Area - full FRA (Doc ID 829755.1)

    Flash area recovery - management area of alerts warning & (Doc ID 305812.1)

    How to disable the use of the recovery Flash to Archivelogs and backups (Doc ID 297397.1) area

  • How to create a database in the server-2 based on the game of RMAN backup in server-1

    Hi all

    I need help related to RMAN backup in the following scenario, my server-1 details are given below.

    * Operating system-Windows server 2012 R2 Standard Edition

    * Oracle Database 11 g Enterprise Edition Release 11.2.0.1.0 - 64 bit Production

    PL/SQL Release 11.2.0.1.0 - Production

    CORE 11.2.0.1.0 Production

    AMT for 64-bit Windows: Version 11.2.0.1.0 - Production

    NLSRTL Version 11.2.0.1.0 - Production,

    I have configured RMAN and level 0 and backup of level 1 with on the external HARD drive.

    all the RMAN backup is located in this drive external HARD only, same archivelog.

    My question is,

    How to create a database to Server-2 based on the RMAN backup I took in server-1.

    It's to help me create a server test and even if the server-1 crash, then I can create a database in the new server-2 with backup I took on the external HARD drive.

    Is it possible to achieve the same or not. Kindly suggest me or share a good Internet link or document and share your knowledge to achieve my need of stimulus.  This will really help me

    It does not matter whether you use ASM. The link above should guide you on how to change the file names of data before restoring if the location of the data file on server 2 will be different from server 1.

    Since you asked for 11g binding, it is here

    http://shivanandarao-Oracle.com/2012/04/28/duplicating-database-without-connecting-to-target-database-or-catalog-database-in-Oracle-11g/

    Kind regards

    Shivananda

  • The copy of RMAN backup format

    Hello

    use the following rman block to take incremental backup to recover.

    run{
    allocate channel c1 type disk format 'd:\copy\%f';
    BACKUP INCREMENTAL LEVEL 1 FOR RECOVER OF COPY WITH TAG 'full_backup' DATABASE ;
    }
    

    It creates the backup under D. COPY directory, but the name of the backup copy is the data file file number. How can I take backup that has the same name as a data file that is users01.dbf real?

    Thank you

    SAQ

    Hello

    Thanks, but unfortunately it can not work. By specifying a file name unique 'users01.dbf' for the full database backup will ask other files copy to replace users01.dbf and command would fail. I got the solultion that is as follows.

    BACKUP AS COPY INCREMENTAL LEVEL 0 FORMAT 'd:\copy\SYSTEM01.DBF' TAG='DF_COPY' datafile 1;
    BACKUP AS COPY INCREMENTAL LEVEL 0 FORMAT 'd:\copy\SYSAUX01.DBF' TAG='DF_COPY' datafile 2;
    BACKUP AS COPY INCREMENTAL LEVEL 0 FORMAT 'd:\copy\UNDOTBS01.DBF' TAG='DF_COPY' datafile 3;
    BACKUP AS COPY INCREMENTAL LEVEL 0 FORMAT 'd:\copy\USERS01.DBF' TAG='DF_COPY' datafile 4;
    BACKUP AS COPY INCREMENTAL LEVEL 0 FORMAT 'd:\copy\FLOW_1046227278781593.DBF' TAG='DF_COPY' datafile 5;
    

    SAQ

Maybe you are looking for

  • Siri Fehler unter Sierra

    Nach dem Upgrade auf Sierra wanted ich kurz auch auf dem Mac testen Siri. Strange gibt auf die nach dem Geburtstag eines Citroc3 ein Datum a question Siri, which einen Tag was ist, als der effektive Geburtstag! DAS passierte bei all meinen Anfragen z

  • 10.2.2 FCPX flickering in timeline

    Just 'upgraded' in 10.2.2 FCPX and El Capitan and getting flickering in some clips on the timeline.  It seems 1) all transitions and effects causes flicker (e.g., cultures and the cross - dissolves) as well as 2) possibly some file types (seems to be

  • Octoshape streaming services: could not bind to the local host. Please check your firewall configuration

    Original title: Octashape streaming system Hello A dialog box appears on my screen:Octoshape streaming services: could not bind to the local host. Please check your firewall configuration What should I do? And if this does not work between the firewa

  • Viagra ads sent from my MSN account hacker

    My MSN account has been hacked, say the people on my contact list they get Viagra and stuff me with to me. How can I stop this, what I need to start another account and close it?

  • reboot updates require 3 restarts hard

    Whenever I have re-starting or stopping to perform an update, the computer does not restart automatically. He will start the boot for 2 seconds and stop. No display on the screen or the keyboard not only report the power running fan.  I have to hard