Rman consolidated backup status report

Hi,
I am trying to write a script which collects the backup status report from all specified servers and all databases in each server. So if i run from one server, it should log on to all servers and get database reports.
I think, i need select from rman view's.....
sample output
"DB INCR 0" dbname_server Compl: 2010-12-04 12:56 Length: 0 hr Age: .77 days
"ARCHIVELOG" dbname_server Compl: 2010-12-05 03:04 Length: 0 hr Age: .18 days
Any help is apprecieated
Edited by: 812261 on Dec 8, 2010 12:44 PM

992762 wrote:
hi 812261,
I'm also in need of a similar report, can u pls share the script that you have(perl). this would be highly helpful for me.Did you notice that you were responding to a two year old thread?
Did you read Dan's comments regarding a catlog?
>
u can email that to <snip>
thanks,I've snipped out your email address in my reply. I suggest you do the same in your own post. That is unless you actually enjoy the offers to help move money out of Nigeria, and to purchase certain, umh, "enhancement" products. Putting your email address on a public forum does nothing but expose it to every spambot crawler on the planet.
Edited by: EdStevens on Mar 22, 2013 3:20 PM

Similar Messages

  • Required to take periodic backup status report from SQL server

    Dear All,
    I need to take periodic database backup status of all sql server instance in different domain. But, i am doing it by logging into all sql server manually.
    We can do it through option called ' Managed server' in sql server by connecting required server.
    But, I want to know the script and any other option in sql server to connect all sql instance in different domain group to take backup status report in single run.
    I need your help here and share the experience if you implemented ever in your environment.

    see
    http://www.mssqltips.com/sqlservertip/1601/script-to-retrieve-sql-server-database-backup-history-and-no-backups/
    You can use above scripts to capture the information
    For automated execution wrap it in a procedure with INSERT statement to dump the results onto a table and call the procedure from sql agent job to execute  it based on a predefined schedule.
    Please Mark This As Answer if it helps to solve the issue Visakh ---------------------------- http://visakhm.blogspot.com/ https://www.facebook.com/VmBlogs

  • Backup status reported incorrectly

    Using Windows SBS 2008, following recreating a partition (D:) which had reverted to RAW from NTFS, I needed to restore the last good backup, which appeared from the SBS Console/Server Backup Properties/Previous Backups to have successfully backed up drives
    C: and D:.  When moving to restore, I find that this backup was completed with warnings.  Expanding this line, it reports an error: "D: Incorrect function".  When I look back through the history of the connected backup drive,
    I find that it has only backed up the C: drive even though the backup configuration has always been set to back up both C: and D:.  As D: drive is the drive which holds all of the data, everything appears to be lost!  Is there any way to recover
    any of this data?

    Using Windows SBS 2008, following recreating a partition (D:) which had reverted to RAW from NTFS, I needed to restore the last good backup, which appeared from the SBS Console/Server Backup Properties/Previous Backups to have successfully backed up drives
    C: and D:.  When moving to restore, I find that this backup was completed with warnings.  Expanding this line, it reports an error: "D: Incorrect function".  When I look back through the history of the connected backup drive, I find that
    it has only backed up the C: drive even though the backup configuration has always been set to back up both C: and D:.  As D: drive is the drive which holds all of the data, everything appears to be lost!  Is there any way to recover any of this
    data?
    Why does SBS Console report backup as successful when it appears that it is NOT successful?

  • Status report time machine backup by e-mail

    Hello,
    i'm using Leopard server (workgroup mode) and want to know if there is a way to get a time machine backup status report by e-mail
    It's important for us to know every day if time machine was able to backup ok or if there are problems.
    thanks for suggestions
    Marco

    Although you can restore messages from a Time Machine snapshot within the Mail application, it generally won't work with messages that were saved by an older version of Mail. In that case, you have to use an alternative method.
    Triple-click the line below to select it:
    ~/Library/Mail/V2
    Right-click or control-click the highlighted line and select
    Services ▹ Reveal
    from the contextual menu.* A Finder window should open with a folder selected. Inside that folder are subfolders representing your Mail accounts. The names refer to the email addresses you use. Decide which ones you want to restore messages from.
    Enter Time Machine and scroll back to the snapshot you want. Select the account folders you want and then select  Restore ... to... from the action menu (gear icon) in the toolbar of the snapshot window. Restore the folders to the Desktop, not to their original location.
    From the Mail menu bar, select
    File ▹ Import Mailboxes...
    Import from the mailboxes in the folders you restored to the Desktop. The imported messages will appear in a new mailbox. Move the ones you want to keep wherever you like and delete the rest. Then delete the folders on the Desktop.
    *If you don't see the contextual menu item, copy the selected text to the Clipboard (command-C). In the Finder, select
    Go ▹ Go to Folder...
    from the menu bar, paste into the box that opens (command-V). You won't see what you pasted because a line break is included. Press return.

  • Consolidated backup report for Non-RMAN

    We need to prepare a consolidated backup report. need to customize it and produce a master list for production backup failures/ non prod backup failures
    wondering what's the options & how to do that ....

    Oracle maintains no information about User Managed Backups.
    The only things that you can get are the
    "ALTER TABLESPACE||DATABASE BEGIN BACKUP" and ".. END BACKUP"
    commands from the alert.log. You could write a script to parse the alert.log
    and find the start and end times for the BEGIN and END BACKUPs.

  • Methods to report backup status of CUCM

    Is there any methods out there that allows the reporting of CUCM backup status via DRS.  I want to report on backup status (eg the backup history page in DRS).  I can't see any way of getting this info out apart from scraping the DRS Web page.  Checked the data dictionary for any tables that might contain job history but nothing is too obvious atm.
    I realise you can get the system to email out job failures/issues but there seems to be no way to email status whether it be success or failure.
    Cheers
    Nathan

    Hello Agathe,
    Would you mind telling me how you are getting the SNMP trap notifications for DRS? I'm in the same situation would like to know if there is a MIB/OID which can be checked. I know you can send the syslog message under alarm->drs and send to a remote syslog server. But would much rather be able to via SNMP to alert on failures.

  • Rman - backups not reporting obsolete

    Hi,
    Please see below of our now cleaned up rman catalog:
    RMAN> list backup of database summary;
    List of Backups
    ===============
    Key TY LV S Device Type Completion Time #Pieces #Copies Compressed Tag
    1531 B 0 A DISK 20-APR-10 1 1 YES TAG20100420T172430
    1543 B F A DISK 15-AUG-11 1 1 NO TAG20110815T140126
    1549 B F A DISK 15-AUG-11 1 1 NO TAG20110815T144719
    1553 B F A DISK 15-AUG-11 1 1 NO TAG20110815T160724
    1557 B F A DISK 15-AUG-11 1 1 NO TAG20110815T170223
    RMAN> report obsolete;
    RMAN retention policy will be applied to the command
    RMAN retention policy is set to redundancy 1
    Based on the fact I see five backups of our current database (produced with "backup database") and we see "retention policy is set to redundancy 1", I would expect to see four backups reported, however the next line is:
    no obsolete backups found;
    Naturally, my scheduled "delete noprompt obsolete" never seems to remove anything. Any advise appreciated.

    Hi,
    Please post here the script that you use to perform this backup.
    Check if you are using KEEP UNTIL clause.
    DELETE OBSOLETE Behavior When KEEP UNTIL Time Expires
    If the KEEP UNTIL TIME period has not expired for an archival backup, RMAN does not consider the backup as obsolete. As soon as the KEEP UNTIL period expires, however, the backup is immediately considered to be obsolete, regardless of any configured backup retention policy. Thus, DELETE OBSOLETE deletes any backup created with BACKUP ... KEEP UNTIL TIME if the KEEP time has expired.
    http://download.oracle.com/docs/cd/E11882_01/backup.112/e10642/rcmmaint.htm#BRADV89640
    V$BACKUP_FILES
    KEEP- Indicates whether the backup has a retention policy different from the value for CONFIGURE RETENTION POLICY (YES) or not (NO)
    KEEP_UNTIL - If the KEEP UNTIL TIME clause of the BACKUP command was specified, then this column shows the date after which the backup becomes obsolete. If the column is null and KEEP_OPTIONS is not null, the backup never becomes obsolete.V$BACKUP_FILES displays information about all RMAN backups (both image copies and backup sets) and archived logs.
    http://download.oracle.com/docs/cd/E11882_01/server.112/e17110/dynviews_1057.htm#REFRN30022
    Regards,
    Levi Pereira
    Edited by: Levi Pereira on Aug 17, 2011 12:07 AM
    Edited by: Levi Pereira on Aug 17, 2011 12:11 AM - Add V$BACKUP_FILES

  • RMAN Backup Status in 9i

    friends!
    I am working on two different database versions (9i and 10g). Both databases backup are being taken through RMAN. Usually, i can find the backup status in 10g through sql command but same option is not found in 9i. I am using this command in 10g for backup status either its failed or success:
    SELECT JD.COMMAND_ID,JD.STATUS,JD.OUTPUT_DEVICE_TYPE,JD.START_TIME,JD.TIME_TAKEN_DISPLAY,JD.END_TIME--,JD.*
    FROM V$RMAN_BACKUP_JOB_DETAILS JD;
    How i can found the same information in 9i?
    Quick response will highly appreciate.
    regards
    Irfan Ahmad

    Irfan,
    Ok. Have you checked my earlier link which i provided. Since right now i do'nt any db but :
    You can query the following views:
    GV_$BACKUP_ASYNC_IO VIEW
    GV_$BACKUP_SYNC_IO VIEW
    V_$BACKUP_ASYNC_IO VIEW
    V_$BACKUP_SYNC_IO VIEW
    use v$session_longops;
    select round(sofar/totalwork,2) pct,
    sofar,
    totalwork,
    message
    from v$session_longops
    where totalwork !=0
    and sofar!=totalwork
    and opname like 'RMAN%'
    You can join or subquery v$session to make sure you only have active sessions queried.
    If rman fails, the longops table will still show the results but they won't progress, even after rman disconnects.
    select round(sofar/totalwork,2) pct,
    sofar,
    totalwork,
    message
    from v$session_longops
    where totalwork !=0
    and sofar!=totalwork
    and opname like 'RMAN%'
    and sid in (select sid from v$session where status = 'ACTIVE');
    Source:http://www.orafaq.com/usenet/comp.databases.oracle.server/2006/12/28/0894.htm
    Hope this help.
    Girish Sharma

  • Determinig backup status

    Hi all,
    Just a question with regards to RMAN. We call RMAN via a standard shell script, however, looking for advice on how to best determine if the backup was succesful or not.
    Is it enough to just check the exit status of RMAN, e.g. (simplified)
    rman target / @level0.rman
    if [ $? = 0 ]; then
    echo "Backup Succesful"
    else
    echo "Backup Failed"
    fi
    or is it advisable to, after the backup, check v$rman_status or similar to get a thorough picture of the backup status.
    Our RMAN script is similar to follows (note, not in a run statement)
    BACKUP INCREMENTAL LEVEL 0 DATABASE FILESPERSET 4
    PLUS ARCHIVELOG DELETE INPUT;
    sql 'ALTER DATABASE BACKUP CONTROLFILE TO TRACE';
    sql "CREATE PFILE=''/somedir/spfile.backup'' FROM SPFILE";
    sql "ALTER DATABASE BACKUP CONTROLFILE TO TRACE AS ''/somedir/controlfile.backup'' reuse";
    As it's not in a run, my concern is that, the BACKUP INCR. may fail, but if the following commands succeed, will RMAN return a 'good' exit code or 'error' exit code
    Thanks for your help.

    I have the same "simplified" exit code checking method setup as the original poster, but there are many errors that do not affect the overall status but are still reported as failure. For example, if one of the allocated channels fails during the backup, other channels pick up its workload and finish the backup, so the backup is valid, but my script reports failure anyway. Does anyone a good way to bypass those errors and report such backup run as success rather than failure?

  • RMAN LIST BACKUP COMMAND

    I am using the following commands.
    RMAN> sql "alter session set nls_date_format=''dd-mon-yyyy HH24:MI:SS''";
    2> report unrecoverable database;
    3> report need backup days 2 database;
    4> list backup;
    5> EXIT;
    BS Key Type LV Size Device Type Elapsed Time Completion Time------- ---- -- ---------- ----------- ------------ ---------------
    6249525 Full 68G SBT_TAPE 01:38:05 *25-OCT-2010*
    BP Key: 6249547 Status: AVAILABLE Tag: TAG20101025T040741
    Even after setting nls_date_format, completion time in list backup command is not returning exact time..it is returning just the date..
    how to get completion time in RMAN LIST BACKUP COMMAND with hour,minute and second details...please let me know
    I am using catalog database...target database version 9i and catalog db version is 10g.
    Thanks,
    db

    NLS_DATE_FORMAT at OS level
    I tied this export NLS_DATE_FORMAT=DD-MON-YYYY HH24:MI:SS is throwing error
    NLS_DATE_FORMAT=DD-MON-YYYY: is not an identifier, please tell me what i am missing?

  • Got error when creating a standby DB from rman:  no backup or copy... Why?

    We try to create standby database from a production DB on another server (10.2.0.4). The RMAN backup is in the nfs file system which is also mounted to the target server (the DR box). So, the access path for the rman backup is the same look from primary DB server and DR DB server. I started the RMAN run:
    RMAN> RUN
    2> {
    3> ALLOCATE AUXILIARY CHANNEL aux1 DEVICE TYPE DISK;
    4> ALLOCATE AUXILIARY CHANNEL aux2 DEVICE TYPE DISK;
    5> DUPLICATE TARGET DATABASE for standby
    6> nofilenamecheck
    7> dorecover;
    8> }
    9>
    10> exit
    using target database control file instead of recovery catalog
    allocated channel: aux1
    channel aux1: sid=582 devtype=DISK
    allocated channel: aux2
    channel aux2: sid=584 devtype=DISK
    Starting Duplicate Db at 21-JUN-12
    contents of Memory Script:
    set until scn 12198261770353;
    restore clone standby controlfile;
    sql clone 'alter database mount standby database';
    executing Memory Script
    executing command: SET until clause
    Starting restore at 21-JUN-12
    released channel: aux1
    released channel: aux2
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of Duplicate Db command at 06/21/2012 16:33:36
    RMAN-03015: error occurred in stored script Memory Script
    RMAN-06026: some targets not found - aborting restore
    RMAN-06024: no backup or copy of the control file found to restore
    ===========================================================================
    The backups should have controlfile. There is rman show all display:
    RMAN configuration parameters are:
    CONFIGURE RETENTION POLICY TO REDUNDANCY 1;
    CONFIGURE BACKUP OPTIMIZATION OFF;
    CONFIGURE DEFAULT DEVICE TYPE TO DISK;
    CONFIGURE CONTROLFILE AUTOBACKUP ON;
    CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK TO '/backup/inbound/online/controlfile_auto%F';
    CONFIGURE DEVICE TYPE DISK PARALLELISM 1 BACKUP TYPE TO BACKUPSET;
    CONFIGURE DATAFILE BACKUP COPIES FOR DEVICE TYPE DISK TO 1;
    CONFIGURE ARCHIVELOG BACKUP COPIES FOR DEVICE TYPE DISK TO 1;
    CONFIGURE CHANNEL 1 DEVICE TYPE DISK FORMAT '/backup/inbound/online/%d_%T_%t_%s';
    CONFIGURE MAXSETSIZE TO UNLIMITED;
    CONFIGURE ENCRYPTION FOR DATABASE OFF;
    CONFIGURE ENCRYPTION ALGORITHM 'AES128';
    CONFIGURE ARCHIVELOG DELETION POLICY TO NONE;
    CONFIGURE SNAPSHOT CONTROLFILE NAME TO '/backup/inbound/online/snapcf_inbound.f';
    Why and how to fix? Thanks for help!

    Here is the list of command:
    RMAN> list backup of controlfile ;
    List of Backup Sets
    ===================
    BS Key Type LV Size Device Type Elapsed Time Completion Time
    5518 Full 4.57M DISK 00:00:07 17-JUN-12
    BP Key: 5518 Status: AVAILABLE Compressed: NO Tag: TAG20120617T035926
    Piece Name: /backup/inbound/online/controlfile_autoc-2080040856-20120617-00
    Control File Included: Ckp SCN: 12197994840698 Ckp time: 17-JUN-12
    BS Key Type LV Size Device Type Elapsed Time Completion Time
    5522 Full 4.57M DISK 00:00:00 18-JUN-12
    BP Key: 5522 Status: AVAILABLE Compressed: NO Tag: TAG20120618T010158
    Piece Name: /backup/inbound/online/controlfile_autoc-2080040856-20120618-00
    Control File Included: Ckp SCN: 12198041382572 Ckp time: 18-JUN-12
    BS Key Type LV Size Device Type Elapsed Time Completion Time
    5526 Full 4.57M DISK 00:00:01 19-JUN-12
    BP Key: 5526 Status: AVAILABLE Compressed: NO Tag: TAG20120619T010352
    Piece Name: /backup/inbound/online/controlfile_autoc-2080040856-20120619-00
    Control File Included: Ckp SCN: 12198090424606 Ckp time: 19-JUN-12
    BS Key Type LV Size Device Type Elapsed Time Completion Time
    5530 Full 4.57M DISK 00:00:02 20-JUN-12
    BP Key: 5530 Status: AVAILABLE Compressed: NO Tag: TAG20120620T010304
    Piece Name: /backup/inbound/online/controlfile_autoc-2080040856-20120620-00
    Control File Included: Ckp SCN: 12198146424201 Ckp time: 20-JUN-12
    BS Key Type LV Size Device Type Elapsed Time Completion Time
    5534 Full 4.57M DISK 00:00:02 21-JUN-12
    BP Key: 5534 Status: AVAILABLE Compressed: NO Tag: TAG20120621T010357
    Piece Name: /backup/inbound/online/controlfile_autoc-2080040856-20120621-00
    Control File Included: Ckp SCN: 12198210334547 Ckp time: 21-JUN-12
    ==================================================================
    I tried to catalog the controlfile:
    RMAN> catalog controlfilecopy '/backup/inbound/online/controlfile_autoc-2080040856-20120621-00';
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03009: failure of catalog command on default channel at 06/21/2012 17:24:32
    ORA-19563: control file header validation failed for file /backup/inbound/online/controlfile_autoc-2080040856-20120621-00
    ====================================================================
    We have level 1 backup everyday, except Sunday. I have level 0 backup on Sunday. I alos tried the metalink note RMAN Duplicate For Standby Fails with Rman-06024: No Backup Or Copy Of The Control File Found To Restore [ID 466321.1]. It does not work.
    Thanks for help!

  • 11g RMAN UNDO backup optimization

    Hi all?
    I have tested 11g RMAN UNDO backup optimization
    1st I fill the undo tablespace by sql manipulations and not commiting
    2nd backed undo_ts up by RMAN (size 24m)
    3rd I made a commit
    Then backed undo tablespace again but backup_size didn’t change     (24m)
    Then I made some more manipulations and backed undo_ts again. This time backup_size reduced. (11m)
    Then I restarted db and backed up undo_ts again. This time backup size became what I expected (600K)
    The question is why 11g rman undo tablespace backup size didn’t reduce after commit?
    according to 11g undo optimization it had to
    SQL> select sum(bytes) from dba_free_space where tablespace_name = 'UNDOTBS2';
    SUM(BYTES)
    13172736
    SQL> begin
    for i in 1..100000 loop
    insert into testundo values(i);
    end loop;
    end;
    2 3 4 5 6
    PL/SQL procedure successfully completed.
    SQL> SQL> update testundo set
    id=2 where id>0;
    2
    update testundo set
    ERROR at line 1:
    ORA-30036: unable to extend segment by 8 in undo tablespace 'UNDOTBS2'
    SQL> select sum(bytes) from dba_free_space where tablespace_name = 'UNDOTBS2';
    SUM(BYTES)RMAN> backup datafile 6;
    RMAN> list backup of datafile 6;
    List of Backup Sets
    ===================
    BS Key Type LV Size Device Type Elapsed Time Completion Time
    10 Full *24.54M* DISK 00:00:04 10-JUN-10
    BP Key: 10 Status: AVAILABLE Compressed: NO Tag: TAG20100610T142437
    Piece Name: /home/oracle/flash_recovery_area/11GR1/backupset/2010_06_10/o1_mf_nnndf_TAG20100610T142437_611ctr1f_.bkp
    List of Datafiles in backup set 10
    File LV Type Ckp SCN Ckp Time Name
    6 Full 577669 10-JUN-10 /home/oracle/oradata/11GR1/datafile/undotbs2.dbf
    SQL> commit;
    Commit complete.RMAN> backup datafile 6 format 'after commit.backup';
    RMAN> list backup of datafile 6;
    List of Backup Sets
    ===================
    BS Key Type LV Size Device Type Elapsed Time Completion Time
    11 Full *24.54M* DISK 00:00:02 10-JUN-10
    BP Key: 11 Status: AVAILABLE Compressed: NO Tag: TAG20100610T142541
    Piece Name: /home/oracle/product/11/Db_1/dbs/after commit.backup
    List of Datafiles in backup set 11
    File LV Type Ckp SCN Ckp Time Name
    6 Full 577705 10-JUN-10 /home/oracle/oradata/11GR1/datafile/undotbs2.dbf
    SQL> alter system archive log current;
    System altered.
    SQL> commit;
    Commit complete.
    SQL> select count(*) from testundo;
    COUNT(*)
    100000
    SQL> delete from testundo;
    100000 rows deleted.
    SQL> commit;
    Commit complete.
    SQL> insert into testundo values(1);
    1 row created.
    SQL> commit;
    Commit complete.
    SQL> alter system flush buffer_cache;
    System altered.RMAN> backup datafile 6;
    RMAN> list backup of datafile 6;
    List of Backup Sets
    ===================
    BS Key Type LV Size Device Type Elapsed Time Completion Time
    13 Full *11.03M* DISK 00:00:01 10-JUN-10
    BP Key: 13 Status: AVAILABLE Compressed: NO Tag: TAG20100610T143359
    Piece Name: /home/oracle/flash_recovery_area/11GR1/backupset/2010_06_10/o1_mf_nnndf_TAG20100610T143359_611dd8sz_.bkp
    List of Datafiles in backup set 13
    File LV Type Ckp SCN Ckp Time Name
    6 Full 578410 10-JUN-10 /home/oracle/oradata/11GR1/datafile/undotbs2.dbf
    RMAN>
    SQL> shutdown immediate;
    Database closed.
    Database dismounted.
    ORACLE instance shut down.
    SQL> startup
    ORACLE instance started.
    Total System Global Area 393375744 bytes
    Fixed Size 1300156 bytes
    Variable Size 352323908 bytes
    Database Buffers 33554432 bytes
    Redo Buffers 6197248 bytes
    Database mounted.
    Database opened.
    SQL> RMAN> backup datafile 6;
    RMAN> list backup of datafile 6;
    List of Backup Sets
    ===================
    BS Key Type LV Size Device Type Elapsed Time Completion Time
    14 Full *600.00K* DISK 00:00:02 10-JUN-10
    BP Key: 14 Status: AVAILABLE Compressed: NO Tag: TAG20100610T152843
    Piece Name: /home/oracle/flash_recovery_area/11GR1/backupset/2010_06_10/o1_mf_nnndf_TAG20100610T152843_611hlwmv_.bkp
    List of Datafiles in backup set 14
    File LV Type Ckp SCN Ckp Time Name
    6 Full 580347 10-JUN-10 /home/oracle/oradata/11GR1/datafile/undotbs2.dbf
    Thanks in advance
    Turkel

    Hi Turkel,
    The space used for undo is also related to the undo retention setting.
    As it seems you do a test update and proceed with backups on:
    - 14:24:37 (-> 25M)
    - 14:25:41 (-> 25M)
    - 14:33:59 (-> 11M)
    - 15:28:43 (-> 600K)
    The first two backups probably are still within the undo retention period for the update.
    The third backup shows a partly empty undo (is your setting 900?).
    The last falls outside the retention period for the update resulting in the small backup size.
    Regards,
    Tycho

  • ACS 5.4 backup status in syslog

    Have raised a TAC for this but thought I'd post here too.
    We are running ACS v5.4 Patch 1.
    We have noticed that ACS will not produce syslog messages about scheduled backups (success or failure)
    (1)    From the GUI, under “System Administration >  Configuration >  Log Configuration >  Remote Log Targets”, we have configured a remote syslog host. 
    (2)    Then, each logging category under “System Administration > Configuration >  Log Configuration >  Logging Categories >  Global”, we have configured everything to log to the remote target.
    (3)    However, no messages regarding successful or failed backups ever arrive via syslog.
    Backup status can be checked by running “show backup history” from the CLI. 
    However, syslog communication between ACSView and ACS show backup status OK.
    You can find backup information in ACS View under:
    Monitoring & Reports >  Reports >  Catalog >  ACS Instance > ACS Operations Audit
    We have one quite simple requirement – that ACS produces syslog messages stating backup success and failure.  This will drive our alarm system.
    Has anyone else got this to work?
    Pretty simple request - backup success/failure in syslog messages!
    Forcing the output of ade.log to syslog would also do it.  Would rather not hack around under the covers with root patch though.
    Cheers!

    Hi Rob,
    I was going through your requirement and that seems to be an important notification. If we look at the ACS 5.4 guide > under logging categories. It does talk about ACS operational changes—Logs all operations  requested by administrators, including promoting an ACS from your  deployment as the primary, requesting a full replication, performing  software downloads, doing a backup or restore, generating and restoring  PACs, and so on.
    Administrative and operational audit log messages are always sent to the  local store, and you can also send them to remote syslog server and  Monitoring and Reports server targets.
    Log messages are sent to the local store with this syslog message format:
    time stamp sequence_num msg_code msg_sev msg_class msg_text attr=value
    Log target and logging categories.
    http://www.cisco.com/en/US/docs/net_mgmt/cisco_secure_access_control_system/5.4/user/guide/logging.html#wp1052656
    Since you've configured ACS logging categories to log everything. It should work fine. Can you see the same message success or failure under local store logs of ACS. If we can see it there it means ACS is sending it, after that we can check in the log forwarder file and run the packet capture on the syslog server.
    ~BR
    Jatin Katyal
    **Do rate helpful posts**

  • Feature requests: Quotas & status reports

    I just sent the following feedback to Apple:
    "Beside the highly missed backup to AirDisks I would appreciate two additional features in TimeMachine: (1.) I'd like to set a quota for the backup set as I don't want it to fill up the device completely (2.) It would be great to have a daily status report (e. g. by mail) about the performed backups, their size, the oldest backup and available diskspace. I've got three Macs in my family using TM and I'd like to control the backup without logging into every machine."
    Anyone to second this?
    Mattes

    Ricktoronto wrote:
    If you have a say 500GB drive and you want to limit say 300 GB to TM, you make a 300GB partition on that drive and tell TM that partition is its drive.
    Thanks for this advice, I was aware of this possibility, but with three Macs backing up to the same USB device, I do not want to hold a partition for every client. Another tweak is to limit the size of the sparse images with "hdiutil", but why not implement this option in the product itself ... ?
    Mattes

  • Rman hot backup script  gives error in R12.

    hi experts
    i m facing following prob when run the backup script. 1 day before the same script runs correctily but now  it gives me error at the allocatioion of channel rest of command run correctly.
    [root@testerp rman_log]# cat UAT_daily_rman_hot_bkp_01-11-14_140301.log
    -bash: /root/.bash_profile: Permission denied
    Recovery Manager: Release 11.1.0.7.0 - Production on Sat Jan 11 14:03:01 2014
    Copyright (c) 1982, 2007, Oracle.  All rights reserved.
    connected to target database: UAT (DBID=2855851979)
    connected to recovery catalog database
    RMAN> 2> 3> 4> 5> 6> 7> 8> 9> 10> 11> 12>
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-00558: error encountered while parsing input commands
    RMAN-01009: syntax error: found "end-of-file": expecting one of: "allocate, alter, advise, backup, beginline, blockrecover, catalog, change, copy, convert, crosscheck, configure, duplicate, debug, delete, execute, endinline, flashback, host, mount, open, plsql, recover, release, replicate, report, restore, resync, repair, }, set, setlimit, sql, switch, startup, shutdown, send, show, transport, validate"
    RMAN-01007: at line 12 column 1 file: standard input
    RMAN>
    RMAN>
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-00558: error encountered while parsing input commands
    RMAN-01009: syntax error: found "identifier": expecting one of: "for"
    RMAN-01008: the bad identifier was: c2
    RMAN-01007: at line 1 column 18 file: standard input
    RMAN>
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-00558: error encountered while parsing input commands
    RMAN-01009: syntax error: found "identifier": expecting one of: "for"
    RMAN-01008: the bad identifier was: c3
    RMAN-01007: at line 1 column 18 file: standard input
    RMAN>
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-00558: error encountered while parsing input commands
    RMAN-01009: syntax error: found "identifier": expecting one of: "for"
    RMAN-01008: the bad identifier was: c4
    RMAN-01007: at line 1 column 18 file: standard input
    RMAN>
    Starting backup at 11-JAN-14
    allocated channel: ORA_DISK_1
    channel ORA_DISK_1: SID=362 device type=DISK
    channel ORA_DISK_1: starting incremental level 1 datafile backup set
    channel ORA_DISK_1: specifying datafile(s) in backup set
    input datafile file number=00021 name=/d06/UAT/proddata/a_txn_data06.dbf
    input datafile file number=00392 name=/d06/UAT/db/apps_st/data/a_txn_data01.dbf
    input datafile file number=00401 name=/d06/UAT/db/apps_st/data/a_txn_data02.dbf
    input datafile file number=00402 name=/d06/UAT/db/apps_st/data/a_txn_data03.dbf
    input datafile file number=00022 name=/d06/UAT/proddata/a_txn_data07.dbf
    input datafile file number=00014 name=/d06/UAT/db/apps_st/data/a_txn_data04.dbf
    input datafile file number=00020 name=/d06/UAT/proddata/a_txn_data05.dbf
    input datafile file number=00011 name=/d06/UAT/db/apps_st/data/sysaux01.dbf
    input datafile file number=00018 name=/d06/UAT/db/apps_st/data/sysaux02.dbf
    input datafile file number=00023 name=/d06/UAT/proddata/a_txn_data08.dbf
    input datafile file number=00379 name=/d06/UAT/db/apps_st/data/undo01.dbf
    input datafile file number=00024 name=/d06/UAT/proddata/sysaux03.dbf
    input datafile file number=00025 name=/d06/UAT/proddata/sysaux04.dbf
    input datafile file number=00033 name=/d06/UAT/proddata/a_txn_ind11.dbf
    input datafile file number=00029 name=/d06/UAT/proddata/a_txn_ind09.dbf
    input datafile file number=00030 name=/d06/UAT/proddata/a_txn_ind10.dbf
    input datafile file number=00015 name=/d06/UAT/db/apps_st/data/a_txn_ind06.dbf
    input datafile file number=00026 name=/d06/UAT/db/apps_st/data/a_txn_ind07.dbf
    input datafile file number=00028 name=/d06/UAT/db/apps_st/data/a_txn_ind08.dbf
    input datafile file number=00393 name=/d06/UAT/db/apps_st/data/a_txn_ind01.dbf
    input datafile file number=00403 name=/d06/UAT/db/apps_st/data/a_txn_ind02.dbf
    input datafile file number=00404 name=/d06/UAT/db/apps_st/data/a_txn_ind03.dbf
    input datafile file number=00405 name=/d06/UAT/db/apps_st/data/a_txn_ind04.dbf
    input datafile file number=00406 name=/d06/UAT/db/apps_st/data/a_txn_ind05.dbf
    input datafile file number=00400 name=/d06/UAT/db/apps_st/data/a_media01.dbf
    input datafile file number=00353 name=/d06/UAT/db/apps_st/data/system08.dbf
    input datafile file number=00013 name=/d06/UAT/db/apps_st/data/system12.dbf
    input datafile file number=00352 name=/d06/UAT/db/apps_st/data/system09.dbf
    input datafile file number=00394 name=/d06/UAT/db/apps_st/data/a_ref01.dbf
    input datafile file number=00407 name=/d06/UAT/db/apps_st/data/a_ref02.dbf
    input datafile file number=00396 name=/d06/UAT/db/apps_st/data/a_summ01.dbf
    input datafile file number=00395 name=/d06/UAT/db/apps_st/data/a_int01.dbf
    input datafile file number=00008 name=/d06/UAT/db/apps_st/data/a_queue02.dbf
    input datafile file number=00027 name=/d06/UAT/db/apps_st/data/a_queue03.dbf
    input datafile file number=00031 name=/d06/UAT/db/apps_st/data/a_queue04.dbf
    input datafile file number=00399 name=/d06/UAT/db/apps_st/data/a_queue01.dbf
    input datafile file number=00001 name=/d06/UAT/db/apps_st/data/system01.dbf
    input datafile file number=00002 name=/d06/UAT/db/apps_st/data/system02.dbf
    input datafile file number=00003 name=/d06/UAT/db/apps_st/data/system03.dbf
    input datafile file number=00004 name=/d06/UAT/db/apps_st/data/system04.dbf
    input datafile file number=00005 name=/d06/UAT/db/apps_st/data/system05.dbf
    input datafile file number=00398 name=/d06/UAT/db/apps_st/data/a_archive01.dbf
    input datafile file number=00295 name=/d06/UAT/db/apps_st/data/system06.dbf
    input datafile file number=00351 name=/d06/UAT/db/apps_st/data/system07.dbf
    input datafile file number=00354 name=/d06/UAT/db/apps_st/data/system11.dbf
    input datafile file number=00288 name=/d06/UAT/db/apps_st/data/system10.dbf
    input datafile file number=00012 name=/d06/UAT/db/apps_st/data/apps_ts_tools01.dbf
    input datafile file number=00016 name=/d06/UAT/db/apps_st/data/a_ref03.dbf
    input datafile file number=00019 name=/d06/UAT/db/apps_st/data/MLSEIGL01.dbf
    input datafile file number=00032 name=/d06/UAT/db/apps_st/data/RMAN01.dbf
    input datafile file number=00397 name=/d06/UAT/db/apps_st/data/a_nolog01.dbf
    input datafile file number=00314 name=/d06/UAT/db/apps_st/data/portal01.dbf
    input datafile file number=00017 name=/d06/UAT/db/apps_st/data/a_int02.dbf
    input datafile file number=00006 name=/d06/UAT/db/apps_st/data/ctxd01.dbf
    input datafile file number=00010 name=/d06/UAT/db/apps_st/data/olap.dbf
    input datafile file number=00009 name=/d06/UAT/db/apps_st/data/odm.dbf
    input datafile file number=00007 name=/d06/UAT/db/apps_st/data/owad01.dbf
    channel ORA_DISK_1: starting piece 1 at 11-JAN-14
    [root@testerp rman_log]#
    backup script is below:
    in this script it returns error only at the channel allocaition rest of all backup command i run manually or with scirpt it runs correctly.4
    i m not able to know why it returns error only at challnel allocation 1 day before it runs correctly.
    [orauat@testerp rman_script]$ cat rman_backup.sh
    #!/bin/sh
    #ORACLE_SID=UAT
    #BACKUP_START_TIME='date +"%y""%m""%d"_"%H""%M""%S"'
    #ORACLE_HOME=/d06/UAT/db/tech_st/11.1.0
    #PATH=$PATH:${ORACLE_HOME}:${ORACLE_HOME}/bin
    #export ORACLE_SID
    #export ORACLE_HOME
    #export PATH
    /d06/UAT/db/tech_st/11.1.0/bin/rman catalog rman/rman007 target sys/sysuat <<EOF
    run
    allocate channel c1 device type disk format '/d06/UAT/rman_hot_backup/Daily_backup%d_Arch_%c_%U';
    sql 'alter system switch logfile';
    sql 'alter system switch logfile';
    sql 'alter system archive log current';
    delete expired archivelog all;
    crosscheck archivelog all;
    backup archivelog all;
    delete noprompt archivelog all completed before 'sysdate-4' backed up 1 times to disk;
    allocate channel c2 device type disk format '/d06/UAT/rman_hot_backup/Daily_backup%d_DB_%c_%U';
    allocate channel c3 device type disk format '/d06/UAT/rman_hot_backup/Daily_backup%d_DB_%c_%U';
    allocate channel c4 device type disk format '/d06/UAT/rman_hot_backup/Daily_backup%d_DB_%c_%U';
    backup incremental level 1 database;
    delete expired backup device type disk;
    delete obsolete device type disk;
    release channel c1;
    release channel c2;
    release channel c3;
    release channel c4;
    exit
    EOF
    regards
    pritesh ranjan

    yes the script is edited
    i have add some command line and edit it for take the full backup level=0 on the same directory with different formant name but location is same.
    can i take full backup level 0 and incremental backup level 1 in the same directory with the different format name.
    for exp:
    allocate channel c2 device type disk format '/d06/UAT/rman_hot_backup/Daily_backup%d_DB_%c_%U';
    allocate channel c3 device type disk format '/d06/UAT/rman_hot_backup/Daily_backup%d_DB_%c_%U';
    allocate channel c4 device type disk format '/d06/UAT/rman_hot_backup/Daily_backup%d_DB_%c_%U';
    i allocate these three channel for incremental level 1 backup;
    the backup is done successfully without any error.
    after that i have change
    allocate channel c2 device type disk format '/d06/UAT/rman_hot_backup/Weekly_backup%d_DB_%c_%U';
    allocate channel c3 device type disk format '/d06/UAT/rman_hot_backup/Weekly_backup%d_DB_%c_%U';
    allocate channel c4 device type disk format '/d06/UAT/rman_hot_backup/Weekly_backup%d_DB_%c_%U';
    backup  database incremental level 0
    after doing the above changes it get the error. with the channel location.
    i have to schedule daily incremental backup level 1 and weekly full backup level 0.
    plz suggest me i have to take incremental 1 and full incremental level 0 backup on seperate directory for different format name.
    regards
    pritesh ranjan

Maybe you are looking for

  • How do i use Arrays and For Loops in Loading Multiple Images?

    I am struggling to load a sequential array of images to appear like a moving image. So when u click the button the images load one after the other. The code below is what i have so far, but it fails to do what i seek in that there's only one image lo

  • Having trouble with Google 2 factor authentication and Mac Calendar

    Hello!  I recently started using Google 2-factor authentication on my Google Apps (Pro) account, and have successfully configured my gmail settings in OS X Mail so that inbound/outbound work correctly.  Here's where the problem is:  OS X uses a singl

  • IPhoto on Time Capsule won't open

    When I am connected to my network at home (Time Capsule) and try to open iPhoto it freezes, I get the spinning wheel of death and have to force quit. It does not happen when connected to other networks. Anyone else having this issue. I have been to A

  • Help Needed: XML Attributes based style mapping!

    Hello all, I am new in this Group. I've reviewed the contents which posted earlier. It is pretty good. I need a help from this script forum regarding on mapping the attribute based style mapping. like: <emphasis style="italic">Text</emphasis> to be m

  • Cannot find the option rental movies on apple tv

    Is there anyboby who had a similar situation, I was first left whith the problem of connecting to my Itune library (that is resolve now) but I lost the ability to see the rentals movies on apple tv (was working find yesterday) I only have access to S