Deleting old incarnation through RMAN

Hi All,
Could you please let me know how to delete old incranation and the backups related to that incarnation from RMAN for a particular database in Oracle 9i.
Regards
Harpreet Singh

Hi,
Thanks all for your help. I have achieved what I was looking for. I have deleted all the backups from the recovery catalog, according to you retention policy and also removed the unwanted incarnations from the recovery catalog. This is what I did:-
crosscheck backup of database completed before 'sysdate - 35';
crosscheck backup of archivelog all completed before 'sysdate -35';
report obsolete recovery window of 35 days device type 'sbt';
delete force noprompt obsolete recovery window of 35 days device type 'sbt';
delete backup of database completed before 'sysdate-35';
delete backup of archivelog all completed before 'sysdate-35';
And then to remove the incarnations from the RMAN by logging in the RMAN database with the onwer of the recovery catalog:-
RMAN> Delete from dbinc where dbinc_key=< dbinc_key>;
MAY BE THIS CAN HELP SOMEONE IN THE FUTURE!!!!!!!!!!!!!!!!!!!!!!!
Regards
Harpreet Singh

Similar Messages

  • How to delete old backups in RMAN (

    Hello,
    if I run below rman command lines in 10g and 11g RMAN, it works well, but NOT in RMAN (Release 8.1.7.4.0), so which commandlines I should use to get to the same pursposes in RMAN 8.1.7.4?
    run {
    ALLOCATE CHANNEL c1 TYPE 'sbt_tape';
    ALLOCATE CHANNEL c2 TYPE 'sbt_tape';
    ALLOCATE CHANNEL c3 TYPE 'sbt_tape';
    ALLOCATE CHANNEL c4 TYPE 'sbt_tape';
    ALLOCATE CHANNEL c5 TYPE 'sbt_tape';
    ALLOCATE CHANNEL c6 TYPE 'sbt_tape';
    ALLOCATE CHANNEL c7 TYPE 'sbt_tape';
    ALLOCATE CHANNEL c8 TYPE 'sbt_tape';
    CROSSCHECK BACKUP;
    delete force noprompt obsolete;
    DELETE EXPIRED BACKUP;
    RELEASE CHANNEL c1;
    RELEASE CHANNEL c2;
    RELEASE CHANNEL c3;
    RELEASE CHANNEL c4;
    RELEASE CHANNEL c5;
    RELEASE CHANNEL c6;
    RELEASE CHANNEL c7;
    RELEASE CHANNEL c8;
    thank you

    for example like below... thank you
    RMAN> CROSSCHECK BACKUP;
    RMAN-03022: compiling command: XCHECK
    RMAN-03026: error recovery releasing channel resources
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure during compilation of command
    RMAN-03013: command type: XCHECK
    RMAN-06091: no channel allocated for maintenance (of an appropriate type)
    RMAN> ALLOCATE CHANNEL c1 TYPE 'sbt_tape';
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-00558: error encountered while parsing input commands
    RMAN-01005: syntax error: found "identifier": expecting one of: "for"
    RMAN-01008: the bad identifier was: c1
    RMAN-01007: at line 1 column 18 file: standard input

  • Deleting old backup's of rman with nocatalog

    I am using oracle 8.1.6 on windows 2000 server. I am using rman with nocatalog to backup the database on disk. Now i want to delete the old backup's. Can anyone help me to know on how to perform the above task.

    I am very much thankful for ur reply but its not working. Its displaying the below errors
    RMAN> report obsolete redundancy=2;
    RMAN-03022: compiling command: report
    Report of obsolete backups and copies
    Type Key Completion Time Filename/Handle
    Backup Set 1 19-JUL-08
    Backup Piece 1 19-JUL-08 C:\ORACLE\ORA81CM\DATABASE\01JLSK
    O3_1_1
    Backup Set 2 20-JUL-08
    Backup Piece 2 20-JUL-08 C:\ORACLE\ORA81CM\DATABASE\08JLUM
    IO_1_1
    Backup Set 4 20-JUL-08
    Backup Piece 4 20-JUL-08 C:\ORACLE\ORA81CM\DATABASE\0AJLUS
    K9_1_1
    Backup Set 5 20-JUL-08
    Backup Piece 5 20-JUL-08 C:\ORACLE\ORA81CM\DATABASE\0BJLUS
    LE_1_1
    Datafile Copy 1 16-JUL-08 C:\ORACLE\CONTROL.DBF
    RMAN> delete obsolete redundancy = 2;
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-00558: error encountered while parsing input commands
    RMAN-01005: syntax error: found "obsolete": expecting one of: "expired, script"
    RMAN-01007: at line 1 column 8 file: standard input

  • Rman delete old file and recover

    Hi Friends,
    after full backup.
    we use below syntax to delete old file.
    delete noprompt archivelog until time '(SYSDATE - 10)';
    However, we get a message that file is used and delete failure. ramn stop process.
    my question:
    does the old archivelog file is deleted ot not?
    If the old archivelog file is delete, do we have any command like sql rollback to recover it?
    any other commane to recover mis comman in ramn.
    or we must recover it?
    Thanks,
    ji

    user589812 wrote:
    Hi Friends,
    after full backup.
    we use below syntax to delete old file.
    delete noprompt archivelog until time '(SYSDATE - 10)';
    However, we get a message that file is used and delete failure. ramn stop process.
    Please paste the error here.
    my question:
    does the old archivelog file is deleted ot not?
    If the old archivelog file is delete, do we have any command like sql rollback to recover it?
    any other commane to recover mis comman in ramn.
    or we must recover it?
    Thanks,
    jithere is no any command sort of rolback to recover archivelog,if you have backup of archivelog then you can restore
    archivelog from this archivelog backupset.
    RMAN>restore archivelog all
    Khurram

  • Error while taking backup  through RMAN in 10g XE

    While taking backup through RMAN in XE instance , an error comes out.
    The contents of oxe_backup_current file is as below :
    XE Backup Log
    Recovery Manager: Release 10.2.0.1.0 - Production on Wed Jul 6 15:49:51 2011
    Copyright (c) 1982, 2005, Oracle.  All rights reserved.
    connected to target database: XE (DBID=2635631092)
    RMAN>
    echo set on
    RMAN> shutdown immediate;
    using target database control file instead of recovery catalog
    database closed
    database dismounted
    Oracle instance shut down
    RMAN> startup mount;
    connected to target database (not started)
    Oracle instance started
    database mounted
    Total System Global Area     805306368 bytes
    Fixed Size                     1261444 bytes
    Variable Size                209715324 bytes
    Database Buffers             591396864 bytes
    Redo Buffers                   2932736 bytes
    RMAN> configure retention policy to redundancy 2;
    old RMAN configuration parameters:
    CONFIGURE RETENTION POLICY TO REDUNDANCY 2;
    new RMAN configuration parameters:
    CONFIGURE RETENTION POLICY TO REDUNDANCY 2;
    new RMAN configuration parameters are successfully stored
    RMAN> configure controlfile autobackup format for device type disk clear;
    RMAN configuration parameters are successfully reset to default value
    RMAN> configure controlfile autobackup on;
    old RMAN configuration parameters:
    CONFIGURE CONTROLFILE AUTOBACKUP OFF;
    new RMAN configuration parameters:
    CONFIGURE CONTROLFILE AUTOBACKUP ON;
    new RMAN configuration parameters are successfully stored
    RMAN> sql "create pfile=''/usr/lib/oracle/xe/app/oracle/product/10.2.0/server/dbs/spfile2init.ora'' from spfile";
    *sql statement: create pfile=''/usr/lib/oracle/xe/app/oracle/product/10.2.0/server/dbs/spfile2init.ora'' from spfile*
    *RMAN-00571: ===========================================================*
    *RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============*
    *RMAN-00571: ===========================================================*
    *RMAN-03009: failure of sql command on default channel at 07/06/2011 15:50:57*
    *RMAN-11003: failure during parse/execution of SQL statement: create pfile='/usr/lib/oracle/xe/app/oracle/product/10.2.0/server/dbs/spfile2init.ora' from spfile*
    *ORA-27086: unable to lock file - already in use*
    *Linux Error: 11: Resource temporarily unavailable*
    Additional information: 8
    Additional information: 16476
    RMAN> backup as backupset device type disk database;
    Starting backup at 06-JUL-11
    allocated channel: ORA_DISK_1
    channel ORA_DISK_1: sid=102 devtype=DISK
    channel ORA_DISK_1: starting full datafile backupset
    channel ORA_DISK_1: specifying datafile(s) in backupset
    input datafile fno=00003 name=/usr/lib/oracle/xe/oradata/XE/sysaux.dbf
    input datafile fno=00005 name=/usr/lib/oracle/xe/oradata/XE/ftress_data_log01.dbf
    input datafile fno=00006 name=/usr/lib/oracle/xe/oradata/XE/ftress_data_lrg01.dbf
    input datafile fno=00001 name=/usr/lib/oracle/xe/oradata/XE/system.dbf
    input datafile fno=00009 name=/usr/lib/oracle/xe/oradata/XE/ftress_indx_log01.dbf
    input datafile fno=00010 name=/usr/lib/oracle/xe/oradata/XE/ftress_indx_lrg01.dbf
    input datafile fno=00002 name=/usr/lib/oracle/xe/oradata/XE/undo.dbf
    input datafile fno=00004 name=/usr/lib/oracle/xe/oradata/XE/users.dbf
    input datafile fno=00008 name=/usr/lib/oracle/xe/oradata/XE/ftress_data_sml01.dbf
    input datafile fno=00012 name=/usr/lib/oracle/xe/oradata/XE/ftress_indx_sml01.dbf
    input datafile fno=00011 name=/usr/lib/oracle/xe/oradata/XE/ftress_indx_mdm01.dbf
    input datafile fno=00007 name=/usr/lib/oracle/xe/oradata/XE/ftress_data_mdm01.dbf
    channel ORA_DISK_1: starting piece 1 at 06-JUL-11
    channel ORA_DISK_1: finished piece 1 at 06-JUL-11
    piece handle=/usr/lib/oracle/xe/app/oracle/flash_recovery_area/XE/backupset/2011_07_06/o1_mf_nnndf_TAG20110706T155057_718dw649_.bkp tag=TAG20110706T155057 comment=NONE
    channel ORA_DISK_1: backup set complete, elapsed time: 00:00:15
    Finished backup at 06-JUL-11
    Starting Control File and SPFILE Autobackup at 06-JUL-11
    piece handle=/usr/lib/oracle/xe/app/oracle/flash_recovery_area/XE/autobackup/2011_07_06/o1_mf_s_755797849_718dwofy_.bkp comment=NONE
    Finished Control File and SPFILE Autobackup at 06-JUL-11
    RMAN> configure controlfile autobackup off;
    old RMAN configuration parameters:
    CONFIGURE CONTROLFILE AUTOBACKUP ON;
    new RMAN configuration parameters:
    CONFIGURE CONTROLFILE AUTOBACKUP OFF;
    new RMAN configuration parameters are successfully stored
    RMAN> alter database open;
    database opened
    RMAN> delete noprompt obsolete;
    RMAN retention policy will be applied to the command
    RMAN retention policy is set to redundancy 2
    using channel ORA_DISK_1
    Deleting the following obsolete backups and copies:
    Type                 Key    Completion Time    Filename/Handle
    Backup Set           3      06-JUL-11        
      Backup Piece       3      06-JUL-11          /usr/lib/oracle/xe/app/oracle/flash_recovery_area/XE/backupset/2011_07_06/o1_mf_nnndf_TAG20110706T133443_7184wr4d_.bkp
    Backup Set           4      06-JUL-11        
      Backup Piece       4      06-JUL-11          /usr/lib/oracle/xe/app/oracle/flash_recovery_area/XE/autobackup/2011_07_06/o1_mf_s_755789675_7184x7fp_.bkp
    deleted backup piece
    backup piece handle=/usr/lib/oracle/xe/app/oracle/flash_recovery_area/XE/backupset/2011_07_06/o1_mf_nnndf_TAG20110706T133443_7184wr4d_.bkp recid=3 stamp=755789684
    deleted backup piece
    backup piece handle=/usr/lib/oracle/xe/app/oracle/flash_recovery_area/XE/autobackup/2011_07_06/o1_mf_s_755789675_7184x7fp_.bkp recid=4 stamp=755789699
    Deleted 2 objects
    RMAN>
    Recovery Manager complete.
    RMAN error: See log for details.

    I think it is trying to overwrite exiting file. Either give a different name or cleanup the files in preferred location.

  • How do I create a new user, move my old files etc over, and delete old user

    This is why I think I need to.
    My computer got hit by lightening, and I may have created a new user account through netinfo rather than system preferences /accounts/+user. Mail used to open twice, but no longer. Now, Safari askes me for my keychain password twice, Spotlight can't find a folder on the computer when the search is restricted to folder and computer, though the folder is there and easyfind finds it, and when System Preferences/Spotlight/Privacy has the hard drive icon added, then deleted, Spotlight still does not find anything. (Yes, everything is backed up, on CD, DVD, and online.) Microsoft Tec Support says
    "Here is a summary of the key points of the case for your records.
    When you contacted us on August 8, you had requested assistance with Microsoft Office 2004, as your installation of the updates was unable to find the correct version of the software to update. After creating a New MAC User, we identified the issue to be with a corrupt MAC User account, and not a Microsoft issue. "
    I believe Microsoft. So, creating a new user was easy.
    But copying files uses up too much hard drive (movies, music), and may miss keychains, preferences, mail, address book, and documents. Since Spotlight no longer works, who knows what is happening. (Yes, I've repaired persmissions, and disk repair. No change). I'm using up my hard drive trying to move files to the new user. If I share files, or put them into a public folder, then delete the old user, will I still have the old user's files in the new user's account? It is not clear to me what I should be trying to do in order to create a new user, move my old files etc over, and delete old user. Thanks.
    My responses will be slow, because I have to drive to town to use the internet. I've ordered a new airport which may take care of that problem. SO be patient.

    Hey -
    I need to do the EXACT same thing, but have no idea how. Has anyone out there done this?
    My situation is a tad different..this is a new Mac (and I'm a brand new Mac user). Tons of querks occur under my original account (videos won't run, Safari won't support certain plug-ins). I spent 6 hours on the phone w/ 4 different Apple Reps and nobody could fix it. A rep finally looked at my MacBook Pro in person today. He created a new account just to see if that would work and under that new account, everything works perfectly fine (no querks, can view video). He tried switching a million settings in my original account to no avail.
    He said to create a new account (as he did) and move my files over to the new account and then go back to the original and delete it. How do you do this?! I can't figure it out! I've got a new account created, but of course it just has the default folders in it w/ the little red icons next to them! Thanks in advance!

  • Control File error while duplicating Database through Rman

    Hi,
    Oracle Ver: Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production
    Os:Win Xp
    I am trying to create a Standby through Rman....
    I am using this Run Block to take backup of Primary Database.......
    run {
    allocate channel d1 type disk;
    allocate channel d2 type disk;
    setlimit channel d1 kbytes 2097150;
    setlimit channel d2 kbytes 2097150;
    backup incremental level 0 format 'e:\Oracle\standby\rman\df_%U' database
    include current controlfile for standby;
    sql "alter system archive log current";
    backup
    archivelog all format 'e:\Oracle\standby\rman\al_%U' delete input;
    }After taking the Backup when I am trying to create the standby with Duplicate command it s giving me Error...
    The Run Block I am using is ......
    RMAN> run {
    2> allocate auxiliary channel dup1 type disk;
    3> allocate auxiliary channel dup2 type disk;
    4> set newname for datafile 1 to 'E:\Oracle\standby\system01.dbf';
    5> set newname for datafile 2 to 'E:\Oracle\standby\UNDOTBS01.DBF';
    6> set newname for datafile 3 to 'E:\Oracle\standby\SYSAUX01.DBF';
    7> set newname for datafile 4 to 'E:\Oracle\standby\USERS01.DBF';
    8> duplicate target database for standby
    9> dorecover;
    10> }
    allocated channel: dup1
    channel dup1: sid=37 devtype=DISK
    allocated channel: dup2
    channel dup2: sid=36 devtype=DISK
    executing command: SET NEWNAME
    executing command: SET NEWNAME
    executing command: SET NEWNAME
    executing command: SET NEWNAME
    Starting Duplicate Db at 02-OCT-08
    contents of Memory Script:
       set until scn  1105194;
       restore clone standby controlfile;
       sql clone 'alter database mount standby database';
    executing Memory Script
    executing command: SET until clause
    Starting restore at 02-OCT-08
    channel dup1: starting datafile backupset restore
    channel dup1: restoring control file
    channel dup1: reading from backup piece E:\ORACLE\STANDBY\RMAN\DF_0VJS4RS7_1_1
    channel dup1: restored backup piece 1
    piece handle=E:\ORACLE\STANDBY\RMAN\DF_0VJS4RS7_1_1 tag=TAG20081002T124502
    channel dup1: restore complete, elapsed time: 00:00:01
    output filename=D:\ORACLE\PRODUCT\10.2.0\DB_1\DATABASE\CTL1STANDBY.ORA
    Finished restore at 02-OCT-08
    sql statement: alter database mount standby database
    released channel: dup1
    released channel: dup2
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of Duplicate Db command at 10/02/2008 13:01:43
    RMAN-03015: error occurred in stored script Memory Script
    RMAN-03009: failure of sql command on clone_default channel at 10/02/2008 13:01:43
    RMAN-11003: failure during parse/execution of SQL statement: alter database mount standby database
    *ORA-00201: control file version 10.2.0.1.0 incompatible with ORACLE version 10.2.0.0.0*
    ORA-00202: control file: 'D:\ORACLE\PRODUCT\10.2.0\DB_1\DATABASE\CTL1STANDBY.ORA'Why i am getting this Incomaptable Control File error inspite of Backing up the control File.....
    Regards,
    Prosenjit Mukherjee

    Check the value for the parameter "COMPATIBLE" in the source and standby database instance parameter files.
    "COMPATIBLE" should be the same.
    See http://download.oracle.com/docs/cd/B19306_01/server.102/b14239/create_ps.htm#i70517
    "... ensure the COMPATIBLE initialization parameter is set to the same value on both the primary and standby databases"
    Edited by: Hemant K Chitale on Oct 2, 2008 4:09 PM
    Added link and quote from 10g doc

  • 10g Physical Standby to be used for Backup through RMAN

    Dear All,
    I have 10g Database Primary and Standby Server which is operating in Maximum Performance Mode. I want to use Standby Database for performing Weekly Full and Daily Incremental Backups through RMAN. Kindly inform me is it possible, if yes how should I configure it. I will also be using Compression and Encryption while performing backups.
    Best Regards,
    Asif

    Yes, that is possible.
    Because the standby databases are in mount mode, they can be accessed through the SYS account .
    I use the following RMAN script for the same purpose. Please note that we have configure the flashback area, so we are not letting RMAN delete the archive files:
    run {
    sql 'alter system archive log current';
    sql 'alter system archive log current';
    allocate channel ch1 type 'sbt_tape' parms 'ENV=(TDPO_OPTFILE=/usr/tivoli/tsm/client/oracle/bin64/tdpo.opt)';
    backup
    incremental level 0
    tag full_bk_db_webshop
    format 'df_%d_t%t_s%s_p%p'
    (database include current controlfile);
    backup archivelog all;
    This script is for a FULL backup ( level 0 ). You could also use the "backup full" command
    You can easily change the level of the Backup for incremental purposes.
    Starting RMAN - if configured correctly - is the same as with an open database
    export ORACLE_SID=<STDBYSID>
    rman target / rcvcat <rman/rman>@<catalogsid>
    the user for, and the catalogsid are merely examples
    Edited by: fjfranken on Mar 24, 2009 4:07 AM

  • Need help in deleting old searches

    How can I delete old Google searches from my I Pad?  Going to Settings, to Safari, clearing history,eyc. Does not work.

    I've already solved my problem through Ovi Support, a million thanks to you Ovi, in order to delete the mailbox all you have to do is, Open Menu / Messaging / Options / Settings / E-mail / Mailboxes and then long press on mailbox opens the selection to delete it. Same thing applies for the installed themes, phew, i only discovered it just today. Thanks again OVI Support!!!!! More power!

  • Backup through RMAN

    Hi guys.
    I am new in oracle database.my database is in no archive mode
    i want to take backup through RMAN .
    rman target sys/oracle
    backup database;
    but fail to backup. please see error
    ORA -19602: cannot backup or copy active file in noarchivelog mode

    Enable archiving in 10g
    1. shutdown immediate;
    2. edit init.ora set log_archive_start=TRUE /*Set this if your database is 9i. If 10g DB then ignore this step*/
    3. startup mount;
    4. alter database archivelog;
    5. alter database flashback on; /*Not required to enable archiving. Just extra info to enable flashback logs*/
    6. alter database open;
    7. archive log list;
    Now take backup
    run
    allocate channel ch1 type disk format '%D_%d_%t_%T_%s.bak';
    backup database plus archivelog;
    report obsolete;
    delete noprompt obsolete;
    crosscheck backupset;
    crosscheck archivelog all;
    resync catalog;
    Sami Malik
    [email protected]

  • Delete old and backed up archive log,

    Hi all,
    Am trying to modify our RMAN backup script to delete old and backed up archive logs off the disk.
    We run daily Incremental L0 or L1 backups, with 3 daily archive log backups. Currently we delete archive logs as they are backed up (backup archivelog all delete input). However, we are considering leaving x days worth of archive logs on disk, just in case, quick restore is needed (e.g. tablespace media recovery etc. etc.)
    For example,
    We can delete archive logs old tha n x (where x=no_days depending on database) by,
    delete archivelog until time 'sysdate-15';
    We can also delete archive logs that have been backed up to disk by,
    delete archivelog all backed up 1 times to disk;
    Questions,
    1) Why does 'backed up 1 times to disk' require the 'all' in the statement ?
    2) Is there any way to combine the 2 statements ? (backed up 1 times and older than x days ?). Just being a bit extra cautious to ensure that we have everything backed up. In real-world shouldn't be a problem, as we will be alerted to any backup failures, but trying to cater for the very worst situation.
    Thanks for your help and insight.

    Hi,
    Scratch the questions. Found the answer in another thread. Seems when I tried to combine the statements initally, I had a typo.
    It is now working as expected.
    Thanks and regards,

  • Time Machine Deletes Old Backups without warning!!

    I have just lost loads of pictures and emails when my Timemachine deleted old backups. I was so happy to have an easy way to keep my iPhoto cleaned up while keeping all the photos for the future. I would load my all the photos from my camera, backup with TimeMachine and delete the "bad" unwanted photos, confident in the knowledge that these pictures are still there on my external. I looked forward to some future date when someone would write an easy piece of software to consolidate old iPhoto libraries and even go through TimeMachine and consolidate those photos too. But until that fantasy event, my pictures, even though not wanted were still there.
    Not any more!!
    I replaced my hard drive and reloaded my laptop from Timemachine and I think that was the event that sparked the dump.
    There should be a special check box to make sure that NO backups are automatically deleted, EVER. They should be a way to make them Sacred!!
    There should be a way to create a separate backup just for iPhoto because right now, there are no good ways to easily break apart or merge iPhoto libraries. At least what I was doing worked, (well.... until it didn't).
    Any ideas??

    nerowolfe wrote:
    True, TM is not a classic archival system, but until the drive is full, the difference is moot.
    No, the difference isn't moot.
    I still have on my TM HD every file I ever had because it's only 1/2 full.
    No, you don't. Read on...
    Time machine has three levels of backups:
    1) hourly - deleted after 24 hours
    2) daily - deleted after a week
    3) weekly - deleted only when the disk is full - these are the only deletions you will be warned about
    Time machine is always deleting files. Every time it backs up, it deletes files.
    But the OP's real question is why he was never warned about the old backups being deleted, as TM says it will do, archival stuff notwithstanding. Apparently TM simply ignores the user's request to be warned.
    No, it doesn't.
    That being said, as I asked in a post not too long ago, "how many have had a warning from TM that old backups are being deleted?" as one would expect when the TM preference box, "Warn when old backups are deleted" is checked.
    It appears to me to be a bug.
    I ask again if anyone has gotten this warning.
    Nobody answered my previous post with a yes.
    Yes.
    Because Time Machine continually cleans up behind itself, it tries very hard to ever delete the weekly backups. The only time I've gotten the deletion warning was when my disk was full. I think I just avoided the problem by removing my old Parallels images from Time Machine and got back an extra 70 gig or so - good for another six months.
    This is not a bug. This is how Time Machine works. It is unfortunate that the original poster did not fully understand this. The fact is that Time Machine backs everything up. If you create 100 files, it backs up the folder with 100 new files. If you delete 100 files, it backs up the folder with 100 less files. Then, the next day, it deletes old backups. The only one it keeps is the last one, with 100 less files.
    It is correct to say that Time Machine is not an archival system. It is a backup system. If you want to save your files forever, you need to copy them to a location that isn't under the control of any sort of automatic software.

  • Since Mavericks upgrade, Time Capsule stuck deleting old backups ... for days

    I have a previous generation 2TB Time Capsule shared by three of us, each with separate accounts.
    I know there's not much space left on the Time Capsule and that it's therefore expected that Time Machine would make room by deleting old backups. But my account seems stuck forever on these deletions (for over 72 hours now), while the other two accounts on the Time Capsule are working just fine.
    I've been through Pondini's recommendations for (a) patience and (b) finally resetting Time Machine, but on it goes.
    Here is the last couple of hours of the log (filtered for this problem).  The entire log for the last 72 hours is too long to post -- but the pattern is the same, with the constant deletions barely making a dent, and sometimes in fact the space available decreases.
    I'd cheerfully give up on the oldest backups, but meanwhile it's been 8 days since TC has been able to complete a backup.  (I have been cloning the drive daily with SuperDuper just to make sure I have a fallback until this is figured out.)
    Hoping one of you can recommend a course of action.
    Thanks in advance for any help...
    10/28/13 8:06:51.276 PM com.apple.backupd[758]: Found 1022200 files (58.34 GB) needing backup
    10/28/13 8:07:01.173 PM com.apple.backupd[758]: 75.13 GB required (including padding), 16.43 GB available
    10/28/13 8:07:05.162 PM com.apple.backupd[758]: Ejected Time Machine disk image: /Volumes/edbern/EB’s MacBook Air.sparsebundle
    10/28/13 8:07:05.162 PM com.apple.backupd[758]: Compacting backup disk image to recover free space
    10/28/13 8:25:44.384 PM com.apple.backupd[758]: Completed backup disk image compaction
    10/28/13 8:25:44.388 PM com.apple.backupd[758]: Starting manual backup
    10/28/13 8:25:44.915 PM com.apple.backupd[758]: Network destination already mounted at: /Volumes/edbern
    10/28/13 8:26:04.847 PM com.apple.backupd[758]: Disk image /Volumes/edbern/EB’s MacBook Air.sparsebundle mounted at: /Volumes/Time Machine Backups 1
    10/28/13 8:26:05.230 PM com.apple.backupd[758]: Backing up to /dev/disk3s2: /Volumes/Time Machine Backups 1/Backups.backupdb
    10/28/13 8:26:31.228 PM com.apple.backupd[758]: Event store UUIDs don't match for volume: Macintosh HD
    10/28/13 8:26:31.546 PM com.apple.backupd[758]: Waiting for index to be ready (100)
    10/28/13 8:27:25.289 PM com.apple.backupd-helper[112]: Not starting scheduled Time Machine backup: Backup already running
    10/28/13 8:27:31.784 PM com.apple.backupd[758]: Waiting for index to be ready (100)
    10/28/13 8:27:56.892 PM com.apple.backupd[758]: Deep event scan at path:/ reason:must scan subdirs|new event db|
    10/28/13 8:35:43.224 PM com.apple.backupd[758]: Finished scan
    10/28/13 8:35:43.241 PM com.apple.backupd[758]: Not using file event preflight for Macintosh HD
    10/28/13 9:05:03.078 PM com.apple.backupd[758]: Found 1022200 files (58.34 GB) needing backup
    10/28/13 9:05:16.881 PM com.apple.backupd[758]: 75.13 GB required (including padding), 31.85 GB available
    10/28/13 9:05:17.689 PM com.apple.backupd[758]: Deleted backup /Volumes/Time Machine Backups 1/Backups.backupdb/EB’s MacBook Air/2013-10-28-202628.inProgress/03624AE5-22CE-463C-9265-CE6A8826C535 containing 4 KB; 31.85 GB now available, 75.13 GB required
    10/28/13 9:05:17.700 PM com.apple.backupd[758]: Deleted backup /Volumes/Time Machine Backups 1/Backups.backupdb/EB’s MacBook Air/2013-10-28-202628.inProgress/7503F996-8E27-4558-9308-15FC60270865 containing 4 KB; 31.85 GB now available, 75.13 GB required
    10/28/13 9:23:23.471 PM com.apple.backupd[758]: Deleted backup /Volumes/Time Machine Backups 1/Backups.backupdb/EB’s MacBook Air/2013-10-28-202628.inProgress/C424E6F6-EFBE-4154-A543-375E805E68C8 containing 8.3 MB; 31.86 GB now available, 75.13 GB required
    10/28/13 9:28:36.239 PM com.apple.backupd-helper[112]: Not starting scheduled Time Machine backup: Backup already running
    10/28/13 9:55:03.037 PM com.apple.backupd[758]: Error: Error Domain=NSOSStatusErrorDomain Code=-36 "The operation couldn’t be completed. (OSStatus error -36.)" (ioErr: I/O error (bummers)) deleting backup: /Volumes/Time Machine Backups 1/Backups.backupdb/EB’s MacBook Air/2013-10-28-202628.inProgress/C434BAEA-946E-4531-BA61-74DD5A34EFF2
    10/28/13 9:55:03.037 PM com.apple.backupd[758]: Deleted 3 backups containing 8.3 MB total; 31.86 GB now available, 75.13 GB required
    10/28/13 9:55:03.321 PM com.apple.backupd[758]: Error writing to backup log.  NSFileHandleOperationException:*** -[NSConcreteFileHandle writeData:]: Not a directory
    10/28/13 9:55:03.579 PM com.apple.backupd[758]: Error writing to backup log.  NSFileHandleOperationException:*** -[NSConcreteFileHandle writeData:]: Not a directory
    10/28/13 9:55:03.580 PM com.apple.backupd[758]: Error writing to backup log.  NSFileHandleOperationException:*** -[NSConcreteFileHandle writeData:]: Not a directory
    10/28/13 9:55:03.582 PM com.apple.backupd[758]: Error writing to backup log.  NSFileHandleOperationException:*** -[NSConcreteFileHandle writeData:]: Not a directory
    10/28/13 9:55:03.702 PM com.apple.backupd[758]: Backup canceled.
    10/28/13 9:55:11.830 PM com.apple.backupd[758]: [SnapshotUtilities mountPointForVolumeRef] FSGetVolumeInfo returned: -35
    10/28/13 9:55:11.831 PM com.apple.backupd[758]: Failed to eject volume (null) (FSVolumeRefNum: -110; status: -35; dissenting pid: 0)
    10/28/13 9:55:11.832 PM com.apple.backupd[758]: Failed to eject Time Machine disk image: /Volumes/edbern/EB’s MacBook Air.sparsebundle

    Alas, it spent the night fruitlessly.   I think I need to find a way to kill the existing backup or dismount the disk first.  Sorry I'm a bit thick about all this.
    10/29/13 12:39:06.822 AM com.apple.backupd[1628]: Starting automatic backup
    10/29/13 12:39:07.028 AM com.apple.backupd[1628]: Attempting to mount network destination URL: afp://edbern;AUTH=SRP@TC._afpovertcp._tcp.local/edbern
    10/29/13 12:39:07.995 AM com.apple.backupd[1628]: Mounted network destination at mount point: /Volumes/edbern-1 using URL: afp://edbern;AUTH=SRP@TC._afpovertcp._tcp.local/edbern
    10/29/13 12:39:11.397 AM com.apple.backupd[1628]: Disk image already attached: /Volumes/edbern-1/EB’s MacBook Air.sparsebundle, DIHLDiskImageAttach returned: 35
    10/29/13 12:39:12.969 AM com.apple.backupd[1628]: Failed to mount disk image: Error Domain=com.apple.backupd.ErrorDomain Code=31 "The operation couldn’t be completed. (com.apple.backupd.ErrorDomain error 31.)" UserInfo=0x7ffdc243f1c0 {MessageParameters=(
        "/Volumes/edbern-1/EB\U2019s MacBook Air.sparsebundle"
    10/29/13 12:39:13.059 AM com.apple.backupd[1628]: Ejected Time Machine network volume.
    10/29/13 12:39:13.060 AM com.apple.backupd[1628]: Waiting 60 seconds and trying again.
    10/29/13 12:40:24.403 AM com.apple.backupd[1628]: Attempting to mount network destination URL: afp://edbern;AUTH=SRP@TC._afpovertcp._tcp.local/edbern
    10/29/13 12:40:24.792 AM com.apple.backupd[1628]: Mounted network destination at mount point: /Volumes/edbern-1 using URL: afp://edbern;AUTH=SRP@TC._afpovertcp._tcp.local/edbern
    10/29/13 12:40:27.642 AM com.apple.backupd[1628]: Disk image already attached: /Volumes/edbern-1/EB’s MacBook Air.sparsebundle, DIHLDiskImageAttach returned: 35
    10/29/13 12:40:29.209 AM com.apple.backupd[1628]: Failed to mount disk image: Error Domain=com.apple.backupd.ErrorDomain Code=31 "The operation couldn’t be completed. (com.apple.backupd.ErrorDomain error 31.)" UserInfo=0x7ffdc27275c0 {MessageParameters=(
        "/Volumes/edbern-1/EB\U2019s MacBook Air.sparsebundle"
    10/29/13 12:40:29.324 AM com.apple.backupd[1628]: Ejected Time Machine network volume.
    10/29/13 12:40:29.325 AM com.apple.backupd[1628]: Waiting 60 seconds and trying again.
    10/29/13 12:41:40.533 AM com.apple.backupd[1628]: Attempting to mount network destination URL: afp://edbern;AUTH=SRP@TC._afpovertcp._tcp.local/edbern
    10/29/13 12:41:41.252 AM com.apple.backupd[1628]: Mounted network destination at mount point: /Volumes/edbern-1 using URL: afp://edbern;AUTH=SRP@TC._afpovertcp._tcp.local/edbern
    10/29/13 12:41:44.549 AM com.apple.backupd[1628]: Disk image already attached: /Volumes/edbern-1/EB’s MacBook Air.sparsebundle, DIHLDiskImageAttach returned: 35
    10/29/13 12:41:46.208 AM com.apple.backupd[1628]: Failed to mount disk image: Error Domain=com.apple.backupd.ErrorDomain Code=31 "The operation couldn’t be completed. (com.apple.backupd.ErrorDomain error 31.)" UserInfo=0x7ffdc26090d0 {MessageParameters=(
        "/Volumes/edbern-1/EB\U2019s MacBook Air.sparsebundle"
    10/29/13 12:41:46.309 AM com.apple.backupd[1628]: Ejected Time Machine network volume.
    10/29/13 12:41:46.310 AM com.apple.backupd[1628]: Giving up after 3 retries.
    10/29/13 12:41:46.350 AM com.apple.backupd[1628]: Backup failed with error 31: 31
    10/29/13 1:44:01.616 AM com.apple.backupd[1768]: Starting automatic backup
    10/29/13 1:44:01.649 AM com.apple.backupd[1768]: Attempting to mount network destination URL: afp://edbern;AUTH=SRP@TC._afpovertcp._tcp.local/edbern
    10/29/13 1:44:02.604 AM com.apple.backupd[1768]: Mounted network destination at mount point: /Volumes/edbern-1 using URL: afp://edbern;AUTH=SRP@TC._afpovertcp._tcp.local/edbern
    10/29/13 1:44:07.254 AM com.apple.backupd[1768]: Disk image already attached: /Volumes/edbern-1/EB’s MacBook Air.sparsebundle, DIHLDiskImageAttach returned: 35
    10/29/13 1:44:08.881 AM com.apple.backupd[1768]: Failed to mount disk image: Error Domain=com.apple.backupd.ErrorDomain Code=31 "The operation couldn’t be completed. (com.apple.backupd.ErrorDomain error 31.)" UserInfo=0x7f9af9531a70 {MessageParameters=(
        "/Volumes/edbern-1/EB\U2019s MacBook Air.sparsebundle"
    10/29/13 1:44:08.962 AM com.apple.backupd[1768]: Ejected Time Machine network volume.
    10/29/13 1:44:08.962 AM com.apple.backupd[1768]: Waiting 60 seconds and trying again.
    10/29/13 1:45:20.105 AM com.apple.backupd[1768]: Attempting to mount network destination URL: afp://edbern;AUTH=SRP@TC._afpovertcp._tcp.local/edbern
    10/29/13 1:45:20.536 AM com.apple.backupd[1768]: Mounted network destination at mount point: /Volumes/edbern-1 using URL: afp://edbern;AUTH=SRP@TC._afpovertcp._tcp.local/edbern
    10/29/13 1:45:23.526 AM com.apple.backupd[1768]: Disk image already attached: /Volumes/edbern-1/EB’s MacBook Air.sparsebundle, DIHLDiskImageAttach returned: 35
    10/29/13 1:45:25.145 AM com.apple.backupd[1768]: Failed to mount disk image: Error Domain=com.apple.backupd.ErrorDomain Code=31 "The operation couldn’t be completed. (com.apple.backupd.ErrorDomain error 31.)" UserInfo=0x7f9af97030e0 {MessageParameters=(
        "/Volumes/edbern-1/EB\U2019s MacBook Air.sparsebundle"
    10/29/13 1:45:25.280 AM com.apple.backupd[1768]: Ejected Time Machine network volume.
    10/29/13 1:45:25.280 AM com.apple.backupd[1768]: Waiting 60 seconds and trying again.
    10/29/13 1:46:36.511 AM com.apple.backupd[1768]: Attempting to mount network destination URL: afp://edbern;AUTH=SRP@TC._afpovertcp._tcp.local/edbern
    10/29/13 1:46:37.340 AM com.apple.backupd[1768]: Mounted network destination at mount point: /Volumes/edbern-1 using URL: afp://edbern;AUTH=SRP@TC._afpovertcp._tcp.local/edbern
    10/29/13 1:46:40.510 AM com.apple.backupd[1768]: Disk image already attached: /Volumes/edbern-1/EB’s MacBook Air.sparsebundle, DIHLDiskImageAttach returned: 35
    10/29/13 1:46:42.150 AM com.apple.backupd[1768]: Failed to mount disk image: Error Domain=com.apple.backupd.ErrorDomain Code=31 "The operation couldn’t be completed. (com.apple.backupd.ErrorDomain error 31.)" UserInfo=0x7f9af9608030 {MessageParameters=(
        "/Volumes/edbern-1/EB\U2019s MacBook Air.sparsebundle"
    10/29/13 1:46:42.195 AM com.apple.backupd[1768]: Ejected Time Machine network volume.
    10/29/13 1:46:42.195 AM com.apple.backupd[1768]: Giving up after 3 retries.
    10/29/13 1:46:42.198 AM com.apple.backupd[1768]: Backup failed with error 31: 31
    10/29/13 2:49:46.227 AM com.apple.backupd[1880]: Starting automatic backup
    10/29/13 2:49:46.301 AM com.apple.backupd[1880]: Attempting to mount network destination URL: afp://edbern;AUTH=SRP@TC._afpovertcp._tcp.local/edbern
    10/29/13 2:49:47.381 AM com.apple.backupd[1880]: Mounted network destination at mount point: /Volumes/edbern-1 using URL: afp://edbern;AUTH=SRP@TC._afpovertcp._tcp.local/edbern
    10/29/13 2:49:50.418 AM com.apple.backupd[1880]: Disk image already attached: /Volumes/edbern-1/EB’s MacBook Air.sparsebundle, DIHLDiskImageAttach returned: 35

  • How to delete old logs in ise

    When doing show logging ion ise i get logs from 2 years ago. I need to delete old logs entries.do have any idea?
    Sent from Cisco Technical Support iPad App

    Khaled,
    The show logging command through CLI will show you the logging of the ADE-OS, not the ISE Application.  This shows all logged entries from the installation of the ISE.  to see what other operations are available through the show logging command, type sh logging ?:
    To delete the local logs, you must log in through the WebGUI and navigate to Administration > System > Logging.  Click Local Log Settings in the left menu.  You can then set the duration to keep the logs and can even click on Delete Local Logs Now if you want to completely purge the local logs.  NOTE that this will only delete the logs local to the ISE and NOT on any remote logging server.
    ISE 1.1.x:
    ISE 1.2:
    Please Rate Helpful posts and mark this question as answered if, in fact, this does answer your question.  Otherwise, feel free to post follow-up questions.
    Charles Moreton

  • Taking tablespace offline through RMAN command line

    I am taking a Oracle 9i Backup and Recovery class. One of the hands-on assignments is to simulate a lost datafile. The instructions say to shut down the database through RMAN, delete the INDX01.dbf datafile through my operating system, mount the database, take the INDX tablespace offline, open the database, recover the INDX01.dbf datafile, and then place the INDX tablespace online again.
    My problem is that when I issue the command (in RMAN) to take the INDX tablespace offline (remember, database is mounted), I get an error saying the database is not open. The command I am issuing through RMAN is this: >sql 'ALTER TABLESPACE INDX OFFLINE IMMEDIATE'; I can't get any further because of the error message that my database is not open. Is my instruction book wrong in that I can't take the tablespace offline if the database is in a mounted state? Does the database have to be open to do this?

    4. Mount the database and take the tablespace corresponding to Indx01.dbf data file offline.There could be a misunderstanding about the command to be used. ALTER TABLESPACE command needs an open DB to work, but you can use
    RMAN> sql 'alter database datafile <file name or file number> offline drop';
    that will work with DB in mount state. See this example :
    RMAN> startup mount
    connected to target database (not started)
    Oracle instance started
    database mounted
    Total System Global Area     130023424 bytes
    Fixed Size                     1218100 bytes
    Variable Size                104860108 bytes
    Database Buffers              20971520 bytes
    Redo Buffers                   2973696 bytes
    RMAN> sql 'alter tablespace test offline immediate';
    sql statement: alter tablespace test offline immediate
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03009: failure of sql command on default channel at 05/21/2006 18:51:06
    RMAN-11003: failure during parse/execution of SQL statement: alter tablespace test offline immediate
    ORA-01109: database not open
    RMAN> sql 'alter database datafile 5 offline drop';
    sql statement: alter database datafile 5 offline drop
    RMAN> alter database open;
    database opened
    RMAN> restore datafile 5;
    Starting restore at 21-MAY-06
    allocated channel: ORA_DISK_1
    channel ORA_DISK_1: sid=145 devtype=DISK
    channel ORA_DISK_1: starting datafile backupset restore
    channel ORA_DISK_1: specifying datafile(s) to restore from backup set
    restoring datafile 00005 to
    channel ORA_DISK_1: restore complete, elapsed time: 00:00:08
    Finished restore at 21-MAY-06
    RMAN> recover datafile 5;
    Starting recover at 21-MAY-06
    using channel ORA_DISK_1
    starting media recovery
    media recovery complete, elapsed time: 00:00:01
    Finished recover at 21-MAY-06
    RMAN> sql 'alter database datafile 5 online';
    sql statement: alter database datafile 5 online
    RMAN>                                                                                                                                                                

Maybe you are looking for