Rman Integration

Netbackup is a Veritas tool that can be used to take backups & recovery for different cross platforms.
Netbackup has a support for Oracle databases.
My question is can Netbackup be integrated with RMAN? Say I want to call RMAN from Netbackup.
Please let me know the process if feasible.

Netbackup provides template scripts for RMAN Backup integration into NetBackup -- normally only the ORACLE_HOME, ORACLE_SID, PATH need to be configured in the scripts to run a "default" Database backup. Of course, you can modify and extend the scripts.
Hemant K Chitale

Similar Messages

  • RMAN Integration with Tap drive

    Dear All,
    Can any body help me how to integrate RMAN with tap on HP-Unix.
    Regards,

    To intergrate with RMAN, you should review the install instructions of whichever 3rd party backup software you are using. After you have the software integrated, you can refer to Configuring RMAN to Make Backups to a Media Manager.

  • RMAN integrated with Tivoli Storage Manager

    Environment
    ===========
    Two Node RAC Production DBs on 10.2.0.4
    Platform : Solaris
    RMAN is the only backup tool i've ever worked with. I've come across OTN articles which discuss TSM along with RMAN. Is there any advantage at all in using TSM with RMAN ? Or, Is it just marketing gimmick by IBM?

    Our strategy:
    1--Monday ------------------->Level 0 backup  (1:00am)
    2--Tuesday----->     Level1
    3--Wednesday----->     Level1
    4--Thursday------------------>Level 0 backup  (1:00am)
    5--Friday----->     Level1
    6--Saturday----->     Level1
    0--Sunday ----->     Level1Our RMAN backup pieces got to an NFS mount . Every monday morning the Level 0 backup is copied to Tape by Sysadmins and kept for 3 months. So, where does Tivoli storage manager come into picture ? Does TSM do copying the backup pieces from Disk to Tape part ?

  • Rman-08137 can't delete archivelog because the capture process need it

    When I use the rman utility to delete the old archivelog on the server ,It shows :Rman-08137 can't delete archivelog because the capture process need it .how to resolve the problem?

    It is likely that the "extract" process still requires those archive logs, as it is monitoring transactions that have not yet been "captured" and written out to a GoldenGate trail.
    Consider the case of doing the following: ggsci> add extract foo, tranlog, begin now
    After pressing "return" on that "add extract" command, any new transactions will be monitored by GoldenGate. Even if you never start extract foo, the GoldenGate + rman integration will keep those logs around. Note that this GG+rman integration is a relatively new feature, as of GG 11.1.1.1 => if "add extract foo" prints out "extract is registered", then you have this functionality.
    Another common "problem" is deleting "extract foo", but forgetting to "unregister" it. For example, to properly "delete" a registered "extract", one has to run "dblogin" first:
    ggsci> dblogin userid <userid> password <password>
    ggsci> delete extract foo
    However, if you just do the following, the extract is deleted, but not unregistered. Only a warning is printed.
    ggsci> delete extract foo
    <warning: to unregister, run the command "unregister...">
    So then one just has to follow the instructions in the warning:
    ggsci> dblogin ...
    ggsci> unregister extract foo logretention
    But what if you didn't know the name of the old extracts, or were not even aware if there were any existing registered extracts? You can run the following to find out if any exist:
    sqlplus> select count(*) from dba_capture;
    The actual extract name is not exactly available, but it can be inferred:
    sqlplus> select capture_name, capture_user from dba_capture;
    <blockquote>
    CAPTURE_NAME CAPTURE_USER
    ================ ==================
    OGG$_EORADF4026B1 GGS
    </blockquote>
    In the above case, my actual "capture" process was called "eora". All OGG processes will be prefixed by OGG in the "capture_name" field.
    Btw, you can disable this "logretention" feature by adding in a tranlog option in the param file,
    TRANLOGOPTIONS LOGRETENTION DISABLED
    Or just manually "unregister" the extract. (Not doing a "dblogin" before "add extract" should also work in theory... but it doesn't. The extract is still registered after startup. Not sure if that's a bug or a feature.)
    Cheers,
    -Michael

  • Disaster Recovery from tape library!

    Hi,
    I am using oracle 10g and Backup Exec 12 as the media management software. How do i perform the disaster recovery. My entire scenario is like this:
    Server A has the DB (Database).
    Configured Backup Exec with RMAN and took full DB backup along with autobackup of controlfile to the tape.
    Server A crashes and is unusable.
    Installs Oracle on server B and needs to restore the DB on this new server.
    I know the DBID of the DB but how to configure RMAN to work with Backup Exec, so that I can restore the db from the tape library?
    When you configure the RMAN integration with Backup Exec, it finds the database running on the server and will perform the integration. But in my case, since the database does not exist, how will the Backup Exec agent configure the integration?
    How do we go about the restoration to Server B in this case?
    Thanks!

    Hi!
    I am still not able to restore the db. The scenario is like:
    Took a full database backup to tape from server A with controlfile autoconfig
    Trying to restore the db on server B. The following is the script used to restore.
    connect target /
    set dbid=152417844;
    startup nomount;
    run
    +{+
    allocate channel sbt1 type 'sbt_tape';
    SEND 'BSA_SERVICE_HOST=ipaddress,NBBSA_TOTAL_STREAMS=1';
    set controlfile autobackup format for device type 'sbt_tape' to 'cf_%F';
    restore spfile from autobackup;
    restore controlfile from autobackup;
    alter database mount;
    restore database;
    recover database;
    release channel sbt1;
    +}+
    alter database open resetlogs;
    When i try to restore, the output is:
    channel sbt1: looking for autobackup on day: 20090624
    channel sbt1: looking for autobackup on day: 20090623
    channel sbt1: looking for autobackup on day: 20090622
    channel sbt1: looking for autobackup on day: 20090621
    channel sbt1: looking for autobackup on day: 20090620
    channel sbt1: looking for autobackup on day: 20090619
    channel sbt1: looking for autobackup on day: 20090618
    channel sbt1: no autobackup in 7 days found
    released channel: sbt1
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of restore command at 06/24/2009 11:19:28
    RMAN-06172: no autobackup found or specified handle is not a valid copy or piece
    Please advice!
    Edited by: Libra DBA on Jun 24, 2009 1:39 PM

  • OSB 10.4 and Oracle Database 7

    Is there any reason why OSB 10.4 would not support Oracle Database 7?

    You need to be running at least 8.0.6 to get RMAN integration. You should really upgrade.
    You could put the database into archivelog mode and then back it up as a filesystem job.
    Thanks
    Rich

  • Oracle 9i DB restore on Test server

    Hi all,
    Production DB 9i
    Solaris 9
    Veritas 6.5
    We backup our Oracle production database using Veritas Netbackup 6.5 with RMAN integration to tape.
    Is it possible to perform a restore of a production db to a test server (new host) without having any affect upon the production db or the RMAN catalog.
    Can the RMAN backup set for a particular db be restored at file level? If so then I could copy the RMAN files to test server and perform an RMAN recover using nocatalog.
    Test Server Oracle10g on Solaris 10.
    I bit confuse how to restore spfile & contrl file from auto backup.
    I trying .......!!!!!!!!!!!
    I copied pfile,spfile,control file move to new host on different directory & I already change the path of directories in pfile.
    Test Server
    RMAN> target / nocatalog
    RMAN> startup nomount pfile='/export/home/oracle/initpfile.ora'; ---DB started nomount mode.
    Q. How I restore spfile & control file from autobackup? I have to connect Target DB with or wihtout Recovery Cat DB....and restore spfile & controlfile does it any affect on production db?
    Has anyone performed anything similar and have a list of steps they could share with me.
    Thanks

    Hi Santosh,
    The problem is that the rman backup on tape of Production DB cannot be accessed by Test Server.
    How I gona recover control file & DB file.....etc.
    I want to know how I move production DB backup which is on tap move to disk.......
    or
    I let me know what is way to access backup........?
    Regs
    Muhammad Asif
    Edited by: user508467 on May 12, 2009 5:43 AM

  • Integration of RMAN with virtual tape library

    OS: Oracle Linux 5.5 UEK (Virtualbox)
    Oracle: 11gR2 11.2.0.1 Enterprise + ASM (Virtualbox)
    Hello,
    I would like to test something about RMAN and writing directly to tape. For this I installed mhvtl, a virtual tape library. The installation was pretty easy. http://sites.google.com/site/linuxvtl2/
    RMAN does not recognize any tape in the system.
    ORA-19554: error allocating device, device type: SBT_TAPE, device name:
    ORA-27211: Failed to load Media Management Library
    What I found out is that in order to make backups to a media manager, RMAN must communicate with a media management library, which is a 3rd party library that is not supplied by Oracle. So I guess unless there is a Oracle MML library available for mtx I' out of luck here.
    Any ideas? Thanks!
    rpm -ivh mhvtl-0.18-13.x86_64.rpm
    rpm -ivh mhvtl-0.18-13.src.rpm
    cd /usr/src/redhat/SOURCES/
    tar zxvf ../SOURCES/mhvtl-2011-01-11.tgz
    cd mhvtl-0.18/kernel
    make
    make install
    /etc/init.d/mhvtl start
    yum install mtx
    The tape library and using it for backup from system seems to work fine:
    # mtx status
    Storage Changer /dev/changer:4 Drives, 43 Slots ( 4 Import/Export )
    Data Transfer Element 0:Full (Storage Element 1 Loaded):VolumeTag = E03001L4
    etc.
    # mtx load 1
    Drive 0 Full (Storage Element 1 loaded)
    # tar cf /dev/ntape ./
    # tar tvf /dev/ntape
    Edited by: Dude on Jan 20, 2011 5:22 PM

    Thanks for the tip!
    I installed Oracle Secure Backup Express and spend all afternoon with this strange product, mainly to troubleshoot the installation and setup. I'm not really sure everything works - it's quite a piece of software, as usual.
    I ran into a couple of issues that were not mentioned in the installation documentation:
    - install sg3_utils
    - use obtool to register the server as mediaserver
    # sg_map -i -x
    /dev/sg9 3 0 1 0 1 /dev/nst0 IBM ULT3580-TD5 550V
    /dev/sg10 3 0 2 0 1 /dev/nst1 IBM ULT3580-TD5 550V
    /dev/sg11 3 0 3 0 1 /dev/nst2 IBM ULT3580-TD4 550V
    /dev/sg12 3 0 4 0 1 /dev/nst3 IBM ULT3580-TD4 550V
    /dev/sg13 3 0 9 0 1 /dev/nst4 IBM ULT3580-TD4 550V
    /dev/sg14 3 0 10 0 1 /dev/nst5 IBM ULT3580-TD4 550V
    /dev/sg15 3 0 11 0 1 /dev/nst6 IBM ULT3580-TD4 550V
    /dev/sg16 3 0 12 0 1 /dev/nst7 IBM ULT3580-TD4 550V
    /dev/sg17 3 0 0 0 8 STK L700 550V
    /dev/sg18 3 0 8 0 8 SPECTRA PYTHON 550V
    # obtool
    ob> chhost --addrole mediaserver ol55
    ob> mkdev -t library -o -a ol55:/dev/sg18 library1
    ob> mkdev -t tape -o -a ol55:/dev/sg9 -l library1 -d 1 tape1
    RMAN was not happy with it:
    ORA-19554: error allocating device, device type: SBT_TAPE, device name:
    ORA-27023: skgfqsbi: media manager protocol error
    ORA-19511: Error received from media manager layer, error text:
    sbt__rpc_connect: Internal error - could not connect to obproxyd (Oracle Secure Backup error: 'bad port name specified (OB SBT proxy manager)').
    # cat /usr/tmp/obproxyd.log
    2011/01/23.02:11:10 [5431] can't set root privileges; continuing anyway - program isn't stamped setuid-root (OB utilities)
    2011/01/23.02:11:10 [5431] can't listen for connections - Operation not permitted
    Document ID 396046.1 solution outlines to correct the hostname or mediaserver name. However, this was not the problem. I finally figured that /etc/obproxyd is a symlink to a .wrapper script which points to the actual proxy application. The fix was:
    #chmod +s /usr/local/oracle/backup/.etc.linux86_64obproxyd
    After this the error changed:
    RMAN-03009: failure of backup command on ORA_SBT_TAPE_1 channel at 01/23/2011 02:43:36
    ORA-19506: failed to create sequential file, name="3cm2q2an_1_1", parms=""
    ORA-27028: skgfqcre: sbtbackup returned error
    ORA-19511: Error received from media manager layer, error text:
    sbt__rpc_cat_query: Query for piece 3cm2q2an_1_1 failed.
    (Oracle Secure Backup error: 'no preauth config found for OS user (OB tools) oracle').
    The fix for this error:
    https://10.0.0.6, login as 'admin'
    Configure->Users->Select Admin->Edit->Preauthorized Access->Add user 'Oracle' (select host and rman)
    RMAN> backup database;
    Starting backup at 23-JAN-11
    using channel ORA_SBT_TAPE_1
    channel ORA_SBT_TAPE_1: starting full datafile backup set
    channel ORA_SBT_TAPE_1: specifying datafile(s) in backup set
    input datafile file number=00001 name=/scratch/oradata/test/system01.dbf
    input datafile file number=00002 name=/scratch/oradata/test/sysaux01.dbf
    input datafile file number=00003 name=/scratch/oradata/test/undotbs01.dbf
    input datafile file number=00005 name=/scratch/oradata/test/users02.dbf
    input datafile file number=00004 name=/scratch/oradata/test/users01.dbf
    channel ORA_SBT_TAPE_1: starting piece 1 at 23-JAN-11
    Now it just sits there forever and the log just keeps adding the following lines:
    # cat obproxyd.log
    2011/01/23.03:00:31 [5662] handle_qsp_msg: received get job state request
    2011/01/23.03:00:31 [5662] job id 'admin/5.1'
    Strange, backup to tape with 'mtx' and 'tar' works, so the problem might be OSB.
    Edited by: Dude on Jan 22, 2011 8:32 PM
    I finally got it running. I deleted the current library and drive configuration and used the webtool to configure the other library at /dev/sg17. it was also necessary to use the webtool to load a volume into the drive. Unfortunately I did not note down the steps in details. Maybe next time.
    channel ORA_SBT_TAPE_1: starting piece 1 at 23-JAN-11
    channel ORA_SBT_TAPE_1: finished piece 1 at 23-JAN-11
    piece handle=3im2qc42_1_1 tag=TAG20110123T053042 comment=API Version 2.0,MMS Version 10.2.0.3
    channel ORA_SBT_TAPE_1: backup set complete, elapsed time: 00:03:26
    Finished backup at 23-JAN-11
    Starting Control File and SPFILE Autobackup at 23-JAN-11
    piece handle=c-2036659790-20110123-00 comment=API Version 2.0,MMS Version 10.2.0.3
    Finished Control File and SPFILE Autobackup at 23-JAN-11

  • RMAN Proxy Copy integration

    Hi,
    1. howto create the lib to call from RMAN Proxy copy
    2. steps to configure the RMAN proxy copy with sample lib and commands.
    Please help me for the above queries,
    Thanks in advance,
    Regards,
    karthik

    There's more than ONE OS,
    there's more than ONE database version,
    there's more than ONE proxy backup provider.
    RMAN supports proxy backup, but the proxy comes from 3rd party media management layer. So contact your unknown provider for details.
    About Proxy Copies
    A proxy copy is a special type of backup in which RMAN turns over control of the data transfer to a media manager that supports this feature. The PROXY option of the BACKUP command specifies that a backup should be a proxy copy.
    For each file that you attempt to back up using the BACKUP PROXY command, RMAN queries the media manager to determine whether it can perform a proxy copy. If the media manager cannot proxy copy the file, then RMAN uses conventional backup sets to perform the backup. An exception occurs when you use the PROXY ONLY option, which causes Oracle to issue an error message when it cannot proxy copy.
    Oracle records each proxy-copied file in the control file. RMAN uses this data to resynchronize the recovery catalog. Use the V$PROXY_DATAFILE view to obtain the proxy copy information. Use the CHANGE PROXY command or DELETE PROXY command to change the status of or delete a proxy backup
    */

  • SAP & Oracle Backup Integration

    Hi,
        Have Oracle 10g as backend for database & Legato Backup Software has been installed on the server. Could anyone please let me know that if i use DB13 for taking online & offline backups how would it integrate with the Legato Backup Software & is there any special licences required for integration with SAP. Hoping to get a reply soon...

    Hi
    For Oracle Backups the preferred backup method is RMAN. I suggest you read docs for more information. Try focusing on incremental backups as you suggested space constraints.
    Rgds
    Adnan

  • RMAN-20260 error while trying to delete a backup piece

    Hello,
    In my company we use Oracle 10g, backup managed by RMAN and integrated with TSM.
    In order to remove the old backup files, there is a delete script to do this.
    Basically this script:
    connect to RMAN catalog
    allocate channel for maintenance device type 'sbt_tape'
    change backuppiece <file names from rc_backup_piece older than 35 days> delete;
    When this command is run, this error is being generated:
    RMAN-03002: failure of delete command at 01/18/2010 17:14:00
    RMAN-06004: ORACLE error from recovery catalog database: RMAN-20260: backup piece not found in the recovery catalog
    RMAN-06092: error while looking up backup piece
    Any ideas?
    Thanks in advance.
    Fer

    Hy Tycho,
    Yes, it's a tape backup.
    This is the channel used to take the backup:
    allocate channel t1 type 'sbt_tape' parms 'ENV=(TDPO_OPTFILE=/opt/tsm..../...opt)';
    I tried this rman command with a file name that is 35 days older in rc_backup_piece:
    list backuppiece <file name>;
    I received this error:
    RMAN-20260: backup piece not found in the recovery catalog;
    How can this file be in the rc_backup_piece and not appear in the list backuppiece ?
    Thanks a lot.
    Fer

  • Integrity check of tables between Oracle 9i and Oracle 11g

    Hi,
    |Is there a tool or a way to check the integrity of data in the tables after migrating data from an Oracle 9i database to an Oracle 11g database?
    Thanks for you help.

    Hi,
    How do you want to proceed for your migration ? Assuming everything was OK in your 9i database normally things should go well whatever the method.
    For example as the previous posters mentioned if you use exp/imp and if you have "successfully without warnings" at the end of the operations you can trust those messages. Physical corruption is not the only possible problem and with exp/imp some things not to forget :
    - checking the compatibility of the source and target database charactersets and positioning correctly the NLS_LANG variables for exp and imp
    - activity on the source at the time of your export ? Your export has to be "logically" consistent.
    Oh and about block integrity do a good full rman backup on your 11g database after the migration and check v$database_block_corruption after the backup. RMAN is your friend about physical integrity. Even after an incremental rman backup if a query on this view gives 0 result you can be sure you have no block corruption (at least if block_change_tracking is not used)
    Best regards
    Phil

  • Rman backup job Suspended on Agent Unreachable

    Hi,
    I have Oracle 10.2.0 installed on windows 2003 server. i configure oracle suggested rman backup which works fine till now. but now it shows
    Suspended on Agent Unreachable message and backup doesn't happen.
    if check like
    C:\Documents and Settings\Administrator>emctl status agen
    Oracle Enterprise Manager 10g Database Control Release 10
    Copyright (c) 1996, 2005 Oracle Corporation.  All rights
    Agent is Not Running
    C:\Documents and Settings\Administrator>emctl start agent
    Oracle Enterprise Manager 10g Database Control Release 10
    Copyright (c) 1996, 2005 Oracle Corporation.  All rights
    These Windows services are started:
       Application Experience Lookup Service
       Application Management
       Automatic Updates
       COM+ Event System
       COM+ System Application
       Computer Browser
       Cryptographic Services
       DCOM Server Process Launcher
       DefWatch
       Distributed File System
       Distributed Transaction Coordinator
       DNS Client
       DNS Server
       Error Reporting Service
       Event Log
       File Replication Service
       FTP Publishing Service
       HTTP SSL
       IIS Admin Service
       Indexing Service
       Intel PDS
       Intersite Messaging
       IPSEC Services
       Kerberos Key Distribution Center
       Logical Disk Manager
       LogMeIn
       LogMeIn Maintenance Service
       Net Logon
       Network Connections
       Network Location Awareness (NLA)
       NT LM Security Support Provider
       OracleDBConsoleneo
       OracleOraDb10g_home1iSQL*Plus
       OracleOraDb10g_home1TNSListener
       OracleServiceNEO
       Plug and Play
       Print Spooler
       Protected Storage
       Remote Access Connection Manager
       Remote Procedure Call (RPC)
       Remote Registry
       Secondary Logon
       Security Accounts Manager
       Server
       Shell Hardware Detection
       SQL Server (MSSQLSERVER)
       SQL Server Agent (MSSQLSERVER)
       SQL Server Analysis Services (MSSQLSERVER)
       SQL Server FullText Search (MSSQLSERVER)
       SQL Server Integration Services
       SQL Server Reporting Services (MSSQLSERVER)
       Symantec AntiVirus Server
       System Event Notification
       Task Scheduler
       TCP/IP NetBIOS Helper
       Telephony
       Terminal Services
       Windows Management Instrumentation
       Windows Search
       Windows Time
       Workstation
       World Wide Web Publishing Service
    The command completed successfully.means my agent was stop but now i start it.
    i find on Google that this type of error happen when you change in database like ip address, sid etc but i haven't do any change.
    i am facing same problem so many times.
    Now how to reschedule the existing backup job so that it starts work again.
    thanks
    umesh

    thanks for reply
    i do it.
    C:\Documents and Settings\Administrator>emctl status dbconsole
    Oracle Enterprise Manager 10g Database Control Release 10.2.0.1.0
    Copyright (c) 1996, 2005 Oracle Corporation.  All rights reserved.
    http://Techwave:5500/em/console/aboutApplication
    EM Daemon is not running.
    Logs are generated in directory C:\oracle\product\10.2.0\db_1/Techwave_neo/sysman/log
    C:\Documents and Settings\Administrator>emctl stop dbconsole
    Oracle Enterprise Manager 10g Database Control Release 10.2.0.1.0
    Copyright (c) 1996, 2005 Oracle Corporation.  All rights reserved.
    http://Techwave:5500/em/console/aboutApplication
    The OracleDBConsoleneo service is stopping.....
    The OracleDBConsoleneo service was stopped successfully.
    C:\Documents and Settings\Administrator>emctl start dbconsole
    Oracle Enterprise Manager 10g Database Control Release 10.2.0.1.0
    Copyright (c) 1996, 2005 Oracle Corporation.  All rights reserved.
    http://Techwave:5500/em/console/aboutApplication
    Starting Oracle Enterprise Manager 10g Database Control ...The OracleDBConsoleneo service is starting................
    The OracleDBConsoleneo service was started successfully.now it is working fine.
    now issue is how i reschedule my suspended job.
    i got this error.
    Edit is not supported for this job type, only general information about the job can be updated No scheduled executions - this job can not be modified.

  • RMAN  as part of testing environment

    Hello,
    I have quire simple task which I need to do with RMAN. I have one tablespace ( This tablespace is called "example" and Is attached to 11g1 ) which I'm using as target for workload balancing algorithm .
    I know how to create backup.
    RMAN > SQL 'ALTER TABLESPACE example OFFLINE';
    RMAN > BACKUP TABLESPACE example FORMAT 'fooo%y.bkp' TAG my_label
    RMAN > SQL 'ALTER TABLESPACE example ONLINE';
    I know how to recover/restore:
    RMAN > SQL 'ALTER TABLESPACE example OFFLINE';
    RMAN > RESTORE TABLESPACE example FROM TAG my_label;
    RMAN > RECOVER TABLESPACE example;
    RMAN > SQL 'ALTER TABLESPACE example ONLINE
    // Please note that I'm writing it from memory
    My problem is that I get error and have trouble to turn online tablespace when I change some data
    between backup and restore operations. I guess tablespace Is locked because there is no 100%
    of integration of data and new changes from transaction log should be inseted/skipped before launching
    tablespace.
    Error is in polish language:
    ORA-01113: plik 5 wymaga zastosowania przywracania noťnikˇw // ~ 5'th file requires data storege recovery..
    ORA-01110: plik danych 5: 'C:\xxx\ORADATA\ORCL\EXAMPLE01.DBF'
    How can I solve this problem?
    ps. When I use few times RECOVER / RESTORE i'm finally able to set Online tablespace, but I don't like
    it that I'm not sure what's going on there.
    Thank You,
    R.

    SQL> archive log list
    Database log mode              No Archive Mode
    Automatic archival             Disabled
    Archive destination            USE_DB_RECOVERY_FILE_DEST
    Oldest online log sequence     25
    Current log sequence           27
    RMAN> run
    2> {
    3> sql 'alter tablespace users offline';
    4> backup tablespace users format 'foo%y.bkp' tag my_lable;
    5> sql 'alter tablespace users online';
    6> }
    sql statement: alter tablespace users offline
    Starting backup at 24-OCT-09
    using channel ORA_DISK_1
    channel ORA_DISK_1: starting full datafile backup set
    channel ORA_DISK_1: specifying datafile(s) in backup set
    input datafile file number=00004 name=/u01/app/oracle/oradata/his/users01.dbf
    channel ORA_DISK_1: starting piece 1 at 24-OCT-09
    channel ORA_DISK_1: finished piece 1 at 24-OCT-09
    piece handle=/u01/app/oracle/product/11.1.0/db_1/dbs/foo%y.bkp tag=MY_LABLE comment=NONE
    channel ORA_DISK_1: backup set complete, elapsed time: 00:00:01
    Finished backup at 24-OCT-09
    Starting Control File and SPFILE Autobackup at 24-OCT-09
    piece handle=/u01/app/oracle/flash_recovery_area/HIS/autobackup/2009_10_24/o1_mf_s_701084425_5g519tvw_.bkp comment=NONE
    Finished Control File and SPFILE Autobackup at 24-OCT-09
    sql statement: alter tablespace users online
    RMAN> exit
    Recovery Manager complete.
    [oracle@localhost ~]$ sqlplus / as sysdba
    SQL*Plus: Release 11.1.0.6.0 - Production on Sat Oct 24 09:41:05 2009
    Copyright (c) 1982, 2007, Oracle.  All rights reserved.
    Connected to:
    Oracle Database 11g Enterprise Edition Release 11.1.0.6.0 - 64bit Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    SQL> conn scott/tiger
    Connected.
    SQL> create table t1 as select * from all_objects
      2  /
    Table created.
    SQL> exit
    Disconnected from Oracle Database 11g Enterprise Edition Release 11.1.0.6.0 - 64bit Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    [oracle@localhost ~]$ rman target /
    Recovery Manager: Release 11.1.0.6.0 - Production on Sat Oct 24 09:41:43 2009
    Copyright (c) 1982, 2007, Oracle.  All rights reserved.
    connected to target database: HIS (DBID=3219691467)
    RMAN> run
    2> {
    3> sql 'alter tablespace users offline';
    4> restore tablespace users from tag my_lable;
    5> recover tablespace users;
    6> sql 'alter tablespace users online';
    7> }
    using target database control file instead of recovery catalog
    sql statement: alter tablespace users offline
    Starting restore at 24-OCT-09
    allocated channel: ORA_DISK_1
    channel ORA_DISK_1: SID=126 device type=DISK
    channel ORA_DISK_1: starting datafile backup set restore
    channel ORA_DISK_1: specifying datafile(s) to restore from backup set
    channel ORA_DISK_1: restoring datafile 00004 to /u01/app/oracle/oradata/his/users01.dbf
    channel ORA_DISK_1: reading from backup piece /u01/app/oracle/product/11.1.0/db_1/dbs/foo%y.bkp
    channel ORA_DISK_1: piece handle=/u01/app/oracle/product/11.1.0/db_1/dbs/foo%y.bkp tag=MY_LABLE
    channel ORA_DISK_1: restored backup piece 1
    channel ORA_DISK_1: restore complete, elapsed time: 00:00:01
    Finished restore at 24-OCT-09
    Starting recover at 24-OCT-09
    using channel ORA_DISK_1
    starting media recovery
    media recovery complete, elapsed time: 00:00:01
    Finished recover at 24-OCT-09Why the same error is not happening as you are having , reason is that i have current online redo log still not overwritten , if its overwritten by subsequent continuous log switch then i lost redo and will not able to provide sufficient redo.If my database archive log enabled then RMAN recovery apply redo from archivelog rather from online redo log file.
    Look now if redo log file is overwritten by subsequent log switch after backing up users tabelsapce
    RMAN> run
    2> {
    3> sql 'alter tablespace users offline';
    4> backup tablespace users format 'foo%y.bkp' tag my_lable;
    5> sql 'alter tablespace users online';
    6> }
    using target database control file instead of recovery catalog
    sql statement: alter tablespace users offline
    Starting backup at 24-OCT-09
    allocated channel: ORA_DISK_1
    channel ORA_DISK_1: SID=132 device type=DISK
    channel ORA_DISK_1: starting full datafile backup set
    channel ORA_DISK_1: specifying datafile(s) in backup set
    input datafile file number=00004 name=/u01/app/oracle/oradata/his/users01.dbf
    channel ORA_DISK_1: starting piece 1 at 24-OCT-09
    channel ORA_DISK_1: finished piece 1 at 24-OCT-09
    piece handle=/u01/app/oracle/product/11.1.0/db_1/dbs/foo%y.bkp tag=MY_LABLE comment=NONE
    channel ORA_DISK_1: backup set complete, elapsed time: 00:00:02
    Finished backup at 24-OCT-09
    Starting Control File and SPFILE Autobackup at 24-OCT-09
    piece handle=/u01/app/oracle/flash_recovery_area/HIS/autobackup/2009_10_24/o1_mf_s_701085363_5g5276v4_.bkp comment=NONE
    Finished Control File and SPFILE Autobackup at 24-OCT-09
    sql statement: alter tablespace users online
    RMAN> exit
    Recovery Manager complete.
    [oracle@localhost ~]$ sqlplus / as sysdba
    SQL*Plus: Release 11.1.0.6.0 - Production on Sat Oct 24 09:56:15 2009
    Copyright (c) 1982, 2007, Oracle.  All rights reserved.
    Connected to:
    Oracle Database 11g Enterprise Edition Release 11.1.0.6.0 - 64bit Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    SQL> alter system switch logfile
      2  /
    System altered.
    SQL> /
    System altered.
    SQL> /
    System altered.
    SQL> /
    System altered.
    SQL> /
    System altered.
    SQL> /
    System altered.
    SQL> /
    System altered.Now that redo is overwritten by subsequent continuous log switch , you don't have archivelog then you lost redo and cannot supply redo during recovery of users tablespace.
    SQL> exit
    Disconnected from Oracle Database 11g Enterprise Edition Release 11.1.0.6.0 - 64bit Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    [oracle@localhost ~]$ rman target /
    Recovery Manager: Release 11.1.0.6.0 - Production on Sat Oct 24 09:56:38 2009
    Copyright (c) 1982, 2007, Oracle.  All rights reserved.
    connected to target database: HIS (DBID=3219691467)
    RMAN> run
    2> {
    3> sql 'alter tablespace users offline';
    4> restore tablespace users from tag my_lable;
    5> recover tablespace users;
    6> sql 'alter tablespace users online';
    7> }
    using target database control file instead of recovery catalog
    sql statement: alter tablespace users offline
    Starting restore at 24-OCT-09
    allocated channel: ORA_DISK_1
    channel ORA_DISK_1: SID=122 device type=DISK
    channel ORA_DISK_1: starting datafile backup set restore
    channel ORA_DISK_1: specifying datafile(s) to restore from backup set
    channel ORA_DISK_1: restoring datafile 00004 to /u01/app/oracle/oradata/his/users01.dbf
    channel ORA_DISK_1: reading from backup piece /u01/app/oracle/product/11.1.0/db_1/dbs/foo%y.bkp
    channel ORA_DISK_1: piece handle=/u01/app/oracle/product/11.1.0/db_1/dbs/foo%y.bkp tag=MY_LABLE
    channel ORA_DISK_1: restored backup piece 1
    channel ORA_DISK_1: restore complete, elapsed time: 00:00:01
    Finished restore at 24-OCT-09
    Starting recover at 24-OCT-09
    using channel ORA_DISK_1
    starting media recovery
    archived log for thread 1 with sequence 40 is already on disk as file /u01/app/oracle/oradata/his/redo01.log
    archived log for thread 1 with sequence 41 is already on disk as file /u01/app/oracle/oradata/his/redo02.log
    archived log for thread 1 with sequence 42 is already on disk as file /u01/app/oracle/oradata/his/redo03.log
    RMAN-08187: WARNING: media recovery until SCN 1276644 complete
    Finished recover at 24-OCT-09
    sql statement: alter tablespace users online
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03009: failure of sql command on default channel at 10/24/2009 09:57:58
    RMAN-11003: failure during parse/execution of SQL statement: alter tablespace users online
    ORA-01113: file 4 needs media recovery
    ORA-01110: data file 4: '/u01/app/oracle/oradata/his/users01.dbf'Khurram

  • Oracle Backup End to End Automation with BRBACKUP and RMAN

    Hi,
    We are about to implement a Oracle on mySAP 2004 or 2004 i.e. either NW2004 or NW2004s. Currently we are on DB2 UDB.
    We are going to use legato for backup.
    legato networker module (I guess this is module built for BACKINT)  for SAP is too costly, so we are looking at alternatives for backup using legato without using networker module.
    We have virtual tape library (disk that emulates as tape library). we plan to keep 30 days/versions of backup there.
    Can we use BRBACKUP and RMAN to achieve end to end backup automation without using networker module by using the BRBACKUP delivered options and integrating to RMAN.
    I do see BRBACKUP options like tape_box and pipe_box. Are these will be useful to achieve this.
    Other question is do we really need to integrate with RMAN. What are the advantages.
    So far I see the advantages with RMAN are 1. incremental backups. 2. Online backups are handled more consistently than normal.
    Appreciate your information.
    Thank you,
    Ravi Gandavarapu.

    Hi Jason,
    Yes, we have SAN storage. Also thinking to use split-mirror for production.
    Do this need legato networker module. Or we can put a script without out the module also?
    >>There is one little complexity to this but if you're interested I'll explain it. <<
    Would you please explain what it is ?
    Again for my dev and qa systems we are not planning split-mirror.
    My plan is to back them up straight to VTL (disk based). Do you think using RMAN here helps (because of incremental) ?
    I was recently going through 10g features. Looks like 10g has a feature that you can merge incremental with level0. Does brbackup supports this?
    Appreciate your info.
    Ravi Gandavarapu.

Maybe you are looking for

  • Upgrade Deskjet 3050 all in one J610 to print Apple AirPrint?

    Anyone knows if you can upgrade Deskjet 3050 all-in-one j610 to print AirPrint from my Ipad? Or in a way to work around printing to this J-model from my Ipad?

  • I can't register my visa to Itunes.

    I can't register my visa to Itunes. when i try, a red text appear wich says "The card cannot be used. please put in valid card information" even tho everything is put in exactly like it should be. What should i do?

  • Updating SRM 7.0 purchase order  from R/3 ECC 6.0

    Hi, we have a situation where we need to update srm po (account assignment ) after GR . we were able to update in R/3 . Till now SRM version is 4.0 there was no problem and purchase order is only available in R/3 . Now SRM system getting updated to 7

  • Right Click Event on Flash

    Hello I am making a CD based CBT. I need to do action on mouse right click something like on<mouse right click> { play(); Thanks Mohammed sunely

  • Skgfcls: sbtclose2 returned error

    Hi all, I'm having this error: RMAN-00571: =========================================================== RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS =============== RMAN-00571: =========================================================== RMA