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'.

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 set auto backup as like quark express

    Hi,
    I want to know how to set auto backup opening files in InDesign 6 as like quark express

    InDesign restores everything after a crash.
    Versioning was removed aw hile ago, now you should set it up on OS or computer level or use a cloud service like dropbox which offers such functionality.
    For formatting use Paragraph Styles, for exceptions use Character styles. It is a no-go to make a font bold, it must be done via styles. I think it is a problem with Quark documents that people bolded with the B button their text, this caused false styles and did no semantic styling which would not allow to create PDF/UA documents.
    Paragraph and Character Styles are completely different in InDesign than in Quark. In InDesign every font property is defined in a paragraph style. Character Styles are only used for exceptions and only the different properties are defined. E.g. if you have black text and want some words or letters to be red the InDesign Character style would define only the property character color to red, everything else would remain empty. So you could apply the same character style to text with different paragraph styles with different fonts and sizes. In Quark you would have to set up a different character style for each paragraph style.

  • 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 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 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

  • 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 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 set automatic backup in XE 10.x.x.

    Hi there, i have installed Oracle XE in Windows XP and Windows 2003 server. Is there any option to set incremental backup as daily basis and it has to move specified drive at scheduled time.
    Thanks,
    Gobi

    Hi,
    To schedule automatic backups, use any operating system or third party task scheduling software to run the supplied backup script for your platform.
    For Windows
    C:\oraclexe\app\oracle\product\10.2.0\server\BIN\BACKUP.BAT
    see this link
    http://download.oracle.com/docs/cd/B25329_01/doc/admin.102/b25107/backrest.htm#CHDBHCJD

  • 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 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 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.

  • 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

Maybe you are looking for