How to verify RMAN backup ?

How to verify and validate the RMAN backups on daily basis?One more doubt at this point - if we can't locate any RMAN script in crontab(crontab -l) but still backup is occuring regularly, how can we see the script behind this?
Thanks in advance.
Edited by: 916438 on May 27, 2012 8:47 PM

916438 wrote:
How to verify and validate the RMAN backups on daily basis?One more doubt at this point - if we can't locate any RMAN script in crontab(crontab -l) but still backup is occuring regularly, how can we see the script behind this?
What you want see? If backup was executed without error or make sure that there is a valid backup on tape or disk.
So, If you want see if backup was executed successfull you must find the logs of backup or query "V$RMAN_OUTPUT" (check it on documentation).
If you want check if Database is Valid on Disk or TAPE as mentioned previously "RESTORE VALIDATE DATABASE" (check it on documentation).
Where we can locate RMAN SCRIPT? It's hard to answer.
It' your env, you should find out. The options are: Crontab / Oracle Enteprise Manager / Third-Party Backup Software / Job Scheduler.
Also you can try : Take a time of backup was executed and check on shell a time of exection of backup " ps -ef |grep rman" you will find from where script was started.
Regards,
Levi Pereira

Similar Messages

  • How to stop RMAN backup in solaris platform.

    Dear All;
    How to stop RMAN backup in solaris platform.
    Ranjan

    788442 wrote:
    How to stop RMAN backup from oracle end.
    To stop Rman backup you have to identify rman session as below
    select * from v$session
    where MODULE like 'rman%'or you can use v$rman_status identify sid and serial then kill this session as
    alter system kill session '<sid>,<serial>' immediate;

  • How to get RMAN backup logfile.

    Hi All,
    Can u tell me How to get RMAN backup logfile after completion of the backup.

    SQL> desc v$rman_output
    Name                            Null?    Type
    SID                                  NUMBER
    RECID                                  NUMBER
    STAMP                                  NUMBER
    SESSION_RECID                             NUMBER
    SESSION_STAMP                             NUMBER
    OUTPUT                              VARCHAR2(130)
    RMAN_STATUS_RECID                        NUMBER
    RMAN_STATUS_STAMP                        NUMBER
    SESSION_KEY                             NUMBERIt works for me

  • How to identify rman backup level?

    Hi,
    I am using rman catalog for rman backup. how to identify rman backup level from catalog.
    Thanks,

    By doing the obvious and consulting the online documentation at http://tahiti.oracle.com
    You will notice the list backup command output has a level column and this is also present in rc_backupset and/or rc_backuppiece.
    Sybrand Bakker
    Senior Oracle DBA

  • How to check RMAN backup report or log

    Hi Guys,
    I have RMAN schduled to backup my database daily.
    Please what are the steps to check the report of the backup to see what was actually backed up and if it backup up ok
    Thanks

    Use "LIST BACKUP" to display information about backup sets, proxy copies, and image copies. With LIST command you can list the following:
    - Backups and copies that do not have the status AVAILABLE in the RMAN repository
    - Backups and copies of datafiles that are available and can possibly be used in a restore operation
    - Specified archived logs, backup sets, backup pieces, control file copies, datafile copies, and proxy copies
    - Backups and copies restricted by tag, completion time, recoverability, or device
    - Incarnations of a specified database or of all databases known to the repository
    - Stored scripts in the recovery catalog
    Examples on how to use LIST command are listed below:
    RMAN> LIST BACKUP;
    RMAN> LIST EXPIRED BACKUP;
    RMAN> LIST BACKUP OF DATABASE;
    RMAN> LIST BACKUP SUMMARY;
    RMAN> LIST BACKUP BY FILE;
    RMAN> LIST ARCHIVELOG ALL;
    RMAN> LIST COPY OF DATABASE ARCHIVELOG ALL;
    RMAN> LIST COPY OF DATAFILE 1, 2, 3;
    RMAN> LIST BACKUP OF ARCHIVELOG FROM SEQUENCE 1437;
    RMAN> LIST BACKUPSET OF DATAFILE 1;You can use the VALIDATE keyword of the BACKUP command to do the following:
    - Check datafiles for physical and logical corruption
    - Confirm that all database files exist and are in the correct locations
    For example, you can validate that all database files and archived redo logs can be backed up by running a command as follows:
    RMAN> BACKUP VALIDATE DATABASE ARCHIVELOG ALL;I suggest you read Oracle® Database Backup and Recovery Manuals:
    http://www.oracle.com/pls/db102/portal.portal_db?selected=3

  • How to move rman backups on tap from disk

    Hi,
    I have rman backup files on the disk, now how we can move these files to tap. is there any rman command or is there any script to move.
    Thank you!

    Do you use FRA (Flash recovery area)?
    If you use FRA then configure RMAN to take backup to tape. And backup fra to tape.
    RUN
    ALLOCATE CHANNEL ch0 TYPE ‘SBT_TAPE’;
    BACKUP RECOVERY AREA;
    RELEASE CHANNEL ch0;
    If you don't use FRA then you can backup your backupsets which are on the disk to tape.
    RMAN> BACKUP DEVICE TYPE SBT BACKUPSET ALL;
    Talip Hakan Ozturk
    http://taliphakanozturken.wordpress.com/

  • How to distribute RMAN backup among tape volumes in OSB

    Hi Guys,
    I would like to ask some information about OSB. I have finally set up our Oracle Secure Backup 10.3.0.3.0 and initial OSB backup to tape is good using our test environment.
    Now, our production servers has the following details:
    Serv01
    - Oracle Database 11.1.0.7
    - Windows Server 2003 R2
    - Current RMAN backup to disk full (level 0) is at 2TB.
    Serv02
    - this is our media server for OSB and we manage from here all other servers that we would like OSB to be implemented.
    -Windows Server 2003 R2
    - We have IBM tape library here with four drives
    - Our tape volumes are 480GB each (compressed) we about 50 of them.
    -Each tape volume has barcodes and our library has barcode reader
    How can I group certain tapes (as a media family?) and use them for our level 0 backup. As you know, one tape cannot hold our level 0 backup so we need at least 5 tape volumes to hold our level 0 backup. Is there a step by step process of doing this? Or does anyone know how to do this?
    Thanks and I would really appreciate your thoughts about this.

    Yes, media families (like tape pools) are used to group backups on tape. Using a database backup storage selector, you set-up media policy so OSB will automatically select appropriate storage when for the backup per your settings. You may want to refer to this white paper which discusses media management:
    http://www.oracle.com/technetwork/database/secure-backup/learnmore/osb-103-twp-166804.pdf
    Donna

  • How to schedule RMAN backup

    Hi experts,
    I need to schedule automated RMAN backups in 10G(RMAN database) and i need to include the support for Oracle 8i, 9i and 10g database backups.
    Any type of suggestions are welcome.
    Thanx in Advance,
    Senthil

    Hi,
    Where do you want to backup to? Do you want to backup to disk or to tape drive? Many of the tape drive softwares does have the capability of scheduling the jobs. If you want to backup to disk, then you can use your OS scheduling features.
    Before all of that, you will need to write and test indivudual scripts to backup and restore.
    HTH
    Regards,
    Badri.

  • How to control RMAN backup of archive logs in FRA

    Setup:
    11.2.0.2 GI
    ASM Diskgroup for Fast Recovery Area
    10.2.0.4 Enterprise Database
    Without Catalog Database
    To get familiar with Flashback Database we set up RMAN Backups
    without deleting the archive logs,
    as published in Oracle10g / 11g - Getting Started with Recovery Manager (RMAN) (Doc ID 360416.1)
    "These deletions are managed by Oracle when space is required."
    We observed that RMAN takes backups of all archive logs every time,
    here we go with backing up archive logs every 30 minutes.
    So the question is:
    Is this (backing up all archive logs every time) the expected behavior or
    the result of not using a catalog database or
    any other mismatch?
    thanx for any hint
    Michael

    Hi Michael,
    In Note 360416.1 it refers to two archivelog backup commands.
    BACKUP ARCHIVELOG ALL;and
    BACKUP ARCHIVELOG FROM TIME 'SYSDATE-30' UNTIL TIME 'SYSDATE-7';Your question:
    Is this (backing up all archive logs every time) the expected behavior or the result of not using a catalog database or any other mismatch?If you used the first script you will backup alle archivelogs everytime.
    If you use the second one it will do a subset (probably not the range you want to backup...)
    You could implement another script
    BACKUP ARCHIVELOG NOT BACKED UP 2 TIMES;So every archivelog is only backed up twice.
    Check
    http://download.oracle.com/docs/cd/B19306_01/backup.102/b14194/rcmsynta009.htm#i78895
    for more information.
    Regards,
    Tycho

  • How to test RMAN backups

    Hi,
    We are running 24X7 systems and we take backup through RMAN.
    I want to test my backups are working or not.
    How can I do that.
    Regards
    MMU

    restore validate database would be handy in your case.
    When the above is issued, RMAN doesn't touch the live datafiles, it uses the previous valid backupsets to validate whether they are good enough for restore and recovery.
    However, restoring on another host, will helpful to guage the restore and recovery timing.
    Jaffar

  • How to verify if backups are set up and running on Hyper-V with Ubuntu 12.04 on vm ?

    I have Windows Server 2008 R2 with Hyper-V installed and Ubuntu 12.04 running on a VM.
    I would like to be able to verify if Windows Server Backups are in fact backing up the Ubuntu VM.
    From within Hyper-V Manager no snapshots appear for the VM.
    I have done a lsmod on Ubuntu to verify if LIS is installed , this is the output:
    Module                  Size  Used by
    vesafb                 13844  1
    joydev                 17693  0
    hid_hyperv             13164  0
    hid                    99559  1 hid_hyperv
    mac_hid                13253  0
    psmouse                87603  0
    serio_raw              13211  0
    i2c_piix4              13301  0
    lp                     17799  0
    parport                46562  1 lp
    hv_netvsc              22939  0
    hv_utils               13540  0
    hv_storvsc             17896  2
    hv_vmbus               34543  4 hid_hyperv,hv_netvsc,hv_utils,hv_storvsc
    floppy                 70365  0
    A ps -ef outputs this:
    root       217     2  0  2013 ?        00:00:00 [hv_vmbus_con]
    root       218     2  0  2013 ?        00:00:00 [hv_vmbus_ctl]
    root       219     2  0  2013 ?        00:00:00 [hv_vmbus_ctl]
    root       220     2  0  2013 ?        00:00:00 [hv_vmbus_ctl]
    root       221     2  0  2013 ?        00:00:00 [hv_vmbus_ctl]
    root       222     2  0  2013 ?        00:00:00 [hv_vmbus_ctl]
    root       223     2  0  2013 ?        00:00:00 [hv_vmbus_ctl]
    root       224     2  0  2013 ?        00:00:00 [hv_vmbus_ctl]
    root       225     2  0  2013 ?        00:00:00 [hv_vmbus_ctl]
    root       226     2  0  2013 ?        00:00:00 [hv_vmbus_ctl]
    root       227     2  0  2013 ?        00:00:00 [hv_vmbus_ctl]
     (not the entire output, just what I think is relevant)
    When checking the registry on Server 2008 I cannot find the key
    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\WindowsServerBackup\Application Support\{66841CD4-6DED-4F4B-8F17-FD23F8DDC3DE}
    as described how to setup in this link: http://support.microsoft.com/kb/958662
    From what I can gather VSS will be able to run without the need to shutdown the Ubuntu VM but the backups are not running when Windows Server Backups run?
    How can I verify IF any backups of the VM have run successfully at all?
    I am new to Hyper-V - but from what I can see , it seems that no VM backups are running . The normal Windows Server backups are running nightly. I would like them to run together without having to restart/ take offline/reboot the VM.
    This is a production server and I need to avoid rebooting as much as possible-

    Hi Sir,
            The following daemons must be installed manually for Ubuntu distributions:
    VSS Snapshot daemon – This daemon is required to create live Linux virtual machine backups.
    KVP daemon – This daemon allows setting and querying intrinsic and extrinsic key value pairs.
    To install both daemons, please use the following command:
    Copy
    # sudo apt-get update
    # sudo apt-get install hv-kvp-daemon-init
    # uname –r
    <kernel release>
    # sudo apt-get install linux-tool-<kernel release>
    # sudo apt-get install linux-cloud-tools-<kernel release>
    Please refer to note 5 , 9 within following article :
    https://technet.microsoft.com/en-us/library/dn531029.aspx
    As for linux VM running on hyper- v, I would suggest you to try to get further assistance from this forum:
    https://social.technet.microsoft.com/Forums/en-US/home?forum=linuxintegrationservices&filter=alltypes&sort=lastpostdesc
    Best Regards,
    Elton Ji
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact [email protected] .

  • How to find RMAN backups are successful

    Hi,
    I am using RMAN for 10g databases. How can i ensure that the backups am taking thru RMAN are successful? is there any command.

    select
    SESSION_KEY, INPUT_TYPE, STATUS,
    to_char(START_TIME,'mm/dd/yy hh24:mi') start_time,
    to_char(END_TIME,'mm/dd/yy hh24:mi') end_time,
    round((end_time-start_time)*1440,2) "Minutes"
    from V$RMAN_BACKUP_JOB_DETAILS
    order by session_key desc;
    Regards
    Asif Kabir

  • How to take RMAN backup through a single (default) channel

    Sir,
    In an interview I was asked a question that how can I allocate a single channel to multiple databases to take simultaneous backup. I was unanswer.
    Pl. tell me if it is possible what will be the query with an example.
    Regards
    Neeraj

    No it's not at all possible to take backup of multiple database through the manually allocated channel.
    Allocating the channel manually is only possible while running the commands in batch mode
    eg. run {
    allocate channel ch1 type disk format='/backup1/RMANBACKUP/PROD521_%s_%p';
    allocate channel ch2 type disk format='/backup1/RMANBACKUP/PROD521_%s_%p';
    backup database setsize=12582912;
    release channel ch1;
    release channel ch2;
    And you can connect through single rman prompt to only one target database not more than that. So at any point of time you connect to only one database you can user channels to backup that database only.
    connected to recovery catalog database
    RMAN> CONN TARGET SYS/ORACLE@RMAN
    RMAN> CONNECT TARGET SYS/ORACLE@RMAN
    connected to target database: RMAN (DBID=1528877161)
    RMAN> CONNECT TARGET SYS/ORACLE@CLS
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-06167: already connected
    Edited by: sac on Sep 4, 2008 12:59 PM

  • How to set RMAN Backup destinaion

    I am configuring RMAN and do following steps
    Install 11gr2 software and create database
    Create rman user, tablespace and repository
    Register my two DB's on two different servers
    Then i run following script, after logging into one of DB as target (rman target sys/pwd@pcba catalog=rman/protector@ameen)
    {code}
    CONFIGURE DEFAULT DEVICE TYPE TO DISK;
    CONFIGURE CONTROLFILE AUTOBACKUP ON;
    CONFIGURE DEVICE TYPE DISK PARALLELISM 4 BACKUP TYPE TO COMPRESSED BACKUPSET;
    CONFIGURE ARCHIVELOG DELETION POLICY TO BACKED UP 2 TIMES TO DISK;
    CONFIGURE CHANNEL DEVICE TYPE DISK FORMAT '/u01/app/oracle/fra/rman_backups/SBA_RMAN_BK_%t.%p.BAK'
    RUN
    backup database plus archivelog with tag 'pcba_level0_backup';
    delete noprompt obsolete;
    crosscheck copy;
    crosscheck backup;
    crosscheck archivelog all;
    quit;
    {code}
    I was of the view that, this backup set will be save on my server from where i am executing this script, where as this backup is saved on TARGET DB.
    I shall be very thank full if any brother help me in this respect and enable me to get it saved on server where rman repository lies.

    malhi wrote:
    I am configuring RMAN and do following steps
    Install 11gr2 software and create database
    Create rman user, tablespace and repository
    Register my two DB's on two different servers
    Then i run following script, after logging into one of DB as target (rman target sys/pwd@pcba catalog=rman/protector@ameen)
    {code}
    CONFIGURE DEFAULT DEVICE TYPE TO DISK;
    CONFIGURE CONTROLFILE AUTOBACKUP ON;
    CONFIGURE DEVICE TYPE DISK PARALLELISM 4 BACKUP TYPE TO COMPRESSED BACKUPSET;
    CONFIGURE ARCHIVELOG DELETION POLICY TO BACKED UP 2 TIMES TO DISK;
    CONFIGURE CHANNEL DEVICE TYPE DISK FORMAT '/u01/app/oracle/fra/rman_backups/SBA_RMAN_BK_%t.%p.BAK'
    RUN
    backup database plus archivelog with tag 'pcba_level0_backup';
    delete noprompt obsolete;
    crosscheck copy;
    crosscheck backup;
    crosscheck archivelog all;
    quit;
    {code}
    I was of the view that, this backup set will be save on my server from where i am executing this script, where as this backup is saved on TARGET DB.
    I shall be very thank full if any brother help me in this respect and enable me to get it saved on server where rman repository lies.
    As a side observation, you need to follow those 'crosscheck' commands with 'delete noprompt expired....' commands
    The only thing the 'crosscheck' does is mark the record of the copy|backup|archivelog (in the repository) as 'expired' if the copy|backup|archivelog itself is found to have gone missing.  The 'delete ... expired' command then deletes the records that have been marked as 'expired'.

  • How to stop RMAN backup scroll on the screen

    Hello Folks,
    I have written the following script
    #!/bin/ksh
    rman target=sys/blue1pill@ODPTDB << EOF
    set echo off
    run {
    allocate channel ch00 type disk;
    backup full
    format '/oracle/dump/ODPTDB/rmanbackup/dbbkup_u%u_s%s_p%p_t%t.bak' database;
    backup
    format '/oracle/dump/ODPTDB/rmanbackup/ctlbkup_s%s_p%p_t%t.bak' CURRENT CONTROLFILE;
    sql 'alter system switch logfile';
    backup
    format '/oracle/dump/ODPTDB/rmanbackup/arcbkup_s%s_p%p_t%t.bak' ARCHIVELOG ALL;
    release channel ch00;
    crosscheck archivelog all;
    exit;
    echo .
    EOF
    However I cannot stop it from scrolling on the screen. It will be very nice and kind of you to help me solve this. I am looking to stop the output displayed on the screen and written to a file, say a log file.
    Thanks
    Shiva

    You could adjust your current script to include a log file directly by using:
    rman target=sys/blue1pill@ODPTDB << EOF > logfilename.logOr you can consider using the LOG parameter or the SPOOL command.

Maybe you are looking for

  • I'm currently using OS 10.4.11.  I would like to upgrade to 10.5 so I can sync my Ipad. Where can I download this OS??

    I am using OS 10.4.11 on my Macbook.  I want to upgrade to at least 10.5 to sync my new ipad, but can't seem to find a download.  I see that it is not possible to upgrade to a higher 10.5 version unless you have the basic one.  Any suggestions??

  • Doc Uploaded by ABAP Class CL_SA_DOC_FACTORY= UPLOAD_DOC not visible

    I am uploading a document in Solution manager through the below code. CALL METHOD CL_SA_DOC_FACTORY=>UPLOAD_DOC   EXPORTING     I_DOC_TITLE              = 'TEST'     I_DOC_TECH_NAME          = 'TEST'     I_DOC_TYPE               = 'AD'     I_DOC_STAT

  • My system time is always wrong, until I open date and time

    Hello, I have my system set to auto-update time. However every time I boot up, the time is wrong, until I go into date and time. For instance, right now, my system time says's it it 10:40 AM. It is currently 5:40 PM PST (had to look at my phone to kn

  • Why should I use xinetd?

    Im using inetd, but in mandrake I had xinetd, and somewhere I had read that it is better. Is this true?, and if so, ahow do I install it, cause it's not in pacman (i know I cant install it from source, but I wonder if it's hidden somewhere in the dis

  • Program to test proxies

    Hi, we created interfaces between XI/PI and our target ERP-system (ECC 6.0). To test our proxies (interfaces from XI/PI to ERP-system) we have use as yet in the ERP system 4.7 the program SPRX_TEST_INBOUND. On our new ERP system (ECC 6.0) i can't fin